{"action":"created","issue":{"url":"https://api.github.com/repos/TomAnthony/itermocil/issues/5","labels_url":"https://api.github.com/repos/TomAnthony/itermocil/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/TomAnthony/itermocil/issues/5/comments","events_url":"https://api.github.com/repos/TomAnthony/itermocil/issues/5/events","html_url":"https://github.com/TomAnthony/itermocil/issues/5","id":101205189,"number":5,"title":"Feature request: tabs","user":{"login":"ze-phyr-us","id":4436927,"avatar_url":"https://avatars.githubusercontent.com/u/4436927?v=3","gravatar_id":"","url":"https://api.github.com/users/ze-phyr-us","html_url":"https://github.com/ze-phyr-us","followers_url":"https://api.github.com/users/ze-phyr-us/followers","following_url":"https://api.github.com/users/ze-phyr-us/following{/other_user}","gists_url":"https://api.github.com/users/ze-phyr-us/gists{/gist_id}","starred_url":"https://api.github.com/users/ze-phyr-us/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ze-phyr-us/subscriptions","organizations_url":"https://api.github.com/users/ze-phyr-us/orgs","repos_url":"https://api.github.com/users/ze-phyr-us/repos","events_url":"https://api.github.com/users/ze-phyr-us/events{/privacy}","received_events_url":"https://api.github.com/users/ze-phyr-us/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-15T19:58:25Z","updated_at":"2015-08-16T21:52:08Z","closed_at":null,"body":"Hey, this looks like a great script! I tend run commands in multiple tabs rather than panes. Do you think tab manipulation could be added to itermocil? I think it would be a good addition as you already have all that AppleScript machinery in place. \r\n\r\nThe layout file could perhaps look like\r\n\r\n```yaml\r\nwindows:\r\n  - name: blah\r\n    tabs:\r\n      - root: ~\r\n        layout: even-horizontal\r\n        panes:\r\n          - echo \"pane 1\"\r\n          - echo \"pane 2\"\r\n```"},"comment":{"url":"https://api.github.com/repos/TomAnthony/itermocil/issues/comments/131630499","html_url":"https://github.com/TomAnthony/itermocil/issues/5#issuecomment-131630499","issue_url":"https://api.github.com/repos/TomAnthony/itermocil/issues/5","id":131630499,"user":{"login":"TomAnthony","id":966003,"avatar_url":"https://avatars.githubusercontent.com/u/966003?v=3","gravatar_id":"","url":"https://api.github.com/users/TomAnthony","html_url":"https://github.com/TomAnthony","followers_url":"https://api.github.com/users/TomAnthony/followers","following_url":"https://api.github.com/users/TomAnthony/following{/other_user}","gists_url":"https://api.github.com/users/TomAnthony/gists{/gist_id}","starred_url":"https://api.github.com/users/TomAnthony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomAnthony/subscriptions","organizations_url":"https://api.github.com/users/TomAnthony/orgs","repos_url":"https://api.github.com/users/TomAnthony/repos","events_url":"https://api.github.com/users/TomAnthony/events{/privacy}","received_events_url":"https://api.github.com/users/TomAnthony/received_events","type":"User","site_admin":false},"created_at":"2015-08-16T21:52:08Z","updated_at":"2015-08-16T21:52:08Z","body":"@ze-phyr-us I'm leaving this open for now, as I have an idea of how to improve the timing. At the moment I wait for an arbitrary amount of time (that I got from testing) for a new tab/pane to open. However, I think I could actually use Applescript to count the panes on loop until the pane appears and then fill it in.\r\n\r\nI'll keep you updated. If you can share your YAML (or just tell me how many windows and how many panes) then it might help me replicate the problem so I can test this. Thanks! :)\r\n\r\nAlso - regarding your suggestion for windows, tabs and panes... that is a great idea. I am working on extending so rather than just using the teamocil format I also support tmuxinator, but will also be adding my own format (which will include options for badge/tab colour etc. in iTerm) and so will definitely ensure that has windows, tabs and panes. :)"}}