moving the mouse in AppleScript?
moving the mouse in AppleScript?
- Subject: moving the mouse in AppleScript?
- From: email@hidden
- Date: Wed, 25 Apr 2007 20:24:53 -0700
Hello, all ...
I've researched this and found some examples using "System Events",
but they're not working on my Mini. I'm making a kiosk app, and
everything works so far except one thing -- even without a mouse
plugged into the Mac Mini, OSX _thinks_ the mouse is at the upper
left, so when I launch VLC via launchctl in fullscreen mode, then
tell Finder to make VLC frontmose, the VLC menu appears because it
thinks the mouse is up there.
I tried the following to move the mouse, but it doesn't seem to
work. Any (excuse the pun) pointers?
mac:~ jmzorko$ osascript -e 'tell application "Extra Suites" to ES
move mouse {300,300} end tell'
30:31: syntax error: No user interaction allowed. (-1713)
Regards,
John
Falling You - exploring the beauty of voice and sound
http://www.fallingyou.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden