condition:Script
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| condition:Script [2017/09/06 04:03] – peternlewis | condition:Script [2021/10/18 08:52] (current) – peternlewis | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| * a Swift script. | * a Swift script. | ||
| * a JavaScript for Automation (JXA) script. | * a JavaScript for Automation (JXA) script. | ||
| + | * a JavaScript in Front Browser script (v9.0+). | ||
| + | |||
| + | For text AppleScript or JavaScript, press `Enter` to format the script (v10.0+). | ||
| You can test the result of executing the script: | You can test the result of executing the script: | ||
| Line 15: | Line 18: | ||
| * returns not text. (v8+) | * returns not text. (v8+) | ||
| * returns some text. (v8+) | * returns some text. (v8+) | ||
| - | * returns text that is exactly a specified string. | + | * returns text that is exactly |
| - | * returns text that is not exactly a specified string. | + | * returns text that is not exactly |
| - | * returns text that is contains a specified string. | + | * returns text that contains |
| - | * returns text that is does not contain a specified string. | + | * returns text that does not contain |
| * returns text that starts with (case insensitively) a specified string. (v8+) | * returns text that starts with (case insensitively) a specified string. (v8+) | ||
| * returns text that ends with (case insensitively) a specified string. (v8+) | * returns text that ends with (case insensitively) a specified string. (v8+) | ||
| Line 35: | Line 38: | ||
| ===== See Also ===== | ===== See Also ===== | ||
| - | |||
| - | ---- | ||
| === Actions === | === Actions === | ||
| * [[action:If Then Else|If Then Else]] | * [[action:If Then Else|If Then Else]] | ||
| - | * [[action:Pause|Pause Until Conditions Met]] | + | * [[action:Pause_Until|Pause Until Conditions Met]] |
| * [[action: | * [[action: | ||
| * [[: | * [[: | ||
| Line 48: | Line 49: | ||
| * [[: | * [[: | ||
| - | |||
| - | ---- | ||
| - | |||
condition/Script.1504670589.txt.gz · Last modified: by peternlewis
