Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password

Mac > Code warrior for Mac > Re: Automatical...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 17 of 17 Topic 2176 of 2231
Post > Topic >>

Re: Automatically controlling the mouse and keyboard for GUI scripting?

by froetho@[EMAIL PROTECTED] Oct 29, 2006 at 12:20 PM

Peter Olcott wrote:
> Can this be done in Mac OS, and how is it done?

The answer is that it is the wrong way to do scripting in Mac OS, and
has been the wrong way since the introduction of Apple Events (not to
be confused with Carbon Events!). Apple Events are extensively
do***ented on the Apple developer website, and they have been the only
proper way to sup****t GUI scripting on Mac OS for well over a decade.
If you want to sup****t scripiting, or control another application,
Apple Events are the only way to go.

The outdated method of fiddling with the system event queue has been
discontinued in Carbon, it was previously available under the name
PostHighLevelEvent. Of course, if you insist on shooting yourself in
the foot, you can still fiddle this way with your own application event
queue, as you can post any events to your application event queue
easily, using CreateEvent.

    Thorsten


PS: For do***entation, see
<http://developer.apple.com/do***entation/Carbon/Conceptual/Carbon_Event_Manager/index.html>
(Cabon Events) and
<http://developer.apple.com/do***entation/AppleScript/Conceptual/AppleEvents/index.html>
(Apple Events).
 



 17 Posts in Topic:
Automatically controlling the mouse and keyboard for GUI scripti
"Peter Olcott"   2006-10-28 15:35:24 
Re: Automatically controlling the mouse and keyboard for GUI scr
Michael Ash <mike@[EMA  2006-10-28 16:03:20 
Re: Automatically controlling the mouse and keyboard for GUI scr
"Peter Olcott"   2006-10-28 21:43:01 
Re: Automatically controlling the mouse and keyboard for GUI scr
Michael Ash <mike@[EMA  2006-10-28 22:05:30 
Re: Automatically controlling the mouse and keyboard for GUI scr
"Peter Olcott"   2006-10-29 06:40:08 
Re: Automatically controlling the mouse and keyboard for GUI scr
Jens Ayton <RWSMSGZIAR  2006-10-29 12:47:12 
Re: Automatically controlling the mouse and keyboard for GUI scr
Michael Ash <mike@[EMA  2006-10-29 06:54:12 
Re: Automatically controlling the mouse and keyboard for GUI scr
"Peter Olcott"   2006-10-29 08:14:27 
Re: Automatically controlling the mouse and keyboard for GUI scr
Michael Ash <mike@[EMA  2006-10-29 15:37:18 
Re: Automatically controlling the mouse and keyboard for GUI scr
"Peter Olcott"   2006-10-29 22:46:26 
Re: Automatically controlling the mouse and keyboard for GUI scr
glenn andreas <gandrea  2006-10-29 09:41:58 
Re: Automatically controlling the mouse and keyboard for GUI scr
"Peter Olcott"   2006-10-29 10:16:12 
Re: Automatically controlling the mouse and keyboard for GUI scr
glenn andreas <gandrea  2006-10-29 10:50:16 
Re: Automatically controlling the mouse and keyboard for GUI scr
David Phillip Oster <o  2006-10-29 20:37:04 
Re: Automatically controlling the mouse and keyboard for GUI scr
"Peter Olcott"   2006-10-29 22:41:39 
Re: Automatically controlling the mouse and keyboard for GUI scr
glenn andreas <gandrea  2006-10-30 09:21:21 
Re: Automatically controlling the mouse and keyboard for GUI scr
froetho@[EMAIL PROTECTED]  2006-10-29 12:20:44 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Oct 7 19:01:41 CDT 2008.