External Commands

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
XxrenxX
Regular
Posts: 167
Joined: Tue Oct 02, 2012 2:40 am
Projects: Chasing
IRC Nick: Ren
Location: Canada
Contact:

External Commands

#1 Post by XxrenxX » Fri Jun 22, 2018 3:09 am

Is it possible to run a command based file from my computer through Renpy? such as a .vbs

For instance we would define the file as a command or action, and when inputted into the script that command would run the file when called.

I hope this makes sense.

User avatar
PyTom
Ren'Py Creator
Posts: 15152
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: External Commands

#2 Post by PyTom » Mon Jun 25, 2018 6:17 pm

Yes, look at the Python subprocess module.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: mikolajspy