Replies: 2 comments 7 replies
-
Your example works properly for me, but Finder tabs basically just uses
AppleScript to create tabs with Accessibility scripting, so there's a
lot that could go wrong.
The most likely culprit is a lack of accessibility permissions. Bunch
should have requested them when it needed them, but just to be sure
they're available, open System Preferences -> Security and Privacy ->
Accessibility and ensure that Bunch.app is in the list and has a
checkmark. Let me know if that helps.
…-Brett
On 29 Jun 2021, at 13:06, Mario Zimmermann wrote:
bunch is great, thank you for that!
I want to open Finder with multiple tabs. According to the
documentation I tried to use the -> syntax, but this does not work.
This is my simle bunch file to test:
```
% Finder
- XX
- ~/Desktop
-> ~/Documents
```
So this should first close all Finder windows, open Finder with the
`~/Desktop` folder and open a new tab with the `~/Documents` folder.
But this does nothing, no Finder window comes up.
When I change
`-> ~/Documents`
to
`- ~/Documents`
it opens Finder with two separate windows which is correct.
Is this a bug or am I doing something wrong?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#88
|
Beta Was this translation helpful? Give feedback.
2 replies
-
Ah, yeah, that's going to get more complicated than I'll have time to
look into until the weekend. I could probably safely refer to that menu
by its index in the menu bar, but I'll need to do some testing.
…-Brett
On 29 Jun 2021, at 15:24, Mario Zimmermann wrote:
ah, I found the following in the logs:
```
2021-06-29 22:21:08: 🔴[test] {
NSAppleScriptErrorAppName = "System Events";
NSAppleScriptErrorBriefMessage = "Can\U2019t get menu bar item
\"File\" of menu bar 1 of application process \"Finder\".";
NSAppleScriptErrorMessage = "System Events got an error:
Can\U2019t get menu bar item \"File\" of menu bar 1 of application
process \"Finder\".";
NSAppleScriptErrorNumber = "-1728";
NSAppleScriptErrorRange = "NSRange: {0, 0}";
}
```
I'm running the german locale, the menu bar item "File" is called
"Ablage" in german.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#88 (reply in thread)
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
bunch is great, thank you for that!
I want to open Finder with multiple tabs. According to the documentation I tried to use the -> syntax, but this does not work.
This is my simle bunch file to test:
So this should first close all Finder windows, open Finder with the
~/Desktop
folder and open a new tab with the~/Documents
folder.But this does nothing, no Finder window comes up.
When I change
-> ~/Documents
to
- ~/Documents
it opens Finder with two separate windows which is correct.
Is this a bug or am I doing something wrong?
Beta Was this translation helpful? Give feedback.
All reactions