luckman212 Posted September 2, 2022 Share Posted September 2, 2022 I'm not sure where to post this so I'll start here. I'm using @vitor's custom iTerm script with Alfred 5.0.2.2073 and iTerm 3.4.16 on macOS 12.5.1 [21G83] I noticed that if iTerm is not already running, any Terminal command action will fail and hang Alfred with a spinning beachball (I captured 2 spindumps of this just a few minutes ago in case you want me to send them in). I've tried adjusting the delay value as suggested elsewhere but that did not make a difference. I understand this could be an iTerm or AppleScript bug, just wondering if anyone else has encountered it. Link to comment Share on other sites More sharing options...
luckman212 Posted September 2, 2022 Author Share Posted September 2, 2022 I know why this is happening. My iTerm settings are configured to launch iTerm without opening a new window by default. Because I want iTerm always running so I have it in my Login Items so it just launches and waits until I need it. But, the script doesn't account for this, so it launches iTerm and just waits forever for a window to appear (which never does...). I think I can adjust the script myself to account for this, I'll post a PR @vitor once I have it in case you want to incorporate the changes. Link to comment Share on other sites More sharing options...
luckman212 Posted September 2, 2022 Author Share Posted September 2, 2022 (edited) @vitor I pushed a test fix, see https://github.com/vitorgalvao/custom-alfred-iterm-scripts/pull/64 with the new version, setting property iterm_opens_quietly : true works for me. I would love someone else to test & confirm. Edited September 2, 2022 by luckman212 Link to comment Share on other sites More sharing options...
vitor Posted September 2, 2022 Share Posted September 2, 2022 Fixed in 2022.2. Thank you for the PR, @luckman212! luckman212 1 Link to comment Share on other sites More sharing options...
luckman212 Posted September 2, 2022 Author Share Posted September 2, 2022 Awesome. Thank you for the quick update too! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now