Re: POSIX path with osascript
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