StrokesPlus Forum
                       
StrokesPlus Forum
Home | Profile | Register | Active Topics
Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Feature Updates
 Existing Features
 [CHANGED] Admin Mode
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Rob

USA
2604 Posts

Posted - 07/13/2012 :  13:28:16  Show Profile  Visit Rob's Homepage  Reply with Quote
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
2604 Posts

Posted - 07/13/2012 :  13:33:57  Show Profile  Visit Rob's Homepage  Reply with Quote
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).
Go to Top of Page

Rob

USA
2604 Posts

Posted - 07/13/2012 :  13:41:04  Show Profile  Visit Rob's Homepage  Reply with Quote
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.
Go to Top of Page

Rob

USA
2604 Posts

Posted - 01/07/2013 :  15:34:45  Show Profile  Visit Rob's Homepage  Reply with Quote
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)
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
StrokesPlus Forum © 2011-2018 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000