isometry / alfred-tty Goto Github PK
View Code? Open in Web Editor NEWAlfred Workflow to quickly switch between or close iTerm windows, tabs and panes based on title and tty
License: MIT License
Alfred Workflow to quickly switch between or close iTerm windows, tabs and panes based on title and tty
License: MIT License
As per the description, attempts to close a non-foreground tab hosting a single pane/session will result in the foreground tab in the same window being closed instead.
Tracked upstream at iterm2/6029
Not really sure why that happens but pressing on the result does nothing.
I get this error when running it and selecting some result :
[2017-09-11 23:33:42][ERROR: action.script] /Users/nikivi/alfred/Alfred.alfredpreferences/workflows/user.workflow.E3DFF5F0-0F9C-4174-952D-FB2804EAA834/action-tty.js:1:36: script error: Error on line 2: SyntaxError: Unexpected token '='. Expected a ')' or a ',' after a parameter declaration. (-2700)
Link says it's going to deanishe/alfred-ssh, it goes to deanish/alfred-ssh
Hi,
I'm using iTerm2 3.1.beta.9 but when I try to select a tab using the new tty workflow it just freezes up iTerm2 altogether. I'm not able to select any tab, and I'm not able to type in the tab that is open.
I'd be happy to help debug if I can get you some more information to help.
Brad
Interesting project! Did you get to try it on macOS Catalina yet?
I want to make a hotkey that would open the second tab of iTerm when activated.
I tried to transfer the main part of the code like so :
function run(args)
{
var iterm = Application(getenv("iterm_application", "com.googlecode.iterm2"));
var win = iterm.windows[0];
var tab = win.tabs[2];
var ses = tab.sessions[0];
tab.select()
}
Also I call this JXA from Keyboard Maestro like so :
I am quite new to JXA but I am kind of confused by this.
Thank you for any help.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.