23-06-2023, 11:11 AM
Hi Nev,
to kill off the digital software before hand, you can use the utility built into windows called TASKKILL
as an example on my PC where I am writing this I had the outlook mail program running (outlook.exe), from a CMD prompt I issued
taskkill /IM outlook.exe /F
This killed outlook for me, not in the most gracious manner but it exited and then when I started it again manually it was no worse for the experience. What I am thinking is that you could create some building blocks to do what you need and glue it together in a small BATCH file that task scheduler will run for you.
here is an example (untried as yet) I will test during the weekend
--- Batch file start ---
@echo off
rem kill off wsjt-x in case its running
taskkill /IM wsjt-x.exe /F
rem kill off JTDX in case that's running
taskkill /IM jtdx.exe /F
rem turn off the icon 7600
C:\Python27\python.exe C:\ham_radio\IC-7600\icom-power-off-com3.py
rem shutdown after a 15 sec wait
shutdown /S /T 15
--- Batch file End ---
to kill off the digital software before hand, you can use the utility built into windows called TASKKILL
as an example on my PC where I am writing this I had the outlook mail program running (outlook.exe), from a CMD prompt I issued
taskkill /IM outlook.exe /F
This killed outlook for me, not in the most gracious manner but it exited and then when I started it again manually it was no worse for the experience. What I am thinking is that you could create some building blocks to do what you need and glue it together in a small BATCH file that task scheduler will run for you.
here is an example (untried as yet) I will test during the weekend
--- Batch file start ---
@echo off
rem kill off wsjt-x in case its running
taskkill /IM wsjt-x.exe /F
rem kill off JTDX in case that's running
taskkill /IM jtdx.exe /F
rem turn off the icon 7600
C:\Python27\python.exe C:\ham_radio\IC-7600\icom-power-off-com3.py
rem shutdown after a 15 sec wait
shutdown /S /T 15
--- Batch file End ---
Peter Sumner, vk5pj
You have enemies? Good. That means you've stood up for something, sometime in your life.
- Winston Churchill
You have enemies? Good. That means you've stood up for something, sometime in your life.
- Winston Churchill