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

Re: posix path conversion


  • Subject: Re: posix path conversion
  • From: Paul Skinner <email@hidden>
  • Date: Tue, 18 Feb 2003 21:13:30 -0500

On Friday, February 14, 2003, at 06:24 PM, Michelle Steiner wrote:


On Friday, February 14, 2003, at 03:23 PM, Paul Skinner wrote:

I now recall that it WAS posix path. Only this works sort of ok with posix paths and not well at all with URLs.

set f to choose file
set f to POSIX path of f
return POSIX path of f
-->"/:Applications:Address Book.app:"

Yup, that's what I got too.

As for getting the URL from the finder. It's a property of every file. Ask for it by name at your local finder. :)

Thanks.

Very handy for posting!

How so? I'm confused.

--Michelle

Lets say I post a file URL...

-->"file://localhost/System/Library/ScriptingAdditions/"

That file should be the same on both your box and mine. And if you try it, it should open the scripting additions folder on your box. This helps loads when you're trying to explain to someone, in an email, where to put things.
_______________________________________________
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: 
 >Re: posix path conversion (From: Michelle Steiner <email@hidden>)

  • Prev by Date: How do I script "Hide Toolbar" in Finder
  • Next by Date: [ANN] February BAUG Meeting
  • Previous by thread: Re: posix path conversion
  • Next by thread: Re: posix path conversion
  • Index(es):
    • Date
    • Thread