Attract-Mode Support Forum

Attract-Mode Support => Scripting => Topic started by: qqplayer on April 17, 2017, 06:57:10 AM

Title: Launch "pdf-reader" from layout.nut
Post by: qqplayer on April 17, 2017, 06:57:10 AM
Anyone can create a custom function to launch an external software , like a pdf reader by pressing "custom_1" key from AM¿?

I was thinking that could be awesome read game instruccions before launch a game.
But the thing is I won´t like to add this with a .batch command.
Just launch the pdf and close when you read weathever you want without exit AM or launch the game if you don´t want to.
Title: Re: Launch "pdf-reader" from layout.nut
Post by: MisterNewbie on April 25, 2017, 08:31:46 AM
You and I want to do the EXACT same thing.

Optimally, I'd like to have a second script that detects the presence of a PDF and either shows/hides a little "manual available" (thinking a booklet) icon over the theme as you scroll through the romset.  Launch manual (PDF Reader app) with 'm' hotkey (or whatever), default action is run game.
Title: Re: Launch "pdf-reader" from layout.nut
Post by: qqplayer on April 29, 2017, 12:06:11 PM
This is exactly what I want.


http://www.aumap.org/foromarciano/foro/thread/83/38/08338_1.html

https://www.youtube.com/watch?v=764rnYekUT8