- Joined
- Sep 29, 2008
- Messages
- 6
- Reaction score
- 0
The page-layout program QuarkXpress doesn't do Services, such as speaking text, and it does its own thing with its private clipboard, so I have finally figured out an Applescript that speaks selected text in the program.
It works just fine. I often use it for proofreading purposes, where I'll have it speak parts of articles to me, and I listen for text errors. But sometimes, the phone rings in the middle of this, or somebody comes into the office, and I want the speaking to stop.
Command F5 (the VoiceOver toggle) doesn't work. Command-period doesn't work. Escape doesn't work. The Say boolean "stopping current speech" doesn't seem to work, or, if it does, I can't figure out how to script it properly. Basically, I just want a simple Applescript that says, "Stop talking. Do it now."
How can I stop the talk in mid-'say'?
Thanks.
For others in the Quark boat who want to hear it speak, here's the script:
It works just fine. I often use it for proofreading purposes, where I'll have it speak parts of articles to me, and I listen for text errors. But sometimes, the phone rings in the middle of this, or somebody comes into the office, and I want the speaking to stop.
Command F5 (the VoiceOver toggle) doesn't work. Command-period doesn't work. Escape doesn't work. The Say boolean "stopping current speech" doesn't seem to work, or, if it does, I can't figure out how to script it properly. Basically, I just want a simple Applescript that says, "Stop talking. Do it now."
How can I stop the talk in mid-'say'?
Thanks.
For others in the Quark boat who want to hear it speak, here's the script:
Code:
tell application "QuarkXPress"
set textStuff to selection as string
say textStuff
end tell