If the tab was dynamically added from a search you...
# suitescript
a
If the tab was dynamically added from a search you can't modify it with script...