Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
POSIX file usage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

POSIX file usage



I tried the following

set unixpath to "/Users/foo/Library/Preferences/somefile.txt"
set the macpath to (unixpath as POSIX file)

But I received NSCannotCreateScriptCommandError (10) for the second
statement.
I also tried
set the macpath to my POSIX file unixpath
but that fails with the same error.

Any ideas?

adriaan (btw, running Jaguar with latest DevTools)
_______________________________________________
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.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.