orbs Posted September 18, 2016 Share Posted September 18, 2016 hi all, here's me probably missing the obvious again... as i develop my script, i usually run it as regular user (as a safety measure against myself) and when i want to test live i run it as admin. currently i'm using #RequireAdmin, but i keep commenting it in and out, which is quite cumbersome. how can i run my script with elevated rights directly from SciTE? is there a SciTE tool or a keyboard shortcut for that? thanks for any insight. Signature - my forum contributions: Spoiler UDF: LFN - support for long file names (over 260 characters) InputImpose - impose valid characters in an input control TimeConvert - convert UTC to/from local time and/or reformat the string representation AMF - accept multiple files from Windows Explorer context menu DateDuration - literal description of the difference between given dates Apps: Touch - set the "modified" timestamp of a file to current time Show For Files - tray menu to show/hide files extensions, hidden & system files, and selection checkboxes SPDiff - Single-Pane Text Diff Link to comment Share on other sites More sharing options...
trancexx Posted September 18, 2016 Share Posted September 18, 2016 Run SciTE as admin. Then run script as you normally would through it. ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
orbs Posted September 18, 2016 Author Share Posted September 18, 2016 thanks, but that is even more complicated than commenting in and out the #RequireAdmin line... or are you suggesting to run two instances of SciTE simultaneously, one normal and one with elevated rights, with the same script loaded in both? Signature - my forum contributions: Spoiler UDF: LFN - support for long file names (over 260 characters) InputImpose - impose valid characters in an input control TimeConvert - convert UTC to/from local time and/or reformat the string representation AMF - accept multiple files from Windows Explorer context menu DateDuration - literal description of the difference between given dates Apps: Touch - set the "modified" timestamp of a file to current time Show For Files - tray menu to show/hide files extensions, hidden & system files, and selection checkboxes SPDiff - Single-Pane Text Diff Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now