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
User avatar
Posts: 186
Joined: Tue Oct 02, 2012 2:40 am
Projects: Chasing
Deviantart: bara-ettie
Location: Canada

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
Ren'Py Creator
Posts: 15316
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

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: No registered users