Jump to content

Sending Copy and Paste


 Share

Recommended Posts

Is there a better way to send copy/paste then Send("{^c}")/Send("{^v}") for whatever reason these don't work 100% for me sometimes they end up sending just c or just v. Is there a way to do this more directly in your own script. I've used ControlSend() and it seems to be no better at dropping the control char. Help!

AutoIt changed my life.

Link to comment
Share on other sites

You said

"Is there a better way to send copy/paste then Send("{^c}")/Send("{^v}")"

I am saying that instead of sending a Ctrl-C ("^c"), you should use ControlGetText() and then ClipPut() that into the clipboard (or just save to a variable). Then you could use ControlSetText() to set the data.

Did you read my post? I mentioned ControlSend()

Wow, you are rude. I will make an effort to no longer help you.
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...