Attract-Mode Support Forum

Attract-Mode Support => Scripting => Topic started by: Oomek on April 01, 2017, 07:35:07 AM

Title: How to set a Tag from the script?
Post by: Oomek on April 01, 2017, 07:35:07 AM
I constructed my own overlay for setting a games tag, but I'm stuck at actually adding/removing a Tag value for a selected game.
Does anyone know how to do it?
Title: Re: How to set a Tag from the script?
Post by: Oomek on April 01, 2017, 08:43:08 AM
Since I'm very impatient person I decided to do it using batch files.
Title: Re: How to set a Tag from the script?
Post by: jedione on April 01, 2017, 09:18:08 AM
i don't have an answer for you..
but wanted to ask you ,,how do you run a batch file from AM in script?
Title: Re: How to set a Tag from the script?
Post by: Oomek on April 01, 2017, 09:22:05 AM
The same way as every other exe file
Code: [Select]
fe.plugin_command_bg( @"c:\yourbatchfile.bat", "your arguments")