litlmike 1 Posted July 26, 2006 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. Hide litlmike's signature Hide all signatures _ArrayPermute()_ArrayUnique()Excel.au3 UDF Share this post Link to post Share on other sites
BigDod 518 Posted July 26, 2006 Try sending CTRL + INSERT , it works for most programs. Hide BigDod's signature Hide all signatures 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 Share this post Link to post Share on other sites
litlmike 1 Posted July 26, 2006 Try sending CTRL + INSERT , it works for most programs.I can try that, but my gut tells me that the issue is with sending a command like that period, whether it is CTRL + C or CTRL + INSERT.Is there Copy_What_Is_Highlighted () type of command? Hide litlmike's signature Hide all signatures _ArrayPermute()_ArrayUnique()Excel.au3 UDF Share this post Link to post Share on other sites
litlmike 1 Posted July 27, 2006 Is the answer, 'no'? Hide litlmike's signature Hide all signatures _ArrayPermute()_ArrayUnique()Excel.au3 UDF Share this post Link to post Share on other sites
GaryFrost 15 Posted July 27, 2006 http://www.autoitscript.com/forum/index.ph...st&p=213645 Hide GaryFrost's signature Hide all signatures SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Share this post Link to post Share on other sites
ReFran 14 Posted July 27, 2006 Is there Copy_What_Is_Highlighted () type of command?If you work with the IE object there are many solutions in the WSH-groups. Perhaps.document.execcommand "Copy"works for you.HTH, Reinhard Share this post Link to post Share on other sites