Re: Non-AppleScript access to GUI scripting (System Events) plug-in?
Re: Non-AppleScript access to GUI scripting (System Events) plug-in?
- Subject: Re: Non-AppleScript access to GUI scripting (System Events) plug-in?
- From: Andrew Oliver <email@hidden>
- Date: Sun, 30 Mar 2003 23:45:14 -0800
I may be wrong, but I think you're better off using the Carbon Event manager
to post events directly, rather than trying to hang off GUI scripting.
http://developer.apple.com/techpubs/macosx/Carbon/oss/CarbonEventManager/Car
bon_Event_Manager/Tasks/index.html
Discusses "Creating your own events"
Andrew
:)
On 3/30/03 11:17 PM, "Ken Woodruff" <email@hidden> wrote:
>
I'm working on a utility (written in C++/Carbon) that generates scripts for
>
a non-scriptable application. The scripts make heavy use of the GUI
>
capabilities (particularly "keystroke") of the System Events scripting
>
plug-in. After much struggle (this is my first ever Mac program) it's
>
starting to work (sort of), but has some flaws, including the fact that
>
users have to execute the scripts after they're generated, and the lack of
>
sub-second delays makes the scripts run pretty slow (since I have to put a
>
delay after most operations).
>
>
I'm curious if there's some way to use the Apple Event Manager (or a similar
>
facility) to directly communicate with the System Events plug-in from my
>
Carbon app, by-passing Apple Script altogether. Anyone out there tried
>
something like this? Think it can be made to work? Is there a different
>
list I should ask this question on?
>
>
Thanks,
>
Ken Woodruff
>
email@hidden
>
_______________________________________________
>
applescript-users mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/applescript-users
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.