Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

open always a new window (iterm2) with hotkey not working #491

Closed
bforpc opened this issue Feb 10, 2024 · 9 comments
Closed

open always a new window (iterm2) with hotkey not working #491

bforpc opened this issue Feb 10, 2024 · 9 comments

Comments

@bforpc
Copy link

bforpc commented Feb 10, 2024

Hi,

i love this app.
But i need to open iterm2 always a new window and not focus the already opened one.
I had try all options ... Using MacOS Sonoma 14.2.1

Bfo

@zenangst
Copy link
Owner

Hey @bforpc,

Did some digging, how about this:

image

This will open a new window for iTerm when ever I run that shortcut.

@bforpc
Copy link
Author

bforpc commented Feb 12, 2024

Hi,

sorry for that bad question: How do I put it into that field?
If i wrote "New Window with Current Profile" there, then nothing happen.

2024-02-12_08-19

My Shortcat always focus the already opened Window.

Bfo

@zenangst
Copy link
Owner

For it to find the actual UI element "New Window with Current Profile". I'll need to add an invocation for the root element, in this case Shell.

It should look something like this:

image

image

@bforpc
Copy link
Author

bforpc commented Feb 12, 2024

Hi... thank you very much.
After pressing the hotkey, then the already opened window will be focused and after that a new window will be open.
This works... it is a little bit tricky to configure (for the first time), but it works!!!

Again, thanks. I will donate right now a little to your project (and your help)

Bfo

@zenangst
Copy link
Owner

@bforpc yeah it will have to focus the application (which will focus the current window) in order to be able to use the applications menu bar. This is just what the system does by design.

Glad you got it working ❤️

@zenangst
Copy link
Owner

Hey @bforpc, I have an update that I think you'll really enjoy.

Basically, I improved the menubar commands by adding an optional target application.
In your case, you would target iTerm.. then it would activate and run the menu bar command on that specific app. This eliminates the need to use a sequence of commands and it won't focus in the currently open window, just open a new one for you.

I hope this is what you where after.

This is the pull request (has some screenshots attached to it) #498

@zenangst
Copy link
Owner

It will make its way into the next release.

@zenangst
Copy link
Owner

Hey @bforpc, 3.22.1 is out with the latest change to Menu Bar Commands. Enjoy 😎

@bforpc
Copy link
Author

bforpc commented Feb 19, 2024

I have try the new Version with this Settings (see picture)

2024-02-19_12-49

It opens an new windows, but in the same behavior as before.
Only if I on on other Screen, then i jump back ti the scree, where the already opened one is open.
But this is for me usable.

THX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants