Posts: 1
Threads: 1
Joined: Oct 2013
Hello, i am using quick macros first time.
I make macro for myself but i want that macro run again and again.. How can i do that? I click run, it run one times and finish. I want it forever.
Sorry for bad English,
Posts: 97
Threads: 25
Joined: Jan 2013
Hello there and welcome!
You can do it like this:
Function
teste
rep
, ---- Start code here ----
,out "something"
, ---- End code here ----
,wait 1 ;; wait one second until run macro again
Or if you know how many times you want to run it, you can use a for cycle:
Function
teste
int i
for i 0 10
, --- Start code here ---
,out "something"
, --- End code here ---
This code for example, runs the code 10 times.
Imagine that you want to run a macro that is on other file, you can do it like this:
Function
teste
Or if you want to run it a certain ammount of times:
Function
teste
Like this, it will run 10 times