Hi all,
I am hoping to find an answer to this from this group. I have tried different options after reading the man page, but all in vain.
I want to add windows at the last index of my current session. Let us say I have windows at the indices: 1, 2, 7, 8, 12, 13. I want to write a script, which will automatically figure out the last window index and then add a new window after it (14 in this example).
new-window [-adkP] [-c start-directory] [-F format] [-n window-name] [-t target-window] [shell-command]
For "target-window", the man page says that ‘^’ selects the highest numbered window. Accordingly I tried different variations, nothing seem to be working. Any help will be greatly appreciated.
Regards,
Sanish