Sign in to follow this  
Followers 0
carfan

having trouble pasting from clipboard

7 posts in this topic

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

Share this post


Link to post
Share on other sites



it's ^ not ~

Share this post


Link to post
Share on other sites

it's ^ not ~

whoops

Share this post


Link to post
Share on other sites
Tilde we meet again!

Share this post


Link to post
Share on other sites

Whats wrong with ClipGet() & ClipPut() ?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Send(Clipget())

y/n?

Share this post


Link to post
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
Sign in to follow this  
Followers 0