• 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 file usage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: POSIX file usage


  • Subject: Re: POSIX file usage
  • From: Adriaan Tijsseling <email@hidden>
  • Date: Fri, 30 Aug 2002 16:25:01 +0900

> set dpath to ((path to preferences folder) as string) & "somefile.txt"
> set upath to (POSIX path of dpath)
> do shell script "open " & upath

Well, in my example I used the Preferences folder, but that is not always
the case. What if it is in "/Users/foo/somdir/"?

Also, I already have the POSIX style path, but I just want the mac style
path.

Adriaan
_______________________________________________
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.

  • Follow-Ups:
    • Re: POSIX file usage
      • From: Philip Aker <email@hidden>
References: 
 >Re: POSIX file usage (From: Philip Aker <email@hidden>)

  • Prev by Date: Re: Opening System Preference Panes
  • Next by Date: Re: POSIX file usage
  • Previous by thread: Re: POSIX file usage
  • Next by thread: Re: POSIX file usage
  • Index(es):
    • Date
    • Thread