Jump to content

Putting to ClipBoard, without ClipPut()


Recommended Posts

I ran into a problem today and I am looking for a work-around. It seems that the issue is the '^c' (Copy) command is not being executed correctly. It has worked for the last 3 months, but now its giving me issues.

Is there a way to 'Copy' what is highlighted, to the clipboard, without using ClipPut or '^c' (Send("{CTRLDOWN}c{CTRLUP}"))?

sleep (2000)
$o_SearchForm = _IEFormGetObjByIndex ($o_IE, 0)
$o_Keywords = _IEFormElementGetObjByIndex ($o_SearchForm, "description" & $var)
_IEAction($o_Keywords,"focus")
Sleep (2000)
_IEAction($o_Keywords,"selectall")
Sleep (2000)
Send("{CTRLDOWN}c{CTRLUP}")
$description_text = ClipGet ()
ToolTip ($description_text)
Sleep (1000)
ToolTip ("")

Thanks in Advance.

Link to post
Share on other sites

Try sending CTRL + INSERT , it works for most programs.


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...