[Apologies if this email appears twice...first attempt did not seem to go through]

My goal is to get the hilited text from a field onto the clipboard in Windows.

With Applescript, the following does a 'command key C' or copy which gets the
hilited text of the frontmost window in OS X:

        tell application "System Events"
                key code 8 using command down
        end tell

It copies the hilited text from the frontmost window.

Is there a way to do this with Windows? I don't want to load any third party apps to do this. If Windows has a built-in means, comparable to the Applescript above
it would be great...but it must also be available in Vista.

I did find a promising 3rd party app called TXMouse, which copied any hilited text
to the clipboard. This proved to present quite a few 'challenges'  & surprises.

I'd like to have something built into my app if possible...I'd use a .dll if available. Would anyone be interested in making a .dll to do this...if that is what is required?

Suggestions?

sims
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to