I would like to do the following thing:
Click on a script or executable and automatically open 4 Terminal Windows. Each Terminal window should open a command like: “ssh server.com tail -f /var/log/log.txt”.
The command for each window will be different.
All 4 windows should be tiled on the desktop, so I can watch them simultaniously.
I tried to do it with automator or a Terminal script, however I didn’t find a good solution.
How would you do something like that? Which tool would you use?
You’ll want to use AppleScript. This’ll get you started:
(You’ll have to play with the window moving part, but that’s the basic idea of how you do it.)