Answer the question
In order to leave comments, you need to log in
A program that can run an external program on a laptop when the light is turned off (we switch to batteries)?
tell me a program that on a laptop when the light is turned off (we switch to batteries) can run an external program,
for example, to send an SMS to the owner about the fact that the light was turned off in the house
Answer the question
In order to leave comments, you need to log in
Task Scheduler - very simple - when you change the meal plan - execute the program. Why third-party software is needed for this is unclear.
xStarter has a start mode "by event", where you can select the type of event - NT event, Windows Event, and filter by message type and text. If you look in the Event Log and find atm power loss records, then you can use them to catch this event and perform any action in xStarter, fortunately, the scheduler is very powerful.
Em. Windows 7? Why not use regular funds? Task Scheduler for example?
On Linux, you can get by with a bash script that would hang in the background, check the battery status periodically and send SMS in the event of a power outage.
msdn.microsoft.com/en-us/library/aa394362%28VS.85%29.aspx
superuser.com/questions/121045/is-there-a-way-to-execute-a-program-on-power-events
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question