SecureCRT's script API doesn't yet have a native GetTabByName() method.
However, you can get a reference to each existing tab by index, and then iterate over all existing tabs looking for the desired tab by name/caption/title (Caption).
These example scripts show you how. A Python example as well as a VBScript example are provided below.
Each example has a function GetTabByName() that takes as an argument a string that is considered case-sensitive ("My Tab Name" is not the same as "my tab name" because of case). The example also includes a GetTabByNameCI() function showing how to achieve case-insensitive matching.
Here you can control cookies using the checkboxes below. Some cookies are essential for the use of our website and cannot be disabled. Others provide a convenience to the user and, if disabled, may reduce the ease of use of our site. Finally, some cookies provide anonymous analytic tracking data that help us provide the user with a richer browsing experience. You can elect to disable these cookies as well.