Hello, I am having my first experience with a Mac for a media server I am trying to set up. Its going very well so far and working 98.5 % of the way I hoped for but I am hoping for some help with the last little bit.
I have been trying to make my first shell script to do what I am doing manually in the terminal. I assumed it could be like a bat file and just click on it and it would execute my three little lines #!/bin/bash export USEPADEVICE="XMOS USB 2.0 Audio Out" export USEPAMAXSAMPLERATE=192000 open ~/Applications/SqueezePlay.app exit It works perfectly when I type it manually into the terminal. I am running a headless 10.6.8 and I have saved these lines a file called SqueezePlay.sh under my home directory. Obviously, I got some problems, cause instead of executing, I get this : Last login: Thu Jul 11 15:43:03 on ttys000 mac-mini:~ gena_mak$ ./SqueezePlay ./SqueezePlay: line 1: {rtf1ansiansicpg1252cocoartf1038cocoasubrtf360: command not found ./SqueezePlay: line 2: syntax error near unexpected token `}' ./SqueezePlay: line 2: `{\fonttbl\f0\fswiss\fcharset0 Helvetica;}' I tried putting the same information into an applescript and that didn't work out very well either LOL Thanks for any guidance you could give... ps - Thanks to all of the information I have received from Ralphy to get high res music running so far...... Darren ------------------------------------------------------------------------ dgcrane's Profile: http://forums.slimdevices.com/member.php?userid=60666 View this thread: http://forums.slimdevices.com/showthread.php?t=96328 _______________________________________________ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss