Skizmata Posted October 24, 2007 Posted October 24, 2007 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.
DW1 Posted October 24, 2007 Posted October 24, 2007 Yes use controlsend and to set the text of the clipboard see ClipGet() or ClipPut() AutoIt3 Online Help
Skizmata Posted October 26, 2007 Author Posted October 26, 2007 Did you read my post? I mentioned ControlSend() and have no question about ClipGet() or ClipPut(). This response confuses me. AutoIt changed my life.
Nevin Posted October 26, 2007 Posted October 26, 2007 Sort of confused me, too. I'm not sure how Clip functions would be used. Anyhow, your problem is that it sometimes sends the letter, right? Try using {CTRLDOWN} then C, then {CTRLUP}?
Vipyre Posted October 26, 2007 Posted October 26, 2007 I'm a newb but Have you tried: Send("^c") Send("^v")
DW1 Posted October 26, 2007 Posted October 26, 2007 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. AutoIt3 Online Help
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now