Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Non stop loop
#1
Hello there , I'm not sure if this thread belongs in this category so I apologize as I am new here.
I read the categories and I couldn't seem to find Q/A section so here I am.

I have a question about this Quick macro application.

I have a script here
Quote:int w1=act(win("World of Warcraft Model Viewer v0.7.0.3 Windows 32-bit" "wxWindowClassNR"))
lef 22 37 w1
lef 172 208 win("" "#32768")
lef 85 74 win("" "#32768")
int w2=wait(5 win("Export Model..." "#32770"))
lef 424 438 w2
5 win("Finished Exporting" "#32770")
'Y
act w1
'D
lef 24 42 w1
lef 128 205 win("" "#32768")
lef 94 79 win("" "#32768")
int w3=wait(5 win("Export Model..." "#32770"))
lef 438 442 w3
int w4=wait(5 win("Finished Exporting" "#32770"))
lef 131 132 w4

And I want to make the entire script loops nonstop or plays itself nonstop or lets just say keep the script going until i force stop it. I need to get this to work for my project so I can reverse models in ease and do it while AFK.

Anyone here can help me ?
Thank you in advance and this is a very nice application.
#2
put the whole thing in a 'rep' statement.

Macro Macro
Code:
Copy      Help
rep
,int w1=act(win("World of Warcraft Model Viewer v0.7.0.3 Windows 32-bit" "wxWindowClassNR"))
,lef 22 37 w1
,lef 172 208 win("" "#32768")
,lef 85 74 win("" "#32768")
,int w2=wait(5 win("Export Model..." "#32770"))
,lef 424 438 w2
,;etc. etc.
An old blog on QM coding and automation.

The Macro Hook
#3
ken gray Wrote:put the whole thing in a 'rep' statement.

Macro Macro
Code:
Copy      Help
rep
,int w1=act(win("World of Warcraft Model Viewer v0.7.0.3 Windows 32-bit" "wxWindowClassNR"))
,lef 22 37 w1
,lef 172 208 win("" "#32768")
,lef 85 74 win("" "#32768")
,int w2=wait(5 win("Export Model..." "#32770"))
,lef 424 438 w2
,;etc. etc.

Yes.
I figured it out myself and that's exactly what I did. Thank you


Forum Jump:


Users browsing this thread: 1 Guest(s)