• 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: Triggering a QuicKeys Shortcut
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Triggering a QuicKeys Shortcut


  • Subject: Re: Triggering a QuicKeys Shortcut
  • From: cheshirekat <email@hidden>
  • Date: Wed, 2 May 2001 21:36:46 -0600

On 05-02-2001 1600, Eric Schult may have typed or relayed in full or in
part ...

>I'm trying to trigger a QuicKeys Shortcut from within an Applescript. How
>might that be done? QuicKeys doesn't seem to have a application from which I
>can open an Applescript dictionary and explore its scriptability. The
>QuicKeys manual seems only to brush upon relationships between QuicKeys and
>Applescript, but not in any way that would assist me in what I'm trying to
>do.
>
>I've got an Acrobat Plugin (Gemini) that extracts text from PDFs, but Gemini
>isn't scriptable and doesn't have any keyboard shortcuts that would enable
>me to use KeyQuencer (or some such) to automate text extraction of multiple
>PDFs.
>
>I never use QuicKeys if I can help it, but here I thought I could use it to
>trigger Gemini's text extraction feature in Acrobat. I've got QuicKeys doing
>what I want from a keyboard shortcut now, but I have to figure out how to
>trigger the keyboard shortcut from within an Applescript repeat loop.
>
>I'm sure the answer's right in front of my face, but I guess I'm thrown by
>how unorthodox QuicKeys seems as a Mac app. I'm more than open to any
>solution that leaves QuicKeys out of equation.
>
>wes

I'm not sure which version of QuicKeys you are using, but what you want
is possible with versions 5 and 4, from my experience. With verson 5,
AppleScript commands are sent to the "QuicKeys Backgrounder" which is in:

System Folder:Application Support:QuicKeys 5:Backgrounders:
QuicKeys Backgrounder

To see what AppleScript commands are available to you, check the QuicKeys
Backgrounder dictionary as you would any Scripting Addition or
application within your script editor.

You can use syntax/statements like:

tell application "QuicKeys Backgrounder"
TypeTheString dataToType -- dataToType is a variable holding text
end tell

tell application "QuicKeys Backgrounder"
DoMenuChoice MenuTitle "Edit" MenuItem "Select All"
end tell

tell application "QuicKeys Backgrounder"
PlayByName "Type Current Time" -- to play shortcut named "Type Current
Time"
end tell

I don't recall offhand if the extension was called "QuicKeys
Backgrounder" in version 4, but the QK readme documentation should tell
you what was installed and where. I think the backgrounder was previously
located in the QuicKeys folder in the Preferences folder prior to QK 5.

Good Luck

kat


  • Prev by Date: Re: Script Editor odd behaviour
  • Next by Date: Re: Script Editor odd behaviour
  • Previous by thread: Re: Triggering a QuicKeys Shortcut
  • Next by thread: Re: Triggering a QuicKeys Shortcut
  • Index(es):
    • Date
    • Thread