Terminal: Window group with commands
Hi, how can I set up a Terminal window group that executes a different command for each window?
What I'm trying to do is restore an array of Terminal instances each pointing to a different location when Terminal opens (so one window should execute "cd x," the next "cd x/src," etc.).
With Tiger I could create a .term file and set an "ExecutionString" (that's how commands were labeled in the .term file format) property for each window, but with SL I'm only able to create one shell command in Preferences|Settings that is executed by all Terminal windows in the group.
So basically, how can I get Terminal to remember a group of windows and their associated file system locations?
I've spent a few hours searching and trying stuff without success. The window groups are stored in Terminal's .plist file so I opened it with Property List Editor and see the Window Groups stored in there but no properties resembling a command for each group.
Thanks!
What I'm trying to do is restore an array of Terminal instances each pointing to a different location when Terminal opens (so one window should execute "cd x," the next "cd x/src," etc.).
With Tiger I could create a .term file and set an "ExecutionString" (that's how commands were labeled in the .term file format) property for each window, but with SL I'm only able to create one shell command in Preferences|Settings that is executed by all Terminal windows in the group.
So basically, how can I get Terminal to remember a group of windows and their associated file system locations?
I've spent a few hours searching and trying stuff without success. The window groups are stored in Terminal's .plist file so I opened it with Property List Editor and see the Window Groups stored in there but no properties resembling a command for each group.
Thanks!
MBP, Mac OS X (10.6), non