So loving the mac. Gives me the best of all worlds. I get my *nix geekiness as well as direct access to mainstream software. Have hit upon the one big black eye, applescript. So in the process of writing my autologin handler for devices for work in python, I have come upon the need to be able to spawn new tabs in a the terminal window that was executing the original script. Now you would think, hey, this will be cake! In linux, not to bad, I just use a shell script to id the active window, and then spawn the tabs calling back to the python application to launch the correct sessions in the new tabs. But on the mac you have to use applescript to have Terminal.app spawn the new tabs according to all the research I have done so far. I have gotten the script to correctly read in the arguments and spawn a tab for each of these. But then ran into a roadblock. If you are using vanilla terminal, you can use the argument of frontmost window, but since the addon Visor provides so much that terminal needs, I have it installed. For some reason, this disables the use of the frontmost property. So I am struggling for a way to id the window that the original script was executed in so that I may spawn the tabs in that window… Currently tinkering with the script as follows: Trying to correlate the window # to….