|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
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/"?
| References: | |
| >Re: POSIX file usage (From: Adriaan Tijsseling <email@hidden>) |
| Home | Archives | Terms/Conditions | Contact | RSS | Lists | About |
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.