Re: How to get Finder and System Events confused
Re: How to get Finder and System Events confused
- Subject: Re: How to get Finder and System Events confused
- From: John Delacour <email@hidden>
- Date: Wed, 19 Mar 2003 08:41:12 +0000
- Mac-eudora-version: 6.0a11
At 6:52 pm -0800 18/3/03, Olof Hellman wrote:
But this fails:
tell application "Finder"
container of file of process 1
end tell
--> Finder got an error: NSCannotCreateScriptCommandError
Usual problem. It ought to work and probably did in OS 7.6.
You need:
tell application "Finder"
container of (get file of process 1)
end tell
-- or
tell application "Finder"
file of process 1
container of result
end tell
_______________________________________________
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.