Re: Folder ID
Re: Folder ID
- Subject: Re: Folder ID
- From: Richard 23 <email@hidden>
- Date: Tue, 3 Dec 2002 14:28:37 -0800
Christopher Stone stated:
>
It seems to me that it's possible to open a folder in the finder by using
>
its ID number. I'd appreciate it if someone would remind me how.
>
>
AppleScript 1.8.3.
I'm a bit behind the times (AppleScript 1.6) but I was able
to get it to work on my system.
While it would seem to be specific enough a folder id will not
necessarily be unique where multiple volumes are possible so you
need to include the volume when referencing a folder by id.
tell application "Finder"
get {disk's id, id} of folder 1
set {diskID, folderID} to result
get folder id folderID of disk id diskID
end tell
It would also seem reasonable to be able to do the same with
files but the Finder only allows application files, disks and
folders to be specified by id.
Richard 23
_______________________________________________
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.