Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Windows logon script, run macro (exe) when pc fully booted
#1
In my logon script I have a shortcut to macro (converted to .exe) and as soon as I logon that .exe is executed.

The line that runs the macro.exe is in the logon script looks like this
Code:
Copy      Help
.
.
START "" "F:\PortableApps\macro.exe"
.
.

It is a line within a batch file (.bat) that runs as soon the user logs on.
I created a shortcut from that batchfile to the "startup" folder (also reachable through 'START-menu')
C:\Users\*USERNAME*\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

My question

I want something in the code of the macro that first waits when windows is fully loaded.
Or at least when all systray items are loaded/present.

Code:
Copy      Help
...[ code that waits on pc to be fully loaded]
or
...[ code that waits on all systray items to be loaded]

...[actual macro code]

Is it possible to do this in QM, I have no idea what process/item QM could 'wait' for that indicates a fully booted pc.
It doesn't have to be exact at "fully booted" state maybe there is an trigger I could "wait" for that signals that the pc almost fully booted?
(as an example I gave: wait for all systray items rendered?)

Is this possible?


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)