Re: application file of remote app broken
Re: application file of remote app broken
- Subject: Re: application file of remote app broken
- From: Emmanuel <email@hidden>
- Date: Fri, 10 Oct 2003 22:39:35 +0200
At 12:36 PM -0400 10/10/03, Steve Roy wrote:
>
Here's something weird:
>
>
tell application "System Events" of machine "eppc://some.valid.address"
>
using terms from application "System Events"
>
application file of first application process
>
--> alias "Beautyloginwindow.app"
>
end using terms from
>
end tell
>
>
The alias returned is completely invalid. I also tried 'file' instead of
>
'application file', as well as "Finder" instead of "System Events", and
>
they all return the same bogus alias.
>
>
Does anyone know of a workaround for this?
I suppose you'd rather ask the remote Finder to coerce to string before it returns the result to you. On the local machine the alias become invalid, and AppleScript suppresses the colon after the disk's name in invalid aliases (not a rule, just an observation).
Emmanuel
_______________________________________________
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.