Re: os x gui scripting
Re: os x gui scripting
- Subject: Re: os x gui scripting
- From: Bill Cheeseman <email@hidden>
- Date: Tue, 23 Dec 2008 06:00:47 -0500
- Thread-topic: os x gui scripting
on 2008-12-22 5:58 AM, Luca Cioria at email@hidden wrote:
> If you say so.. but for example how would you click at specified coordinates
> in applescript? or get a pixel color?
> Of course, if an app is scriptable I use appscpt or automator, but in many
> case, even websites, I have to follow this path.
To answer the original question, if you're interested in writing something
using C, you want to study up on Apple's Accessibility and Quartz Event
Services APIs. Both are standard C APIs, and it's straightforward to use
them in a Cocoa application.
AppleScript's GUI Scripting technology uses the Accessibility API under the
hood.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
www.quecheesoftware.com
PreFab Software - www.prefabsoftware.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden