Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to trigger a Copy in another application



Hi,

I have been wondering what the best way is to trigger Edit Menu commands in other applications. I noticed that in the Speech System Preferences (under the Text to Speech) tab there is a feature that allows the user to speak any selected text when a particular keyboard shortcut is used. When using that key combination the front application's edit menu briefly highlights, which implies that it triggers a copy. However, I am assuming it cannot trigger that copy through sending the cmd-C keyboard shortcut because the user may already be holding down say control-shift-K to trigger the speak selected text function so sending cmd-C would actually result in control-shift-cmd-C. Anyway, that is what I would imagine would happen. Does anyone here know how Apple does it and wether it is a public thing that other apps can also use? Perhaps I am missing something extremely obvious...

Thanks,

david.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.