Search found 5 matches

by Hunkel
Wed Oct 07, 2015 8:14 pm
Forum: Technical / Scripting
Topic: Macro stops working after GoSub is executed
Replies: 15
Views: 12202

Re: Macro stops working after GoSub is executed

I do have a image finder named fight it might be that GetScreenRes>sX,sY ScreenCapture>0,0,sX,sY,C:\Programs\Macro Scheduler 11\scre\screen.bmp FindImagePos>C:\Programs\Macro Scheduler 11\pictures\fight.bmp,C:\Programs\Macro Scheduler 11\scre\screen.bmp,60,1,XPos,YPos,fight MouseMove>XPos_0,YPos_0
by Hunkel
Wed Oct 07, 2015 4:25 pm
Forum: Technical / Scripting
Topic: Macro stops working after GoSub is executed
Replies: 15
Views: 12202

Re: Macro stops working after GoSub is executed

Ok i just added number 1 to my GoSub name and changed it from srt>fight to srt>fight1 and is working now. Could be bug due to short name or lacking a number in it.
by Hunkel
Wed Oct 07, 2015 3:40 pm
Forum: Technical / Scripting
Topic: Macro stops working after GoSub is executed
Replies: 15
Views: 12202

Re: Macro stops working after GoSub is executed

Mine first GoSub code gets executed and is working properly. Problem starts after my first GoSub code ends, my macro then stops and is not executing any more code.

I changed wait 10 to wait>10 to see if i will get any difference but it doesn't make no difference i still have the same problem.
by Hunkel
Wed Oct 07, 2015 3:22 pm
Forum: Technical / Scripting
Topic: Macro stops working after GoSub is executed
Replies: 15
Views: 12202

Re: Macro stops working after GoSub is executed

I am using Macro Scheduler 11 maybe i need to upgrade it. These are mine GoSubs executors Let>a=0 Repeat>a Let>a=a+1 // 1 MouseMove>280,1900 wait 5 LClick wait 1 MouseMove>130,1800 wait 2 LClick wait 2 GoSub>fight wait 1 // 2 MouseMove>280,1900 wait 5 LClick wait 1 MouseMove>340,1800 wait 2 LClick w...
by Hunkel
Wed Oct 07, 2015 3:10 pm
Forum: Technical / Scripting
Topic: Macro stops working after GoSub is executed
Replies: 15
Views: 12202

Macro stops working after GoSub is executed

I am using windows 7 . Every time i run my macro it works well until it reaches part where it goes GoSub, after GoSub part of code is executed the macro stops working as if someone clicked stop, and the rest of my code doesn't get executed. Is that some kind of bug ? I was running code with GoSub in...
Sign up to our newsletter for free automation tips, tricks & discounts