You can enable the Reflection Desktop .NET API, and specify corresponding settings.
To set up API and macro and security
From the Reflection File menu or the Reflection button (if using the Office 2007 Look and Feel), select Reflection Workspace Settings.
Under Trust Center, click Set Up API and Macro Security.
Configure the API settings as follows:
To |
Select |
---|---|
Prevent custom applications from accessing this installation. |
Disable .Net API |
Determine if Reflection legacy macros are supported, and determine which legacy API has preference for the GetObject() method used to retrieve API COM objects. (Reflection supports multiple APIs, but can accept GetObject() calls for only one type of legacy API object at a time.) |
Legacy API preference |
Under Action Permissions, specify what you want to happen if an action that has been restricted through Group Policy or the Permissions Manager is initiated through a macro or API call.
To |
Select |
---|---|
On a computer running Windows 10, Windows 8, or Windows 7, select to control restricted actions with User Account Control (UAC). |
Require elevated rights |
Select to run restricted actions that are initiated through a macro or API call as expected. The same actions won't run if they are initiated through the user interface. |
Execute the action |
To “lock down” these settings, see Control Access to “Lock Down” Settings and Controls.
To package this file for deployment, see Package Configuration Files.
NOTE:These settings are saved in the Application.settings file. You can deploy this file to one of the following locations:
Location for a single user: [AppDataFolder] The full path of the Roaming folder for the current user. The default is C:\Users\username\AppData\Roaming\. \Micro Focus\Reflection\Desktop\v17.0
Location for all users: [CommonAppDataFolder] The full path to application data for all users. The default is C:\ProgramData. \Micro Focus\Reflection\Desktop\v17.0