• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: File IDs -> paths
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File IDs -> paths


  • Subject: Re: File IDs -> paths
  • From: Bryan <email@hidden>
  • Date: Sat, 10 Feb 2001 16:37:55 -0500
  • Organization: Apex Radiology

tell application "Finder"
set theApp to name of application file id "TBB6"
open application file id "TBB6"
end tell

tell application theApp
activate
end tell

set appath to (path to <<constant afdregfp>>)

tell application "Finder"
activate
set the clipboard to appath as text
end tell

Bryan Kaufman


Nigel Smith wrote:

> Dear All,
>
> It's trivial to get a file's id if you know the path to the file. Can you
> go the other way, and find the path to a file if you know its id?
>
> TIA,
>
> Nigel
> _______________________________________________
> applescript-users mailing list
> email@hidden
> http://www.lists.apple.com/mailman/listinfo/applescript-users


References: 
 >File IDs -> paths (From: Nigel Smith <email@hidden>)

  • Prev by Date: Re: Listing apps in launch order
  • Next by Date: Re: Keychain Scripting (Was Re: Keeping a volume Mounted)
  • Previous by thread: File IDs -> paths
  • Next by thread: Re: File IDs -> paths
  • Index(es):
    • Date
    • Thread