Hi, how can I start a program from the icon-bar as administrator?
I'm not sure, but perhaps this is what you are looking for: [url]How to create a button for "run as"?]
Christiaan, thank you for the answer! What I need would be a mode to run the program as Administrator OR normally, for example:
-
Clicking the button would run the program normally
-
Clicking the button while holding down the CTRL key would run the program as Administrator.
Is this possible?
Happy holidays!
You can do that using the @keydown modifier.
It's described in the Command Control Codes page of the manual, near the end (and near the bottom of the page itself).
Some extra info:
When you don't want to type in your password, you could try a freeware utility called RunitAs. Similar to the Windows RunAs function,
but with more features. RunitAs runs an executable using the specified credential (domain, user and password) from a limited or guest account.
Download link
You could create a button in DOpus with shortcuts, for example: C:\WINDOWS\system32\RunItAs.exe "C:\notepad.rau"
(RunitAs stores all the shortcut settings in a .rau file)