Attract-Mode Support Forum

Attract-Mode Support => General => Topic started by: retrogam3 on May 14, 2015, 11:18:41 AM

Title: Launch Chrome Browser or any EXE
Post by: retrogam3 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.
Title: Re: Launch Chrome Browser or any EXE
Post by: retrogam3 on May 17, 2015, 06:55:54 AM
Bump
Title: Re: Launch Chrome Browser or any EXE
Post by: hermine.potter 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
Title: Re: Launch Chrome Browser or any EXE
Post by: akafox 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...
Title: Re: Launch Chrome Browser or any EXE
Post by: michel almeida 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
Title: Re: Launch Chrome Browser or any EXE
Post by: hermine.potter 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.