Skip navigation

Opening a Terminal window in AppleScript

1838 Views 1 Reply Latest reply: Sep 17, 2011 9:07 AM by BioASys RSS
BioASys Level 1 Level 1 (0 points)
Currently Being Moderated
Sep 17, 2011 8:17 AM

Hello, I am having dificulties getting a terminal window to open from an AppleScript. I recently upgraded from OS X SnowLeopard to Lion. Under SnowLeopard the following AppleScript would activate Terminal and open a Terminal window:

 

tell application "Terminal"

       activate

end tell

 

However, now that I am using Lion, when I run the above script Terminal will activate but a Terminal window does not open. Does anybody know how to modify this script so that Terminal activates and a Terminal window opens? Thanks George

Mac Pro, Mac OS X (10.6.8)

Actions

More Like This

  • Retrieving data ...

Bookmarked By (1)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.