Subject: | |
From: | |
Reply To: | |
Date: | Mon, 14 Dec 2009 23:54:09 +0000 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
At 12:20 -0800 14/12/09, Stockly, Ed wrote:
>Sounds like you're manually typing your paths in.
>
>Here's a better way to get a valid reference to put into your script:
>
>Run this script in Script Editor. Navigate to the script you want to load
>into your script. When the dialog comes up, copy and paste the contents into
>your script [...]
In Smile, if you drag the file (say the Scripts Folder) from the
Finder to the script window you will get
alias "Mac Mini:Library:Scripts"
In Script Editor, if you drag the folder to the script window, you
will get an apparently superfluous dialog : whichever option you
choose, you get
"/Library/Scripts"
pasted into the window.
This can be converted to something useful by doing this:
posix file "/Library/Scripts" as alias
--=> alias "Mac Mini:Library:Scripts:"
...or perhaps Script Editor has evolved in the direction of sanity
since 10.4.11
JD
|
|
|