|
Post by Chris on Aug 30, 2021 14:24:57 GMT
Hi all: The macro shown below use to work properly until 8/13 when it began to malfunction after line 9 (keypress ENTER). I do not know what could have changed to on my computer to cause this to start failing except for Windows updates being installed. This macro is run in a virtual machine, but there have been no updates to the vm host either. Any suggestions on what could have caused this to fail?
47 | 775 | 420 | 200 | Keypress Alt+ | s
48 | 775 | 420 | 200 | Keypress Alt+ | a
49 | 775 | 420 | 20 | Keypress t
50 | 775 | 420 | 20 | Keypress r
50 | 775 | 420 | 20 | Keypress a
50 | 775 | 420 | 20 | Keypress n
77 | 775 | 420 | 2000 | Keypress Alt+ | a
78 | 775 | 420 | 200 | Keypress Alt+ | o
81 | 775 | 420 | 200 | Keypress ENTER
42 | 775 | 420 | 300 | Right Click
46 | 775 | 420 | 300 | Keypress Ctrl+ | END
|
|
|
Post by Steve on Aug 30, 2021 22:00:46 GMT
Hi Chris,
What do you mean exactly when you say 'it began to malfunction'? Did you get an error or did the macro play and not do what you expected?
|
|
|
Post by Chris on Aug 31, 2021 19:41:47 GMT
By "malfunction", I mean that this macro worked for well over a year, but then about 1 week ago it simply broke after the 9th step. If I break the macro into 2 pieces, the first being steps 1-9 and the second being steps 10 and 11, both work. I have no idea what could have changed to cause this to occur, the application I run it on is the same, the PC/VM I run it on are the same, no new software has been installed. The only change, which I just can't see doing anything, is the IPs have changed over the past month or so, but this change does not coincide with the start the issue.
|
|
|
Post by Steve on Aug 31, 2021 21:52:49 GMT
Are you running the latest version? If not update to the latest version. MMM has an internal event logger. If the MMM event logger is not enabled, enable it and have a look at the output it produces. It will give us an indication on what the issue is.
Does MMM work for you outside of this application? Run this test:
Open a notepad and position the text editor at 1000 X mouse and 1000 Y mouse so line 1 works to click into the notepad. MMM will then type out HelloWorld, the enter key for new line, and HelloWorld.
1 | 1000 | 1000 | 1000 | Left Click 2 | X | X | 20 | Keypress H 3 | X | X | 20 | Keypress e 4 | X | X | 20 | Keypress l 5 | X | X | 20 | Keypress l 6 | X | X | 20 | Keypress o 7 | X | X | 20 | Keypress World 8 | X | X | 200 | Keypress ENTER 9 | X | X | 20 | Keypress H 10 | X | X | 20 | Keypress e 11 | X | X | 20 | Keypress l 12 | X | X | 20 | Keypress l 13 | X | X | 20 | Keypress o 14 | X | X | 20 | Keypress World
This test will tell us if something has changed within the application your running MMM in. If this works and your sample does not then we can assume that something may have changed within the virtual machine that is causing the issue.
|
|
|
Post by philranger on Sept 1, 2021 12:36:02 GMT
Hello
Maybe worth trying, maybe not.
Whenever I have a macro that stops working, I change the delays to 3000 ms for a few steps before and after where I think it is broken. Our IT guys have a tendency ro randomly “improve our experience”, so delays have to be increased. This allows me to see what happens at each step so I can fix the right one.
|
|