We want shutdown our PC pressing a button of the control panel.
We are going to make a bat file called
apagaOrd.bat@echo off
shutdown -s -t 0
When we lanch this bat file our PC shutdown. Now, we put that bat file in the same directory of AllInOneFYC.
We set the ini file of
AllInOneFYC so that well
[LanzarProceso]
ActivarLanzarProceso=SI
TeclaEjecucion1=10joy1
TeclaEjecucion2=
ProcesoALanzar=apagaOrd.bat
ProcesoALanzar2=
PausaLanzar=1000
PausaAntesMatarPLanzado=3000
ProcesoALanzarAlFinal=
DetectarSegundosPulsacionLanzarProceso=3000
When we launch AllInOneFYC, if we press 1joy10 then the apagaOrd.bat file will be run.
But what happens if you hit the button 10 by mistake? Setting the value of the variable DetectarSegundosPulsacionLanzarProceso you'll have to press that button for 3 seconds to launch the bat file.
You can change that bat file to launch any program.
Greetings!
By Empardopo.Note: Sorry for my bad english
Original post in spanish