/ Published in: AppleScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
tell application "Terminal" to activate tell application "System Events" tell process "Terminal" click menu item "New Window" of menu "Shell" of menu bar 1 tell application "Terminal" to close the front window end tell end tell