copy using the frontmost window
sims
sims at ezpzapps.com
Fri Feb 9 00:22:23 EST 2007
[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
More information about the use-livecode
mailing list