Author Topic: System Menu - Select launch a program  (Read 2287 times)

bionictoothpick

  • Sr. Member
  • ****
  • Posts: 320
  • He who laughs lasts.
    • View Profile
System Menu - Select launch a program
« on: September 26, 2020, 06:25:11 PM »
Is there a way to launch a program from the system menu, rather than load that systems layout?


I want to run PinballY.exe when Pinball is selected as a system.

hermine.potter

  • Hero Member
  • *****
  • Posts: 767
    • View Profile
Re: System Menu - Select launch a program
« Reply #1 on: September 30, 2020, 11:52:16 AM »
not directly, but...

>modify and compile attractmode sourcecode:
like KODI entry in Attractmode RPI Image

or

use enclosed AM-Plugin UtilityMenu (for example : start VLC Media Player):
start AM > press TAB-Key > Plug-ins > UtilityMenu > Enabled : Yes > Set a control Key (for example : U) > Item 1 Menu Text : start VLC > Item 1 Command : "C:\Program Files\VideoLAN\VLC\vlc.exe"

if you press U button, then you can start VLC

or

use .exe as extension and remove unnecessary entries from romlist:
executable           C:\Program Files\VideoLAN\VLC\vlc.exe
rompath              C:\Program Files\VideoLAN\VLC\
romext               .exe
system               Arcade
info_source          thegamesdb.net
exit_hotkey          Escape

edit romlist textfile and remove unnecessary .exe files (your AM_folder\romlists)
AM Version : 2.6.1
Input : Mad Catz Brawlstick; Mouse; Keyboard; Xbox360 Wireless
Cabinet : Yes
OS : Windows10 Pro
System : Dell Precision T3500 ; Intel X5650 ; 12GB RAM

NIVO

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: System Menu - Select launch a program
« Reply #2 on: June 27, 2023, 05:45:05 AM »
I used this same method mentioned here  use enclosed AM-Plugin UtilityMenu (for example : start VLC Media Player):
start AM > press TAB-Key > Plug-ins > UtilityMenu > Enabled : Yes > Set a control Key (for example : U) > Item 1 Menu Text : start VLC > Item 1 Command : "C:\Program Files\VideoLAN\VLC\vlc.exe"

if you press U button, then you can start VLC

in my case H:\Hyperspin Attraction\collections\PinballArcade\PinballArcade11.exe

when i hit U button it asked to load pinball so i have it do that. it starts to load. but screen goes black. And I still hear AM running in the background. I can confirm PinballArcade did load as I saw it in the task manager. Had to ctrl+alt+del as it hangs at black screen with the windows loading circle while still hearing AM in the background. Not sure where to go from here to fix it. Im not a coder so the plugin was the best shot for me. It almost works :) Im so close but am stumped. Any ideas?

***please disregard, I have resolved my issue. USER ERROR lol.***
« Last Edit: June 30, 2023, 08:32:45 PM by NIVO »