I added another delegate method to say the name of each menu item as they are rolled over.
on |menu|:sender willHighlightItem:senderItem
say (title of senderItem as text)
end |menu|:willHighlightItem:
I added another delegate method to say the name of each menu item as they are rolled over.
on |menu|:sender willHighlightItem:senderItem
say (title of senderItem as text)
end |menu|:willHighlightItem:
@Mark_FX - Thanks to your help, and the help of Ben Surtees (of Bartender fame) and other people who have sent private notes, I seem to have a working AppleScript app. This converts styled text in the clipboard to plain text at user-specified intervals, and can be temporarily disabled by pressing caps lock. I’ve probably made a mess of the code, but it seems to work.
I got the idea from a posting by Piyomaru at Late Night Software, announcing an AppleScript app that does this job, and I tried to do the same thing without looking at his code (which is only available by paying for it). While working on it, I found a terrific free app called Pure Paste (available on the App Store) which is far better than mine in every way, but I wanted to continue to work on mine for the sake of the education I was getting in AppleScript.
If anyone’s interested, here it is (notarized):
Thanks again to everyone for their enormously generous help.