Search found 83 matches

by megnatar
15 Oct 2015, 15:26
Forum: Ask For Help
Topic: [Solved] Run script without elevation/admin and launch program that requires elevation/admin
Replies: 14
Views: 26876

Re: Run script without elevation/admin and launch program that requires elevation/admin

No not really true, you can use runas as if it was su or sudo, but you need a password. Unless you're admin blocked the execution of runas as a user... Anyway, you can specify this password in you're script. Once compiled and compressed it will be stored securely in the .exe. See start->run cmd /K r...
by megnatar
15 Oct 2015, 15:02
Forum: Ask For Help
Topic: [Solved] Run script without elevation/admin and launch program that requires elevation/admin
Replies: 14
Views: 26876

Re: Run script without elevation/admin and launch program that requires elevation/admin

To start a program with alleviated privileges using AHK, use code. Run *runas cmd Or the current script: Run *runas "%A_ScriptFullPath%" AHK is very well documented. This code above is explained in the manual It's also possible to create a registry key to accomplish this, This will be the context me...
by megnatar
15 Oct 2015, 14:13
Forum: Ask For Help
Topic: Reload as admin catch stdout in SciTe/IDE
Replies: 0
Views: 698

Reload as admin catch stdout in SciTe/IDE

Hey Folk, I have a question. Like most of you know some scripts need alleviated privileges to function properly. AHK makes use of the the windows shift feature (%*) to run something as admin (Run *RunAs.....). To avoid typing the same code to reload a script over and over again (like most i'm lazy)....

Go to advanced search