Posted By

buzzerton on 07/10/10


Tagged

terminal automation


Versions (?)

Clicking menu items using AppleScript


 / Published in: AppleScript
 

  1. tell application "Terminal" to activate
  2. tell application "System Events"
  3. tell process "Terminal"
  4. click menu item "New Window" of menu "Shell" of menu bar 1
  5. tell application "Terminal" to close the front window
  6. end tell
  7. end tell

Report this snippet  

You need to login to post a comment.