Author Topic: Launch Chrome Browser or any EXE  (Read 6858 times)

retrogam3

  • Full Member
  • ***
  • Posts: 93
    • View Profile
Launch Chrome Browser or any EXE
« on: May 14, 2015, 11:18:41 AM »
Any way to launch Chrome Browser (or any browser or EXE for that matter) and still take advantage of hot key closure? That way would not have to exit AM.

retrogam3

  • Full Member
  • ***
  • Posts: 93
    • View Profile
Re: Launch Chrome Browser or any EXE
« Reply #1 on: May 17, 2015, 06:55:54 AM »
Bump

hermine.potter

  • Hero Member
  • *****
  • Posts: 767
    • View Profile
Re: Launch Chrome Browser or any EXE
« Reply #2 on: May 18, 2015, 01:12:40 AM »
After closing browser, AM being closed immediately too, right?!

Use this autoit-script. It kills the task of attract.exe after closing firefox.
Code: [Select]
#include <MsgBoxConstants.au3>

run ('C:\Program Files\Mozilla Firefox\firefox.exe')
;run ('C:\Program Files (x86)\Mozilla Firefox\firefox.exe')

While 1

If ProcessExists("firefox.exe") Then

Else
ProcessClose("attract.exe")
Exit

EndIf

WEnd
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

akafox

  • Hero Member
  • *****
  • Posts: 985
    • View Profile
Re: Launch Chrome Browser or any EXE
« Reply #3 on: May 18, 2015, 09:23:13 AM »
So basically you are wanting to load your browser and then exit that with the esc button like you do with your emulators?. Am I right in guessing that? And you are on windows correct? I've done that before..but it was some years back with mala...let me dig...
People want life easy..then complain about it

michel almeida

  • Jr. Member
  • **
  • Posts: 12
    • View Profile
Re: Launch Chrome Browser or any EXE
« Reply #4 on: May 20, 2015, 05:04:01 AM »
So basically you are wanting to load your browser and then exit that with the esc button like you do with your emulators?. Am I right in guessing that? And you are on windows correct? I've done that before..but it was some years back with mala...let me dig...

@hermine.potter
you sends ingual autoit I

hermine.potter

  • Hero Member
  • *****
  • Posts: 767
    • View Profile
Re: Launch Chrome Browser or any EXE
« Reply #5 on: May 20, 2015, 06:29:55 AM »
@michel almeida
problems?
Use this autoit-script. It kills the task of attract.exe after closing firefox.
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