repeat set sms to do shell script "cd /Applications; ./AMSTracker" set sms to "AMS hardware present and initialized -110 -1 -7" set x to words 6 thru 6 of sms set z to words 7 thru 7 of sms set y to words 8 thru 8 of sms display dialog "(" & (get x) & "," & (get y) & "," & (get z) & ")" end repeat