• 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: Keyboard functions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Keyboard functions (From: email@hidden)

  • Prev by Date: Re: Random number generator -- OS X different
  • Next by Date: Re: Run script with parameters?
  • Previous by thread: Keyboard functions
  • Next by thread: Make new selection with Graphic Converter
  • Index(es):
    • Date
    • Thread