Jump to content

Recommended Posts

Posted

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

Posted

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.

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