I had asked them to tell how to stop/pause it in the context of a hotkey as I did not exactly understand it but they never responded. So could anyone do it in the context of a hotkey?Via net or sc executables:
sc stop SERVICE
sc start SERVICE
net stop SERVICE
net start SERVICE
There are more methods tho, but this are the easiest.
searX: start/stop Windows services
That you'll need to invoke via Run(docs) command from AHK:
Run sc.exe stop SERVICE,, Hide
An example hotkey could be this
Code: Select all
#^c::
;pause the service
Send, ^c
;unpause the service