Runs an arbitrary AppleScript snippet in the context of the selected browser.
Parameters
Section titled “Parameters”Browser
Section titled “Browser”The browser to work with.
Selecting "frontmost browser" will only work if the application currently in the foreground is a supported browser.
Type: Browser
AppleScript
Section titled “AppleScript”The script to execute. It will be run inside a tell application … block.
You can set the variable RETURN_VALUE to your return value, and as long as it can be JSON-encoded, it'll be returned as such. Examples:
set RETURN_VALUE to {"a", "list", "of", "strings"}set RETURN_VALUE to 123
If RETURN_VALUE isn't set, an empty list is returned.
Type: Text
Return Value
Section titled “Return Value”Text
Related Links
Section titled “Related Links”- Search the Browser Actions community forum for "Run AppleScript"
Short Video Explainer
Section titled “Short Video Explainer”"Run AppleScript" video explainer: