Re:help converting URL to alias for OmniGraffle
Re:help converting URL to alias for OmniGraffle
- Subject: Re:help converting URL to alias for OmniGraffle
- From: Michael Cytrynowicz <email@hidden>
- Date: Sun, 16 Mar 2003 22:41:41 +0100
Oops (red-faced) thanks Chris, for pointing it out - I got so engrossed in
the URLs and returns, I forgot about the correct alias reference...
ooooooooooooo 0
||||||||||||||||||||| | <M
(above, Mike looking at a tree and forgetting the forest)
Mike C.
---------------------------------------------
>
Mike had written:
>
>
> Tell application "Finder"
>
> Open file "Dodecaide:Users:uimike:Desktop:file.jpg" as alias
>
> end tell
>
>
To which Chris Nebel responded:
>
>
This script won't solve your original problem, which was how to keep
>
the file reference from breaking as you moved the script around. As
>
written, there's still an absolute path reference there that won't
>
change. Try this instead:
>
>
tell application "Finder"
>
open alias "Dodecaide:Users:uimike:Desktop:file.jpg"
>
end
>
>
If saved as a compiled script or applet, this will track the file as it
>
moves, because it saves the actual alias record in the script.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.