Scripts / For the GGeniuses of lua: calling an exe is possible?

Author
Message
warlock12
7
Years of Service
User Offline
Joined: 12th Sep 2016
Location: Argentina
Posted: 3rd Nov 2017 21:31
Question: Can a lua script call an external exe and execute it ???
From lua, you can ... but no idea if inside the GG it is possible ...
The game is a serious thing (El juego es una cosa seria)
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 3rd Nov 2017 21:50
yes
os.execute("file path and name")
i'm not sure where exactly it starts reading from though so not sure if there's somewhere specific you need to place your file or if you would need to work out the exact drive letter etc in advance
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
warlock12
7
Years of Service
User Offline
Joined: 12th Sep 2016
Location: Argentina
Posted: 3rd Nov 2017 22:26
And speaking of lua geniuses! Great small !!! Now at least I know where to start! Thank you so much!!! A big hug!!!
Seeing you here must be a great joy for many ... you are a great help! I would like to see some of your work in AGK !!! I have seen that you are working with him ...
The game is a serious thing (El juego es una cosa seria)
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 3rd Nov 2017 23:17 Edited at: 3rd Nov 2017 23:19
I'm usually here but I don't really use GG anymore, just pop up to read the progress and offer advice if possible

As for AGK, my latest game can be found here (if you have an android)
Its just a simple gambling type game and it's not finished yet so lacks polish but its working and fun if you want to waste a few mins.

(Most of my larger projects are not allowed to be shared due to copyright issues, I do those only for fun :p )
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11

Login to post a reply

Server time is: 2024-04-20 03:39:00
Your offset time is: 2024-04-20 03:39:00