Jump to content

Runwait takes cursor focus away


Recommended Posts

I have a small script that I have set to run every 15 minutes via Windows Task Scheduler. It does not invoke any GUI or other interaction, but it simply contains a runwait for node to run a node.js script which manipulates the Google Tasks api.

Whenever it runs, the focus is stolen from whatever I'm doing and the cursor jumps to the top left corner of my monitor. Is there any way to run the node script without this happening?

Link to comment
Share on other sites

There´s a "HIDDEN" option available in task scheduler, have you tried that?

Else try running your script from a .bat file with the /B option...

@Echo Off
start /B yourscript.exe

Or have your script always loaded and ready so it can trigger the tasks with timers itself, without using scheduler.

 

Edited by Werty

Some guy's script + some other guy's script = my script!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...