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

Safari URL in new window shortcut like with finder #199

Open
kjaymiller opened this issue Feb 6, 2022 · 4 comments
Open

Safari URL in new window shortcut like with finder #199

kjaymiller opened this issue Feb 6, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@kjaymiller
Copy link

kjaymiller commented Feb 6, 2022

Could the functionality add for finder for new windows be implemented in Safari (also Chrome/Firefox but not sure about complexity there)

Opening Finder Tabs
There’s a special syntax that currently only applies to Finder. If you want multiple folders to open in tabs, list the first folder on a normal file line, then the other folders that should open in the same window with -> preceding them:

Finder
- ~/Desktop
-> ~/Documents
-> ~/Pictures

So Perhaps

Safari
- https://brettterpstra.com
-> https://bunchapp.co
-> https://github.com/ttscoff/bunch

Could open the other two windows in a new browser window.

@ttscoff
Copy link
Owner

ttscoff commented Feb 8, 2022 via email

@kjaymiller
Copy link
Author

kjaymiller commented Feb 8, 2022

Perhaps there is a smarter way to do this then.

ATM my work around is this

  Safari
  - https://brettterpstra.com
  - {@n @l "https://bunchapp.co"}
  - {@n @l "https://github.com/ttscoff/bunch"}

@ttscoff
Copy link
Owner

ttscoff commented Feb 10, 2022 via email

@nickwild-999
Copy link

nickwild-999 commented Mar 21, 2022

@ttscoff I would love this.

Also don't want to hijack this (and I can create another issue if needed) but...

I have been trying the same way as @kjaymiller (and tried other methods too) but it seems to ignore my request to use Safari ( which is not my default browser) and use Chrome (which is) but then only takes the first url. I have tried with and without pauses.

Is this an issue or user error ( i had previous tried my own commands with no joy, but now just tried Kjay's which also does not work)

EDIT: Just changed my default browser to Safari and it now works ( although I do need to include the command return after the url.

EDIT EDIT: I have now change the bunch code to the following which works with Chrome as the default browser - but it would still be nice to have a better syntax as originally suggested.

Safari
- {@l "https://brettterpstra.com"}
- {@n @l "https://bunchapp.co" return}
- {@n @l "https://github.com/ttscoff/bunch" return}

@ttscoff ttscoff added the enhancement New feature or request label May 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants