Using Python and AppleScript Together
Subject:   Shorter alias
Date:   2007-05-10 08:48:18
From:   ulrichp
Instead of

alias ose='open /Applications/AppleScript/Script\'

Wouldn't it be easier to use

alias ose='open -a "Script Editor"'

Then it doesn't really matter where Script Editor is located at; I'm pretty sure 'open -a' works on stuff not directly in the root of the /Applications folder.

Granted, it's probably six of one, half dozen of another, since I doubt Apple's likely to move the Script Editor anytime soon.

1 to 1 of 1
  1. Noah Gift photo Shorter alias
    2007-05-10 09:57:22  Noah Gift | O'Reilly AuthorO'Reilly Blogger [View]

    • the zen of python...
      2007-05-11 06:50:44  airdrummer [View]

1 to 1 of 1