- Joined
- Aug 14, 2014
- Messages
- 35
- Reaction score
- 0
- Primarily Uses
I want to be able to run a script and have Windows' "Allow this program to make changes?" thing pop up. Like this:

My findings thus far:
* It's called "UAC," or "User Account Control." It's triggered by a program wanting to run as administrator — so that's what I need to make happen.
* Ruby does indeed have the ability, but it uses "win32ole," which isn't included in RGSS. The former is shown here: https://stackoverflow.com/questions/8268154/run-ruby-script-in-elevated-mode/27954953 and the latter is shown here: https://forums.rpgmakerweb.com/inde...uby-does-the-following-idea-make-sense.21574/
* If I'm not mistaken, I could do
* I could also switch to MV (although I've never used it before) if being able to work with JavaScript instead of rgss would solve the problem. But right now, I'm stumped.

My findings thus far:
* It's called "UAC," or "User Account Control." It's triggered by a program wanting to run as administrator — so that's what I need to make happen.
* Ruby does indeed have the ability, but it uses "win32ole," which isn't included in RGSS. The former is shown here: https://stackoverflow.com/questions/8268154/run-ruby-script-in-elevated-mode/27954953 and the latter is shown here: https://forums.rpgmakerweb.com/inde...uby-does-the-following-idea-make-sense.21574/
* If I'm not mistaken, I could do
system(<something>, cmd.exe
, and run a batch file that gets the job done. I assume there's a batch script in existence that would do what I want, but even if there were, I'm worried about it getting intercepted by security. I also don't want a CMD window visible in the background, although I'd be willing to sacrifice that if the rest of it could be made to work. * I could also switch to MV (although I've never used it before) if being able to work with JavaScript instead of rgss would solve the problem. But right now, I'm stumped.