Sets the current user interface profile.
0 |
String |
Profile Name |
The name of the user interface profile. |
1 |
File Path or Embedded File |
Profile File Name (Optional) |
The path to a saved user interface profile in any directory. |
None.
SUCCESS |
The profile was set successfully. |
FAILURE |
The specified profile was not found. |
When using the optional path designation both the path to the file and the profile name must be set. This name will also be used to create a template file that will be associated with this name.
For example, if you have a profile anywhere on an accessible drive, say “C:\Analyzer Data\abcxyz.saprofile” (or any other name) and import it using the MP function with a profile name of “My New Profile”, a new file will be created (if it does not already exist named “C:\Analyzer Data\Templates\My New Profile.saprofile” and “My New Profile” will be retained in the registry as the current user profile. This way, the next time SA comes up, it will come up with “My New Profile” which must access the “C:\Analyzer Data\Templates\My New Profile.saprofile” file in order to be instantiated – the original file location is not referenced any longer.