|
|
It's not a bug, it's a feature.
This is a classic "Mac vs Unix" file-system problem. The ":" is a Mac directory delimiter, while "/" is the Unix directory delimiter. Want to have some real fun? Go and create a folder in the Finder and name it "Test/This." Now, open the terminal and list where that directory is located. It appears as "Test:This." When mixing Unix with Applescript, these changes become a SEVERE headache. I honestly wish there was a setting in Applescript to make all file references in Unix form.
It's not a bug, it's a feature.
I'd like to see your workaround, however i have updated the script to handle both slash, backslash, and colon. (and probably broke some stuff as well)
http://www.blacktree.com/scripts.html
Mac Unix script
My mac to unix path conversion applescript subroutine is already posted here in MacOSX hints. Your conversion routine will still choke if it comes across a name with quotes, but that is extremely rare in CDs.
Mac Unix script
I thought about that, but since it was already there i just left it in. I was partly worried about things making it back into iTunes to be finished. I am not completely secure about the whole script->shell->script affair. it would be a lot easier though.....
Mac Unix script
oh, and i thought i fixed the issue with quotes. what version are you looking at?
It's not a bug, it's a feature.
I'm running version 1.0.4b of the script and I'm getting errors on a slash. |
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.09 seconds |
|