Mike G. wrote:

> Hi,
> 
> Has anyone successfully used the SendKeys function in GuiTest to highlight text and 
> copy it to the clipboard?
> 
> I have tried a million ways but cannot get the text to be highlighted when using the 
> arrow keys.
> 
> For me if I do SendKeys("+{RIGHT}"); the cursor does move to the right one position 
> but the text does not get highlighted.
> 
> If I do SendKeys("+^{F1}); then Windows launches the help pop up window so it weems 
> like the syntax is correct.
> 
> 
> I navigate to the text using Win32::ActAcc.  After the script runs if I manually 
> hold down the shift key and press the right arrow key the text is highlighted.

I haven't played with it, but have you tried using the mouse (SendMouse
command) ?

-- 
  ,-/-  __      _  _         $Bill Luebkert    Mailto:[EMAIL PROTECTED]
 (_/   /  )    // //       DBE Collectibles    Mailto:[EMAIL PROTECTED]
  / ) /--<  o // //      Castle of Medieval Myth & Magic http://www.todbe.com/
-/-' /___/_<_</_</_    http://dbecoll.tripod.com/ (My Perl/Lakers stuff)
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to