${!current_tab_number} returns undefined

When I try to use this internal variable to determine where the leftmost tab is, it returns, undefined.

  "Command": "echo",
  "Target": "${!current_tab_number}",
  "Value": "",
  "Description": ""

Hi, do you have a test macro for us? I tried in V8.3.6 and get “0” with a single tab open.

get tab ID

I got it to work. I had to refresh the page. Then it gave me the number. Thank you!

1 Like