Hi,
I'm trying to write an applescript which will enable me to sync a playlist in itunes with my phone-mp3-player.
To do this, I am going to need to create some folders within my test directory (startup disk:users:robert:dekstop:Scripts:test folder: ) since my phones jukebox needs to have the files within the "MP3' folder in "artist/album/song.mp3".
So I am now trying to simply create a folder within my test directory.
At the moment, what I have is:
When I run this I receive an apple script error "Finder got an error: Can't get some object."
So, please can someone help me.
Thanks
I'm trying to write an applescript which will enable me to sync a playlist in itunes with my phone-mp3-player.
To do this, I am going to need to create some folders within my test directory (startup disk:users:robert:dekstop:Scripts:test folder: ) since my phones jukebox needs to have the files within the "MP3' folder in "artist/album/song.mp3".
So I am now trying to simply create a folder within my test directory.
At the moment, what I have is:
Code:
property mainFolder : "startup disk:users:robert:dekstop:Scripts:test folder:"
tell application "Finder"
set mainFolder to (path_to_folder)
make new folder at folder mainFolder with properties {name:"test"}
end tell
When I run this I receive an apple script error "Finder got an error: Can't get some object."
So, please can someone help me.
Thanks