Jump to content

AutoIt limitation (???) with cut/paste


Lamont
 Share

Recommended Posts

Hello all....need some help/advice please....

Using an AutoIt While loop to cut a cell in an Excel 2007 window then paste into another non-Excel window.....works fine for around 400 cut/paste operations, then stops working....snipet of code below:

;--- Excel window ---

Send("^c") ;copy cell to clipboard

$var = ClipGet()

.

.

.

;--- non_Excel window ---

$var_verify = ClipGet()

If $var_verify <> $var Then

MsgBox(16, "Abort run", "Excel var does not match non-Excel var")

EndIf

Behavior suggests some type of timeout or limit is being reached. I've tried programming into the While loop commands to clear the Excel clipboard, but does have any effect on the outcome.

Any suggestions what might be occurring ???

Thanks,

Lamont

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