Re: Keyboard functions
Re: Keyboard functions
- Subject: Re: Keyboard functions
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 24 Apr 2001 19:06:46 -0700
On 4/24/01 3:07 PM, "email@hidden" <email@hidden> wrote:
>
Hi all,
>
>
I am working on an applescript for automating a series of changes in a
>
program to make the setup of the application simplistic.
>
The place I am stuck in is I need to make it execute a hard return. not just
>
adding an ascii 13 to the end of a string, but actually submit the change to
>
the program. I have found a small extension called menu events very useful
>
for executing menu commands by ID, but I still cant get it to complete the
>
changes, and proced to the next change.
>
>
Is there a way to execute a keyboard keypress with applescript?
>
With keypress-emulating osaxen. Try Sigma's Additions:
type text return
Sometimes it's too slow for the script which gets to the next line before
the emulation is complete. But this is a pretty simple one, so you may well
be OK.
--
Paul Berkowitz