Run when idle for x minutes......

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1348
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Run when idle for x minutes......

Post by Dorian (MJT support) » Sat Nov 16, 2002 6:57 am

Am I going mad, or did there used to be somethign allowing a macro to run when the PC is idle for x minutes? If so, is it still there? I can't seem to find it.

aquatech
Site Admin
Posts: 8
Joined: Fri Sep 20, 2002 12:23 am
Location: Australia
Contact:

Post by aquatech » Sat Nov 16, 2002 11:28 am

I think it might (unfortunately) be the former :wink:

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Sat Nov 16, 2002 11:36 am

Maybe you're not going mad after all. There's a script in the archive which will do this based on user inactivity/activity:

http://www.mjtnet.com/scripts.hts?display+73
MJT Net Support
[email protected]

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1348
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Post by Dorian (MJT support) » Sat Nov 16, 2002 7:02 pm

Aaah! Maybe that's what I was thinking of. I wonder how that would work in an executable? That begs the question....

If an exe macro is set to run after, say, 10 minutes, of no mouse activity, i presume we run the exe, it will monitor in the background, and when the mouse isn't moved for 10 mins it will jump into action.. but.... what if we laucnh the exe and then change our mind, and want to stop the exe running? will SHIFT + ESC work like it does with a regular macro and MS on my machine?

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Sat Nov 16, 2002 7:37 pm

SHIFT-ESC will stop the EXE just as it would a script. So if you run the EXE and change your mind, press SHIFT-ESC.

Or, the EXE still sticks an icon in the system tray, so you can force an exit from there too.
MJT Net Support
[email protected]

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1348
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Post by Dorian (MJT support) » Sat Nov 16, 2002 9:06 pm

Ah, that's excellent! Thank you.

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts