• 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
os x gui scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

os x gui scripting


  • Subject: os x gui scripting
  • From: "Luca Cioria" <email@hidden>
  • Date: Sun, 21 Dec 2008 15:47:45 +0100

First, I know little of os x programming since I bought my mac 2 weeks ago.

I'd like to develop a set of command line tools that do gui scripting stuff.
Some examples:

click --> clicks the mouse at x y coordinates, optionally relative to
current window, can be single click, double click, right, middle, mouse-down
only (no releasing) etc. etc.
getPixel --> get the color of a pixel on the screen at x y coordinates,
optionally relative to current window.
send --> sends keystrokes
winActivare --> activate a specified window

etc etc
like the commands ahk has on windows

Is this possible ? How does cocoa comes into this? What approaches should I
follow?
Has anyone done something like this (some way of scripting that is not
applescript poor GUI scripting)?

bye!
_______________________________________________

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

  • Follow-Ups:
    • Re: os x gui scripting
      • From: Andrew Farmer <email@hidden>
    • Re: os x gui scripting
      • From: Robert Marini <email@hidden>
  • Prev by Date: introduction and question of nesting NSCollectionView
  • Next by Date: Number Formatter Problems in IB
  • Previous by thread: introduction and question of nesting NSCollectionView
  • Next by thread: Re: os x gui scripting
  • Index(es):
    • Date
    • Thread