• 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: Posix path to alias...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Posix path to alias...


  • Subject: Re: Posix path to alias...
  • From: Paul Berkowitz <email@hidden>
  • Date: Tue, 17 Dec 2002 13:27:33 -0800

On 12/17/02 2:07 PM, "julifos" <email@hidden> wrote:

> Hi all!
>
> Any *quick* or *magic* way to turn a posix path into an alias (better than
> get name of disk, set tids to blahblahblah and so on...)?
>
> eg: /Users/me/Desktop/file.txt
> to: alias "HD:Users:me:Desktop:file.txt"
>
POSIX file "/Users/me/Desktop/file.txt"

will compile immediately without even running it. Of course it will compile
even if it's a non-existent file , since the result is just a file
specification. So:

POSIX file "/Users/me/Desktop/file.txt" as alias

will get you the actual file (or error if it doesn't exist).

--
Paul Berkowitz
_______________________________________________
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.

References: 
 >Posix path to alias... (From: julifos <email@hidden>)

  • Prev by Date: Re: Make a file visible
  • Next by Date: BIG number as string
  • Previous by thread: Posix path to alias...
  • Next by thread: Re: Posix path to alias...
  • Index(es):
    • Date
    • Thread