View Single Post
Old 12-05-2007, 04:54 AM   #3
tang
Newbie
 
Join Date: Nov 2006
Posts: 14
My Photos: ()
I have not been able to get it to work.

Used the following code

tell application "Phidget Servo Controller"
activate
delay 2
end tell

tell application "System Events"
tell process "Phidget Servo Controller"
set value of slider 1 of window "Phidget Servo Controller" to 65
end tell
end tell

it will start the phidget servo controller but then I get this error message

System Events got an error: Can’t get slider 1 of window "Phidget Servo Controller" of process "Phidget Servo Controller". Invalid index.

Last edited by tang; 12-05-2007 at 04:58 AM.
tang is offline   Reply With Quote