Let me say firstly that I'm an applescript newbie
Can someone please tell me why this AS code:
is producing:
as an error?
Can someone please tell me why this AS code:
Code:
display dialog "Please enter justin username:" with title "Enter Username" default answer ""
set cbUsername to text returned of result as text
do shell script "rtmpdump -r 'rtmpe://edge1-a.stream.justin.tv/live-edge' -a 'live-edge' -W 'http://ccstatic.justin.tv/static/flash/CBV_2p49.swf' -p 'http://justin.tv/" & cbUsername & "/ -y 'mp4:public-" & cbUsername & "' -v -o ~/t.flv -T 'm9z#$dO0qe34Rxe@sMYxx%' --verbose"
Code:
sh: -c: line 0: unexpected EOF while looking for matching `''
sh: -c: line 1: syntax error: unexpected end of file" number 2