Simon User Guide
New/Edit ServiceService KindVariables
This is the list of variables. Variables are markers in the text that are replaced by another value when the service is used. The variable name should not contain any spaces, and should be enclosed by braces, e.g. {TestChangeText}. They are used by the Script service plug-in, and will be available for relevant future plug-ins too.
Variable: | Outputs: |
AppDataPath | Full path to Simon's data folder (useful for scripts). |
AppLanguage | Language currently used by Simon, based on the the available localizations. |
AppName | Name of the application, i.e. "Simon". |
AppRelease | Release number of the Simon version being used. |
AppURL | URL of the Simon product page. |
AppVersion | Version number of the Simon release being used. |
CheckDate | Date that the test was checked, in the form YYYY-MM-DD. |
CheckDateShort | Date that the test was checked, in the form YYYYMMDD. |
CheckTime | Time that the test was checked, in the form HH:MM:SS. |
CheckTimeShort | Time that the test was checked, in the form HHMMSS. |
ServiceName | Name of the service for the test. |
ServiceKind | Name of the service plug-in. |
TestChangeCount | Number of times the test has changed; starts at 1 for a change, and increments for each subsequent consecutive change. Resets when a change occurs after a failure or no change. |
TestChangeDifferenceWithHTML | The difference between the previous time Simon saw the page and this time, via the Smart Change Detection feature; HTML tags are included. |
TestChangeDifferenceWithoutHTML | The difference between the previous time Simon saw the page and this time, via the Smart Change Detection feature; HTML tags are stripped out. |
TestChangeText | The source of the page (or script output) between the Smart Change Detection start and end text, used to detect changes. |
TestFailureCount | Number of times the test has had errors; starts at 1 for a new failure, and increments for each subsequent consecutive error. Resets when the the next failure occurs after being in success. |
TestLastChangeDate | Date that the test most recently changed - today if a change just occurred. |
TestLastChangeTime | Time of day that the test most recently changed - now if a change just occurred. |
TestLastCheckDate | Date when the test was last checked. |
TestLastCheckTime | Time of day when the test was last checked. |
TestLastError | The previous error message that occurred. |
TestLastEventDate | Date when a change, failure, or recovery last occurred. |
TestLastEventTime | Time of day when a change, failure, or recovery last occurred. |
TestLastFailureDate | Date that the test most recently failed. |
TestLastFailureTime | Time of day that the test most recently failed. |
TestLastRecoveryDate | Date that the test last recovered from a failure. |
TestLastRecoveryTime | Time that the test last recovered from a failure. |
TestName | Name of the test that is using this service. |
TestNextCheckDate | Date when the test is next scheduled to be checked. |
TestNextCheckTime | Time of day when the test is next scheduled to be checked. |
TestPassword | Password entered in the Security section of the New / Edit Test window. |
TestRecoveryCount | Number of times a check succeeded after a failure; starts at 1 when first recovering, and increments for each subsequent successful check. Resets when the next recovery after a failure occurs. |
TestStatusExact | Status of the test, including an indication of how long it has been in that state. |
TestStatusPhrase | Status of the test as a phrase, e.g. just failed, recently recovered, etc. |
TestStatusType | Status of the test, e.g. Failure, Recovery, Change, Unchanged, etc. |
TestURL | URL for the test that is using this service. |
TestUsername | Username entered in the Security section of the New / Edit Test window. |
UserComputer | Name of the computer running Simon, as entered in the System Preferences. |
UserName | Name of the person logged in on the computer running Simon. |
Return to the Script service plug-in page
Return to the Service Kind page
Return to the New / Edit Service window page
Go to the User Guide Contents
Return to the main Simon page