Jump to content

Recommended Posts

Posted

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.

Posted (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 by JohnOne

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Posted

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???

Posted (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 by somdcomputerguy

- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

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...