Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Shutdown your PC with AllInOneFYC  (Read 2292 times)

0 Members and 1 Guest are viewing this topic.

empardopo

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 526
  • Last login:July 20, 2025, 05:12:51 am
    • My personal forum
Shutdown your PC with AllInOneFYC
« on: September 11, 2013, 12:54:02 pm »
We want shutdown our PC pressing a button of the control panel.

We are going to make a bat file called apagaOrd.bat

Code: [Select]
@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

Code: [Select]
[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