on 2008-12-22 5:58 AM, Luca Cioria at [email protected] 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 protected]
Quechee Software, Quechee, Vermont, USA
www.quecheesoftware.com

PreFab Software - www.prefabsoftware.com


_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to