LarsV Posted February 7 Share Posted February 7 Hi, i have a little script on our ERP Software that copy & paste data in a mask. With the key CTRL-SHIFT-C i can copy the values at the fields to the clipoard and with CTRL-SHIFT-V i can paste these field values in an emtpy mask to copy the hole values of a mask into an emtpy mask. I did a littel script that copy the values into clipboard, empty the mask and paste the values from the clipboard into the empty mask. Send("{CTRLDOWN} {SHIFTDOWN} c") Sleep(50) Send("{F4}") Sleep(50) Send("{CTRLDOWN} {SHIFTDOWN} v") i compile the script and execute the EXE file over klicking a button on the mask. The script works fine, but it s look like that the EXE locks the mask for several seconds for any new key stroke and i didn't know why. First i think cause the sleep cmd , but i delete every sleep command and have the same issue. so i need some help about? kindly regards, Lars Link to comment Share on other sites More sharing options...
LarsV Posted February 7 Author Share Posted February 7 i find out that the programm didn't look the for serverly seconds, its been look as long as you switch to andother programm, and switch back. Link to comment Share on other sites More sharing options...
Zedna Posted February 7 Share Posted February 7 (edited) Try Send("^+c") ... Send("^+v") Edited February 7 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
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