Basically I'm making a script which sets system/iTunes volume to max, selects a mp3 file (from the public/group folder) and then starts itunes playing.
I've managed this much.
Problem is the script needs to be run on a variety of mac systems (g4s/powermacs,intel imacs, mac minis) and there's basically two problems:
1. Sometimes the user who accesses the script doesn't have iTunes set up and so the script fails on the set itunes playing bit.
2. There's some problems with permissions on the itunes libary with some of the newer leopard based minis.
So basically I'm gonna add into the script:
1. Delete iTunes music libary file from $user/music (removing problems with permissions and the itunes libary)
2. Copy the blank itunes config file from the public/group folder to the user's preferences folder. (Thereby skipping itunes installation)
Only thing is I don't know how to access the user folder like:
$user / Music
or whatever.
Anyone know what I should be doing ?
Cheers
I've managed this much.
Problem is the script needs to be run on a variety of mac systems (g4s/powermacs,intel imacs, mac minis) and there's basically two problems:
1. Sometimes the user who accesses the script doesn't have iTunes set up and so the script fails on the set itunes playing bit.
2. There's some problems with permissions on the itunes libary with some of the newer leopard based minis.
So basically I'm gonna add into the script:
1. Delete iTunes music libary file from $user/music (removing problems with permissions and the itunes libary)
2. Copy the blank itunes config file from the public/group folder to the user's preferences folder. (Thereby skipping itunes installation)
Only thing is I don't know how to access the user folder like:
$user / Music
or whatever.
Anyone know what I should be doing ?
Cheers