Jump to content
Sign in to follow this  
RaDiVaX

Help with keydown

Recommended Posts

RaDiVaX

Hey! i need a little help here :)

So fast i can =P

MouseMove(317, 796)
Sleep(2000)
MouseClick("left")
Sleep(2000)
Send("{LCTRL}")  --- This should Copy
Send("C")               --- This should Copy
Sleep(2000)
MouseMove(191, 505)
MouseClick("left")
Sleep(1000)
MouseMove(257, 306)
MouseClick("left")
Sleep(1000)
Send("{LCTRL}")   --- This should Paste
Send("V")         --- This should Paste
Sleep(3000)
MouseMove(287, 501)
Sleep(10000)
FileOpen ( "test.exe", 0 )

Anyone got anything that copy.. and paste?

Edited by RaDiVaX

Share this post


Link to post
Share on other sites
RaDiVaX

I'v tested this

Send("{CTRL down}") ;Holds the A key down

Send("{V down}") ;Holds the A key down

Send("{CTRL up}") ;Releases the A key

Send("{V up}") ;Releases the A key

Didnt work :(

lol... i think.. me = little noob :)

Share this post


Link to post
Share on other sites
Valuater

per help

Send("^!a") would send "CTRL+ALT+a".

so.... maybe try

Send("^c") ; to copy

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites
RaDiVaX

It works :DDD I LOVE YOU!!

Btw.. is there any function that removes everything that is in the form?

Edited by RaDiVaX

Share this post


Link to post
Share on other sites
Neoborn

You could lookup send key list or send key in the help file and just send the keys to select all > Ctrl + A and then press the delete key {DELETE}.


~Projects~1. iPod Ejector 1.0 - Tool Used To Eject iPod in Windows - Uses DevEject.exe :P2. SmartFTP Close Popup Tool - Closes reminders from freeware SmartFTP.~Helpful Links For New Users~1. LXP's Learning AutoIT PDF Guide - <<< Go here for a PDF Guide on learning AutoIT from the ground up!<<<2. AutoIt 1-2-3 <<<Want to learn more about AutoIT quickly? Go Here<<<3. How To Install The Beta And Production Versions Of AutoIT / SciteAutoIT

Share this post


Link to post
Share on other sites
Thatsgreat2345

um you probaly want Run("test.exe") not FileOpen ( "test.exe", 0 )

and for like setting the clipboard to nothing

Clipput("")

Edited by thatsgreat2345

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.