[Macro Scheduler] Tutorial 1 - Basics

08/24/2009 23:17 Flupy#1
Maybe some of you know Macro Scheduler 11. It's a very easy coding language which should be understandable for everyone.
[Only registered and activated users can see links. Click Here To Register...]

Let's start with some basics. After opening Macro Scheduler 11 you can press "New" to start a new file. As you recognized, there is nothing included when you open a new file. So you have to edit all by yourself but it isn't as hard as it looks.

Here are the basic functions:

MouseMove>100,450
Moves the mouse to X 100, and Y 450. The left upper is X 0 and Y 0. You can see your current mouse coordinates in the upside.

LClick
Makes a left click (with your mouse)

RClick
Makes a right click (with your mouse)

wait>3
Waits 3 seconds

MessageModal>Hello World
Gives out a message and the script continues if you press "OK"

Label>Begin
This is a spot in your script which is called "Begin".

Goto>Begin
The script switches to the Label "Begin"

Let>a=a+1
Sets the variable "a" to "a + 1"
To use a variable you have to write %a% for the variable a

If>%a%=2
Goto>Begin
Else
MessageModal>%a%
Endif

If the variable a is 2, the script goes to the Label "Begin". If not it will write the variable "a" and continues when you press "OK"

Run Program>c:\my programs\eudora\eudora.exe
Runs the programm which you've chosen.

Ask>Do you want to continue?,answer
You've get asked if you want to continue. If you press "YES" the variable "answer" will be set to "YES" and if you press "NO" the variable "answer" will be set to "NO".

Exit
Closes the script

If you have red everything until here you should understand this code:

Code:
Ask>Do you want to continue?,answer
If>%answer%=YES
Goto>Continue
Else
Exit
Endif
Label>Continue
MessageModal>OK
Exit
I will write another tutorial with reg editing, image recognization, saving data to an ini file and more if some people need it.

If you have some questions, feel free to write your question in here ;)


Flupy
09/03/2009 07:11 stepdaddy#2
Im ready!..not too hard to follow so far. await the next tut..
09/03/2009 18:35 Flupy#3
As i said.

Quote:
It's a very easy coding language which should be understandable for everyone.
The next tutorial will follow soon.
09/21/2009 03:47 soadmania#4
LoL autoit can inject dll. can that do? ^^