Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 28th, 2012  |  syntax: None  |  size: 0.53 KB  |  hits: 13  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Applescript to open specific Terminal Style Windows
  2. set a to {}
  3. tell application "Terminal"
  4.     repeat with i from 1 to count settings set
  5.         set temp to {settings set i's name, settings set i's id}
  6.         set end of a to temp
  7.     end repeat
  8.     a
  9. end tell
  10.        
  11. tell application "Terminal"
  12.     set a to do script "" -- creates new window
  13.     set a's current settings to (settings set id <one of the id #>)
  14. end tell
  15.        
  16. tell application "Terminal"
  17.     set win to do script
  18.     set win's current settings to settings set "Basic"
  19. end tell