How To Pause Until System Wake

Hi There,

I have a macro that at one point puts the system to sleep, that I want to then resume whenever the system wakes.

So far I've tried:

  • Pause until pixel at 0,0 is brighter than pitch black. This worked a couple times out of the 10-or-so I tested it. Also tried a variation in which it was a pause until any of several screen coordinates were brighter than pitch black– strangely this version didn't work at all.

  • Pause until the screen contains Screen in all screens. This worked for a few tries but stopped after 4 or 5, not sure why.

I tried looking into Environment Variables, but didn't understand what I was looking at enough to make heads or tails of it.

Any ideas?

Cheers

I don't think this is possible as you describe it.

I believe the only way to accomplish this task is to use a Wake-Trigger and set up your macro such that it can restart at a given point given a resume variable value.

Or – perhaps you could have one or more control macros and run sub-macros.

I think you can probably get the job done, but you'll have to think outside the box.

1 Like