• 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
Re: Non-AppleScript access to GUI scripting (System Events) plug-in?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Non-AppleScript access to GUI scripting (System Events) plug-in? (From: Ken Woodruff <email@hidden>)

  • Prev by Date: Re: Is there anything wrong with these two scripts?
  • Next by Date: Making a folder in the user's library
  • Previous by thread: Non-AppleScript access to GUI scripting (System Events) plug-in?
  • Next by thread: Re: Non-AppleScript access to GUI scripting (System Events) plug-in?
  • Index(es):
    • Date
    • Thread