miketh2005 0 Posted May 5, 2010 MouseClickDrag("left", 928, 686, 655, 686) ;Highlight Email Address Send("^C") ;Copy Email address So I have that code, but it is not copying the highlighted part. Why not? I guess it's a problem with the Send parameters... I thought ^ was the code for CTRL? That's what it says in the help doc. Share this post Link to post Share on other sites
JohnOne 1,603 Posted May 5, 2010 (edited) Its worked for me before. Could have something do do with where you are getting it from. But anyhow, you should do some checking before trying to do whatever with the email, such as checking the clipboard contents actually has an email in it ie.. psuedo ClipPut("Blah") Mouseclic..... Send("........ $var = ClipGet() If Not $var == "Blah" Then ;contents have changed so you have your email Else Try again Edited May 5, 2010 by JohnOne AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Share this post Link to post Share on other sites
gononono64 1 Posted May 5, 2010 replace this: Send("^C") with this : Send ("{CTRLDOWN}") Send ("c") Send("{CTRLUP}") Share this post Link to post Share on other sites
miketh2005 0 Posted May 5, 2010 i tried using that line of code to copy something in scite itself and it turned the text into: or ETX. So its doing Ctrl + Shift + C instead of just Ctrl + C... why is it doing shift??? Share this post Link to post Share on other sites
somdcomputerguy 103 Posted May 5, 2010 You're sending an upper-case 'c'. Try this: Send("^c"). - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Share this post Link to post Share on other sites
JohnOne 1,603 Posted May 5, 2010 You're sending an upper-case 'c'. Try this: Send("^c").Well spotted. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Share this post Link to post Share on other sites
somdcomputerguy 103 Posted May 5, 2010 (edited) Well spotted.Actually it wasn't until the OP mentioned the shift.. But thanks. I hope that solves the issue.Edit: Looking back, gononono64 suggested a lower case 'c' also.. Edited May 5, 2010 by somdcomputerguy - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Share this post Link to post Share on other sites
miketh2005 0 Posted May 6, 2010 Thanks alot guys! Very well spotted! saves some lines! Thanks. Share this post Link to post Share on other sites