API Path Question
API Path Question
- Subject: API Path Question
- From: Jerrod Fowkes <email@hidden>
- Date: Fri, 9 Jun 2006 13:56:30 -0700 (PDT)
It is my knowledge that Applescript needs to have hfs pathing to files. It also appears that iTunes needs to have an alias to a file as well on the file in order to add it to a playlist. Well I could have any directory on the filesystem and I was wondering if there was a Cocoa API call that could essentially convert
"/Users/dir 1/dir2/dir3" to
"anyvolumename:Users:dir 1: dir2:dir3"
This also needs to handle spaces and all those special characters.
I did look into some applescript code to pull this off, but it has failed. I have used the code :
tell application "System Events"
set folderA to "/Users/dir 1/dir2/dir3"
set final_folder to POSIX file folderA
end tell
any help is appreciated. -Jerrod
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden