440Forums.com  |  MacMusic.org  |  PcMusic.org  |  Zicos.com  |  AudioLexic.org
interface   {key13}


Move and click the mouse via code

MacOsxHints

Wednesday May 14, 2008. 04:30 PM
MacOsxHints

Most OS X apps can have their interface elements accessed by AppleScript, and so anything can be scripted. Unfortunately, not all apps use an Aqua interface, especially games with game-engine-rendered interface elements. This means AppleScript can't find buttons, etc., to click on, and you're out of luck trying to automate actions. Recently, I was given the unpleasant task of automating actions in such unfriendly apps. I just about went crazy trying to find a way to write a simple script with coordinates for mouse click events.There's nothing available within AppleScript for pushing the mouse around, and I couldn't find any command-line utilities either. Out of necessity, I wrote my own. This is my first time writing anything that even resembles Cocoa, and my first time writing code that compiles in nearly 10 years. I'm a scripting guy, and I just wanted to be able to write a script. What I wrote is a little command-...
Most apps have their interface elements accessed AppleScript anything Move click mouse code
Move and click the mouse via code Read more at MacOsxHints
feeds.macosxhints.com/~r/macosxhints/recent/~3/290210534/article.php

 

 Related News 
10.5: Move the Help window from one space to another 10.5: Move the Help window from one space to another
 MacOsxHints 05/23/08 04 PM 
EU to probe Microsoft's ODF move EU to probe Microsoft's ODF move
 Macworld UK 05/23/08 12 PM 
‘# 1 Dad’ Notebook Mouse Now Available from MoGo ‘# 1 Dad’ Notebook Mouse Now Available from MoGo
 AppleLinks 05/23/08 07 AM 
Who will win the great ?Mighty Mouse? case?  CBS and App... Who will win the great ?Mighty Mouse? case?  CBS and App...
 Mac Daily News 05/22/08 09 PM 
EU closely watching MS open format move EU closely watching MS open format move
 MacNN 05/22/08 06 PM 
Apple, CBS sued over Mighty Mouse Apple, CBS sued over Mighty Mouse
 Macworld UK 05/22/08 11 AM 
Apple sued over the Mighty Mouse Apple sued over the Mighty Mouse
 Mac Bidouille 05/21/08 08 PM 
Apple sued for callings its mouse Apple sued for callings its mouse "Mighty"
 Mac Megasite 05/21/08 07 PM 
Logitech intros V450 Nano laser mouse Logitech intros V450 Nano laser mouse
 MacNN 05/21/08 07 PM 
Apple sued for callings its mouse Mighty Apple sued for callings its mouse Mighty
 AppleInsider 05/21/08 06 PM 
Report: Apple to Move Entire MacBook Line to LED by 2009 Report: Apple to Move Entire MacBook Line to LED by 2009
 TheMacObserver 05/21/08 05 PM 
Man & Machine Sues Apple For Man & Machine Sues Apple For "Mighty Mouse" Trademark Infring...
 TheMacObserver 05/21/08 04 PM 
Apple sued over use of 'Mighty Mouse' name Apple sued over use of 'Mighty Mouse' name
 MacNN 05/21/08 04 PM 
Mothership sued over 'Mighty Mouse' Mothership sued over 'Mighty Mouse'
 InsanelyGreatMac 05/21/08 03 PM 
Apple and CBS sued for ?Mighty Mouse? trademark infringement Apple and CBS sued for ?Mighty Mouse? trademark infringement
 Mac Daily News 05/21/08 03 PM 
TMO Quick Tip - One-click File Name Copying TMO Quick Tip - One-click File Name Copying
 TheMacObserver 05/21/08 01 PM 
Taco HTML Edit 2.0 Beta Gets Code Completion, Tabs Taco HTML Edit 2.0 Beta Gets Code Completion, Tabs
 TheMacObserver 05/20/08 07 PM 
Office 2008 12.1 SP1 (#3): Installation method; documents won... Office 2008 12.1 SP1 (#3): Installation method; documents won...
 MacFixIt 05/20/08 06 PM 
Pitching out the buggy Logitech mouse driver Pitching out the buggy Logitech mouse driver
 Mac Megasite 05/20/08 02 PM 
SpaceExplorer 3D mouse now supports OS X SpaceExplorer 3D mouse now supports OS X
 MacNN 05/20/08 02 AM 
Move/Resize Windows from the Keyboard with MercuryMover Move/Resize Windows from the Keyboard with MercuryMover
 TidBITS 05/19/08 02 PM 

Search

Mac Zicos
Sat July 5, 05:47 AM
interface   {key13}