I'd appreciate your help to elaborate a script syntax based on the condition:
if <curtab> is “search tab”, run command #1
if <curtab> is any other tab, then run #2
I started working on a syntax, but lacks me some commands “???”:
Code: Select all
if (exists(<curtab>) == 1 && gpc(<curtab>, "???") LikeI "???") { #1; }
else { #2; }