Jump to content

Recommended Posts

Posted

i'm trying to make a script that pastes the contents of the clipboard with ctrl-v into a text box then adds alt-o to finish.

i've tried

WinWaitActive("Registration")

Send("~v")

Sleep(2000)

WinWaitActive("Registration")

Send("!o")

Sleep(2000)

WinWaitClose("Registration")

MsgBox(4096, "AvastPE", "Restart Or Update AvastPE", 5)

but it doesnt work. i usually get the v in the title box.

with using the regular manual keyboard keys ctrl-v it works fine.

what am i doing wrong???

Thanks

Carfan

Posted

Whats wrong with ClipGet() & ClipPut() ?

He's pasting into the application from AutoIt. ClipPut() will only get the data to the clipboard, ClipGet() will only get the data back into AutoIt.

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
×
×
  • Create New...