Flow-Launcher / Flow.Launcher

:mag: Quick file search & app launcher for Windows with community-made plugins
https://flowlauncher.com
MIT License
8.25k stars 316 forks source link

Browser Bookmarks- Open bookmark in origin browser not system default + patterns to define file=>program associations in Windows #2805

Open jmtornetta opened 5 months ago

jmtornetta commented 5 months ago

TLDR

Would love it if Flow could allow me to open a browser bookmark with the origin browser (Chrome) instead of my default browser (Brave).

Q/A for Feature request

Is your feature request related to a problem? Please describe. Kinda, sorta. But the problem is Windows not Flow :)

Describe the solution you'd like

Browser favorites are opened with the browser of origin versus default system browser.

Describe alternatives you've considered

  1. i've written a custom powershell script for this purpose to hijack the Windows program launch logic but it's not w/o problems (see below)
  2. looked through Flow plugin repo, didn't see anything
  3. asked ChatGPT :). said a custom script needs to be written w/ manual file associations to said script in windows :/

Additional context

Flow makes searching and launching easier. The searching MUCH easier. But the launching is somewhat at the mercy of the OS's default file/program association.

Doesn't seem like Windows has a great way to easily define logic to open different files/links/folders with different programs based on patterns. It's possible with a batch script but that involves OS hijacking like overriding a whole bunch of file type associations manually with a script.

However, this opens up a larger question about if Flow could define a simple "pattern" => "program" association table or file to allow users to override Windows default program launch when there's a pattern (i.e. regexp) match.

This would, imho, fix a big issue with Windows that is not present w/ Linux distros.

Examples:

  1. would love to open google drive docs with organization chrome, instead of brave
  2. open all .ts files in my personal folders with VS Code and others with VS Studio
  3. open video files in a "watch" folder with a player (VLC) and those in an "edit" folder with a video editor.

But, I could definitely be missing something easy. So if anyone has ideas that don't involve abandoning Windows for Linux or doing everything inside of WSL, I'm all ears :)

github-actions[bot] commented 3 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 60 days.\n\nAlternatively this issue can be kept open by adding one of the following labels:\nkeep-fresh

systemmonkey42 commented 2 months ago

I came here for a similar reason.

The chrome bookmark loader will find all bookmarks across all profiles.

When a bookmark is matched to a non-default profile, it is currently launched with the default browser meaning saved cookies/credentials will not work.

Obviously, if the bookmark is found in EDGE, don't launch chrome.

github-actions[bot] commented 4 weeks ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 60 days.\n\nAlternatively this issue can be kept open by adding one of the following labels:\nkeep-fresh