• 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
Okey Dokey & Menu Events: thanks Hans
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Okey Dokey & Menu Events: thanks Hans


  • Subject: Okey Dokey & Menu Events: thanks Hans
  • From: Michael Turner <email@hidden>
  • Date: Mon, 26 Mar 2001 17:47:43 -0500

Hans,

I have just been searching old mail for a feably-remembered one regarding
"Menu Events". Then I saw it was from you to Vince Jelenic.

It gave me the info I needed to find the info I needed, if you follow what I
mean.

I changed:
try
tell application "Palindrome:Desktop
Folder:scripts:MathSetterWithOPT.quickeyscript"
activate
end tell
on error
-- do nothing
end try

(Where the try block wasn't sucessful at catching quickeyscript errors,
forcing me to use "OkeyDokeyPro".)

To:
if (menuEnabled is true) then
Select Menu Item menu title "MathSetter" menu item ID 3 with option key
-- result: Option-UntypeSet
end if

How much more elegant. Thanks! :-)

I'm off to throw away "OkeyDokey"!

/Michael


  • Prev by Date: Re: Scripting MS Word
  • Next by Date: Writing a script to save a Quark document as an EPS ?
  • Previous by thread: Re: [AS]Re: Error -8850
  • Next by thread: Writing a script to save a Quark document as an EPS ?
  • Index(es):
    • Date
    • Thread