BTW, since I'm running Panther, which doesn't have the
PathOfSelectionToClipBoard script (in /Library/Scripts/Info Scripts)
that david in maine refers to, I don't know for sure, but I'd guess
that script returns a Macintosh-style colon-delimited path
("Some_Disk:Some_Folder:Some_File") rather than the Unix-style
slash-delimited "POSIX" path required by the do shell script command
("Some_Disk/Some_Folder/Some_File").
A simple non-AppleScript way to find a file's full POSIX path is to
open a window in Terminal and drag the file in question into the
terminal window. (Caution: be sure you haven't typed any commands in
Terminal first, or the file will be regarded as a parameter for that
command, and an inadvertent press of the Return key will execute that
command on that file.)
- - - - -
Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden