Author Topic: How to set a Tag from the script?  (Read 2643 times)

Oomek

  • Administrator
  • Sr. Member
  • *****
  • Posts: 311
  • Radek Dutkiewicz
    • View Profile
    • github.com/oomek
How to set a Tag from the script?
« 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?

Oomek

  • Administrator
  • Sr. Member
  • *****
  • Posts: 311
  • Radek Dutkiewicz
    • View Profile
    • github.com/oomek
Re: How to set a Tag from the script?
« Reply #1 on: April 01, 2017, 08:43:08 AM »
Since I'm very impatient person I decided to do it using batch files.

jedione

  • Hero Member
  • *****
  • Posts: 1135
  • punktoe
    • View Profile
Re: How to set a Tag from the script?
« Reply #2 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?
help a friend....

Oomek

  • Administrator
  • Sr. Member
  • *****
  • Posts: 311
  • Radek Dutkiewicz
    • View Profile
    • github.com/oomek
Re: How to set a Tag from the script?
« Reply #3 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")