chromeTabCount
Returns how many tabs the front window of Google Chrome has.
Keyboard Maestro: CHROMETABCOUNT
Details #
chromeTabCount() takes no arguments and returns a number: the count of tabs in the front window of Google Chrome.
Parameters #
Takes 0 arguments.
{{ chromeTabCount() }}
Examples #
chromeTabCount()→
0Gotchas #
Needs Automation permission for the browser (System Settings, Privacy & Security, Automation). Without it, or when the browser isn't running, the answer is 0.
Only the front window is counted, not every window.