playMaker

Author Topic: Start an external .EXE application, or use the command prompt  (Read 558 times)

AndroYD

  • Playmaker Newbie
  • *
  • Posts: 9
    • View Profile
Start an external .EXE application, or use the command prompt
« on: August 05, 2018, 06:54:25 PM »
Hello PlayMakers,
I was surprised that such a common request wasn't available in the Ecosystem Browser, in the Unity forums this has been answered multiple times, but nothing that works out of the box with Playmaker.
Can anyone please make a Playmaker Action for it?
I need to run an external program from it (ie. "C:\Windows\System32\calc.exe"), even better if you can define command line arguments (ie. "Unity.exe -force-opengl")
Any help is much appreciated, thanks!

Ateam

  • Full Member
  • ***
  • Posts: 114
    • View Profile
Re: Start an external .EXE application, or use the command prompt
« Reply #1 on: August 05, 2018, 09:09:09 PM »
Hi I made this, it work but you need to do some things.

-The action run the Run.bat, you need to copy that bat inside the data folder in your game folder.

-Edit the Run.bat and add your application path, and them you can add some line arguments.
« Last Edit: August 05, 2018, 11:38:54 PM by Ateam »

AndroYD

  • Playmaker Newbie
  • *
  • Posts: 9
    • View Profile
Re: Start an external .EXE application, or use the command prompt
« Reply #2 on: August 05, 2018, 09:11:35 PM »
Wow, that was so fast! :O
Thanks so much for making this, I'm going to test it now!