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

Re: POSIX path with osascript


  • Subject: Re: POSIX path with osascript
  • From: Matthew Smith <email@hidden>
  • Date: Thu, 28 Jan 2010 05:39:47 +0800

Then the line should be:

set FileAlias to POSIX file (FolderPath & "/" & FileName)

POSIX path returns the posix path of an alias. POSIX file takes a string that is the POSIX  path and returns an alias.

Matthew Smith

On 28/01/2010, at 05:33 , Jay Louvion wrote:

On 27.01.2010 22:29, "Alex Zavatone" <email@hidden> spake thus:

Do you have to use a POSIX path?

On Jan 27, 2010, at 3:14 PM, Jay Louvion wrote:


Hi Alex,

A soon as I try to get anything from the path (item 1), I get an error saying the “file” [=folder path] doesn’t exist. The problem lies specifically with the path being in the wrong (/) format...
So let alone calling a container.



Well, I’m working from the shell, so I’m not really choosing. I need to go from POSIX path to “OSX” path (“/” path to “:” path)


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: POSIX path with osascript
      • From: Axel Luttgens <email@hidden>
References: 
 >Re: POSIX path with osascript (From: Jay Louvion <email@hidden>)

  • Prev by Date: Re: POSIX path with osascript
  • Next by Date: Re: POSIX path with osascript
  • Previous by thread: Re: POSIX path with osascript
  • Next by thread: Re: POSIX path with osascript
  • Index(es):
    • Date
    • Thread