Specifications
DescriptionProperty
The argument string passed to the application when there is a
pre-existing property set to be edited, after substituting all occurrences
of %1 and %2 as described below
Arguments for edit
Substitutions in argument strings
The following substitutions are performed in the specified argument strings:
Replaced byPlaceholder
The file path for the property set:%1
• If it points to an existing file, the external application should load
this file and replace it by the updated property set (the “edit”
argument string is used)
• If the path does not point to a file, the external application should
place the newly created property set at this path (the “new”
argument string is used)
The locale currently in use by Switch specified as a four-letter string
consisting of the two-letter ISO 639 language code (lowercase), followed
by the two-letter ISO 3166 country code (uppercase); example: “enUS”
%2
External application behavior
The external application must open the property set specified on its command line (or create a
new default property set) and display a main window and/or a dialog box. After the user saves
or cancels the changes, the application must exit with an appropriate exit code as follows:
Switch actionMeaningExit code
Use the newly created or updated
property set
Changes to the property set were
successfully saved
Zero
Discard any changesThe user cancelled the operation or an
error occurred
Nonzero
366
Enfocus Switch 10