Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
repeat
#1
Lets say my macro is opening a notepad.

i have rep 5 on top of this so it's going to repeat this 5 times.
after this i have a function x which does something else.


if i turn on the macro now, it will run the whole macro 5 times including the function 5 times.
i just want it to repeat the first portion 5 times then after thats done kick out to function x which does something else.

Can u help me?
#2
your function is insid the rep command.
do it like this.

Code:
Copy      Help
rep 5
,macro commands
function
#3
i dont want the function to be inside the macro command. I want the macro command to be repeated 5 times, then proceed to the orders in my user defined functions.

Rep 5
macro commands,
myfunction <--- i want the macro to only access this after it repeats the macro commands 5 x times.
#4
correct, but that's what you have now. your function is getting repeated with every iteration. set it up like a showed you and it wont be repeated.


Forum Jump:


Users browsing this thread: 1 Guest(s)