Re: moving the mouse in AppleScript?
Re: moving the mouse in AppleScript?
- Subject: Re: moving the mouse in AppleScript?
- From: Axel Luttgens <email@hidden>
- Date: Thu, 26 Apr 2007 08:43:28 +0200
On 26/04/07 5:24, email@hidden wrote:
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)
Could you provide some more info?
It seems you have executed the above command from a session opened for
user "jmzorko".
Does VLC run in the same session, or in another user session (which
could for example happen with FUS enabled)?
Axel
_______________________________________________
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