• 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
moving the mouse in AppleScript?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: moving the mouse in AppleScript?
      • From: Axel Luttgens <email@hidden>
  • Prev by Date: Re: Simple Date-Time Format Question...
  • Next by Date: Re: moving the mouse in AppleScript?
  • Previous by thread: Re: How to convert my text to PC encoding when using "write"
  • Next by thread: Re: moving the mouse in AppleScript?
  • Index(es):
    • Date
    • Thread