syu
New Member
Posts: 6
|
Post by syu on Oct 12, 2020 12:44:54 GMT
I am trying to run a macro within a game that's on windowed mode. I record the action as expected, and stop by clicking the stop button (because im connecting through remote desktop, the F8 and F10 doesn't work, but the mini macro is within the remote computer so it should be counted as local).
After I am done, I want to have the action repeated every 70 minutes. The action is kind of complex, and i recorded 7k lines for it (mouse option ticked). They play back as expected when it's an immediate loop. But I am trying to have it repeat every 70 minutes so I used the Add Condition at the very last, Run Action, Wait 70 minutes. It makes sense that it's waiting and it should loop when the last line is done, but it isn't. I am using mini mouse macro pro.
I verified that the last line of waiting is completed by looking at the code lines, they finished the course, but they just don't loop. I tried waiting in seconds, also no dice.
There are logging in and off the remote computer, but that computer has a proper monitor and mouse and everything so I assumed as long as the mini mouse macro is locally run there, i shouldn't encounter any issue.
Any ideas what I might've done wrong?
|
|
|
Post by Steve on Oct 17, 2020 21:48:27 GMT
Hi syu I don't think that your connection through remote desktop should be a contributing factor to this failing. You say your macro is complex with 7K lines. Have you tried a simple loop test just to confirm your syntax is ok? Check the 'loop' checkbox and run this: 1 | X | X | 500 | Mouse Movement 2 | X | X | 500 | Mouse Movement 3 | X | X | 500 | Mouse Movement 4 | X | X | 500 | Mouse Movement 5 | RUN ACTION | WAIT SECONDS | 5 This should loop fine with no errors. If this works through your remote desktop then i'd say the problem might sit somewhere with your 7K macro. Have you tried an alternative to loop? Do not check the 'loop' checkbox and instead use a GOTO statement: 1 | X | X | 500 | Mouse Movement 2 | X | X | 500 | Mouse Movement 3 | X | X | 500 | Mouse Movement 4 | X | X | 500 | Mouse Movement 5 | RUN ACTION | WAIT SECONDS | 5 6 | RUN ACTION | GOTO MACRO LINE | 1 GOTO conditions only work if your macro is sorted correctly (right click 'relist rows'). GOTO reads the line numbers at the beginning of each line. Give these a try. Let me know how you go. I'd be interested to see if the problem is somehow related to the remote desktop session. Regards, Steve.
|
|
|
Post by philranger on Oct 23, 2020 13:49:25 GMT
Could it be that the remote computer goes to screen saver or logs off during those 70 minutes? If so, maybe just moving the mouse every 5 minutes would do the trick.
|
|
syu
New Member
Posts: 6
|
Post by syu on Jun 19, 2021 4:15:38 GMT
Hi, sorry it is a very late reply. I found a solution and forgot about this thread. Basically I just kill the Mini Mouse Macro at the end of the macro and instead of trying to loop every 70 minutes, I just schedule the task in task scheduler to start a new instance every 70 minutes. That works perfectly.
Regarding the F7 or F8 not working, that's just the shortcoming of the program i'm trying to automate. No shortcut works as long as that window is in focus. Thanks though, for the possible solutions offered. I hope this thread can help anyone who stumbled upon it while googling.
|
|
|
Post by philranger on Jun 19, 2021 14:01:02 GMT
Hello Syu,
Thank you very much for coming back with a working solution for all of us. The more we know, the better we can help.
Have a great day!
|
|