It seems right. I triple checked it. Doesn’t work. Any other ways to do the same thing?
tell application "iChat"
activate
end tell
tell application "System Events"
tell process "ichat"
click the item "Video Preview" of menu item "Video" of menu bar 1
end tell
end tell
This is so weird, I ran that, and I recieved an error there too. Here is my entire code:
tell application "iChat"
activate
end tell
tell application "System Events"
tell process "ichat"
click menu item "Video Preview" of menu 1 of menu item "Video" of menu bar 1
end tell
end tell
This is the error I get:
System Events got an error: NSReceiverEvaluationScriptError: 4
It seems like it would be simple. I have even tried this. It doesn’t work, but it does for the buddy list. I cant figure it out. Any other ides to how I can open this window?
tell application "iChat"
set visible of window "my isight" to true
end tell
Ok, this HAS to work, but it doesn’t. I have a program that tells you the exact UI script. This is what it gave me, and everything I have tried does not work. I read on apples website that you had to enable assitance for assistave devices. I did, but no luck. Anyone see this before?
tell application "iChat"
activate
end tell
tell application "System Events"
tell process "ichat"
click menu item "Video Preview" of menu 1 of menu bar item "Video" of menu bar 1
end tell
end tell