Skip to content
Browser Actions icon Home Browser Actions 2024.0.3 › Actions

Browser Actions › Actions › Run AppleScript (β)

Runs an arbitrary AppleScript snippet in the context of the selected browser.

Parameters

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

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

Text