# File AGTMacOsX.rb, line 76 def foreground (app_name) cmd = "osascript -e 'tell application \"#{app_name}\"' -e 'activate' -e 'end tell'" `#{cmd}` end