Can a Macro Process a Web Page in the Background?

OK, it looks like KM always brings the Browser to the front when using any of the Browser window actions. So we will have to use AppleScript.

Here's TEST script that works fo me. It leaves Chrome in the background with a new tab as its Active Tab, ready for a JavaScript in Browser Action.
Original script was developed by Chris @ccstone.

Below is just an example written in response to your request. You will need to use as an example and/or change to meet your workflow automation needs.

Please let us know if it meets your needs.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

MACRO:   Open Chrome Tab in Background @TEST

-~~~ VER: 1.0    2021-05-19 ~~~
Requires: KM 8.2.4+   macOS 10.11 (El Capitan)+
(Macro was written & tested using KM 9.0+ on macOS 10.14.5 (Mojave))

DOWNLOAD Macro File:

Open Chrome Tab in Background @TEST.kmmacros
Note: This Macro was uploaded in a DISABLED state. You must enable before it can be triggered.


3 Likes