Jump to content

Help for automating some process...


Guest YawAKooL
 Share

Recommended Posts

Guest YawAKooL

Hello!

I'm totally new to any programming language, AutoIt! is my first one.

I want to do the following:

First wait 5 seconds.

Then press and hold down LCTRL for 5 seconds.

Press and hold down LEFT for 3 seconds.

Press and hold down LCTRL for 5 seconds.

Wait 2 seconds and then...

Press and hold down LCTRL for 5 seconds.

THen again LEFT for 3 seconds.

This for 10 minutes, then...

Press DEL 4 times for 300ms each.

Then again begin with the first command (LCTRL for 5 sec).

And that in an infinite loop, until I press "ESC" to stop it.

I think thats a good beginning to learn all important to me options. But im stuck, I just can't figure some things out. Thats what I have by now:

Opt("SendKeyDownDelay", 1)

Opt("SendKeyDelay", 500)

Sleep(5000)

Send ("{LCTRL down}")

Sleep(5000)

Send ("{LCTRL up}")

But that already doesn't work! It just presses LCTRL 1 time and stops. Please help! I'm frustrated!

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