|
|
Add regular expression junk filtering to Mail.app
/tmp is actually in /private/tmp, or in Mac terms "Macintosh HD:private:tmp:".
The AppleScript way to find this is to cast "/tmp" as a posix path. In this case, I'm assigning it to the variable "tmpPath":
I believe
Add regular expression junk filtering to Mail.app
I believe the problem is the "on the fly" part - if I do the posix file thing, the conversion to the Mac-formatted path is done on the spot, and the result could be wrong on someone else' Mac (e.g., they might name their HD differently).
Add regular expression junk filtering to Mail.app
If you're looking for /tmp on someone's Mac, but you don't know the name of the hard drive, then putting
POSIX file "/tmp" in your script should send you to the right directory, even if interpreted on the fly. Alternately, you can get the name of the startup disk by using path to system folder and then strip filter for the text between the first and second ":".
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.07 seconds |
|