• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: moving the mouse in AppleScript?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >moving the mouse in AppleScript? (From: email@hidden)

  • Prev by Date: moving the mouse in AppleScript?
  • Next by Date: Easier way to check for numbered string
  • Previous by thread: moving the mouse in AppleScript?
  • Next by thread: Easier way to check for numbered string
  • Index(es):
    • Date
    • Thread