• 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: scripting keyboard strokes to action menu commands
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scripting keyboard strokes to action menu commands


  • Subject: Re: scripting keyboard strokes to action menu commands
  • From: Daniel Shockley <email@hidden>
  • Date: Tue, 13 Mar 2001 00:04:17 -0800 (PST)

> Message: 15
> Date: Sat, 10 Mar 2001 16:44:47 -0500
> To: email@hidden
> From: Michael Packer <email@hidden>
> Subject: scripting keyboard strokes to action menu commands
>
> I am trying to automate an application which conveniently has
> keyboard equivalents for most of its menu items. For instance
> "command 6" to do such and such, "command shift 2" to do something
> else. All I need to do is string a few of these things together to
> satisfy my goal but I can't find any info regarding this.
>
> 1) How do I script "do the command 6 menu item" ?

You would need an OSAX for this. A nice, cheap one is AutoType. It would let you use a command
like:
AutoType "8" holding "Command" -- not sute about the syntax

An important thing to note in the documentation if you use this OSAX is that the AutoType command
_must_ not be in a 'tell application' block, since the application won't know what it is.

> advTHANKSance

cute :-)


=====
Daniel A. Shockley
email@hidden
http://www.danshockley.com
http://www.krioni.com

And now for a message from my sponsor... *grin*
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/


  • Prev by Date: Re: Unreadable script
  • Next by Date: Re: Pagemaker 6.5
  • Previous by thread: Re: scripting keyboard strokes to action menu commands
  • Next by thread: Final cut pro?
  • Index(es):
    • Date
    • Thread