Author |
Topic |
|
Rob
USA
2615 Posts |
Posted - 07/13/2012 : 13:28:16
|
Changed in 2.2.1:
By default, StrokesPlus no longer requires Administrator privileges. For most uses, this is acceptable. However, there are some unexpected behaviors that you may run into. For example, S+ will not be able to control other programs running with elevated privileges, and there may be a couple actions which will not work due the underlying calls to Windows requiring Administrator privileges. If you prefer to run S+ with elevated privileges, you may right-click the StrokesPlus.exe file and select Properties -> Compatibility -> Run this program as an administrator. However, S+ cannot be started automatically with Windows if it opens with Administrator privileges.
Honestly, I haven't tested every single action/feature, but things seem to mostly work fine, so no reason to force Admin privileges. |
|
Rob
USA
2615 Posts |
Posted - 07/13/2012 : 13:33:57
|
Note that I believe Windows will redirect the reading/writing of StrokesPlus.xml to somewhere under the C:\Users\Username\AppData\... folder if you're not running with admin privileges (since Program Files is a protected folder...if you're running it from the Program Files folder). |
|
|
Rob
USA
2615 Posts |
Posted - 07/13/2012 : 13:41:04
|
Specifically, for Windows 7, your StrokesPlus.lua and StrokesPlus.xml file will be saved here:
C:\Users\USERNAME\AppData\Local\VirtualStore\Program Files\StrokesPlus
Again, only if you're running WITHOUT admin privileges and from the Program Files folder. |
|
|
Rob
USA
2615 Posts |
Posted - 01/07/2013 : 15:34:45
|
If you run the latest signed S+ release under Program Files, S+ is granted trusted privileges and you do not need to run S+ as Admin to interact with Windows 8 screens and other applications which are running as admin.
Although, it appears S+ cannot invoke (run) programs which require elevated privileges (like Task Manager by trying to run taskmgr.exe directly.
To start a program which requires elevation, you will need to use the "runas" verb via acShellExecute:
acShellExecute("runas", "c:\\windows\\system32\\taskmgr.exe", "", "", 1) |
|
|
|
Topic |
|
|
|