Okey Dokey & Menu Events: thanks Hans
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