UrlChecker icon indicating copy to clipboard operation
UrlChecker copied to clipboard

Allow automations to open specific apps for specific URLs

Open Glazed opened this issue 9 months ago • 3 comments

Describe a related problem (optional)

No response

Describe your suggested feature

This would be useful in a number of situations:

  1. I want YouTube links to be auto cleaned and then opened in the YouTube app.
  2. An app might use a browser for authentication, and need a chrome-based one, while I prefer to use a Firefox fork for normal browsing.
  3. Any other example where known URLs should open in specific apps, like Steam links. I don't need URLCheck to show its UI. I just want Steam to open

And then all non-automated links should open in the URLCheck UI, of course.

Right now, the "open" command just opens links in the top-most app with no way to open a specific app. At least not that I can see.

I'm not sure how to configure the JSON to clean a URL before opening it. It's not clear to me what the key:value pair should be even after reading the help info when editing the automation configuration. If someone could let me know in the comments, that'd be great. Is it just "clean": true?

Describe alternatives you've considered for your suggested feature

No response

Other details

No response

Acknowledgements

  • [x] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
  • [x] I have written a short but informative title.
  • [x] I will fill out all of the requested information in this form.

Glazed avatar Mar 15 '25 01:03 Glazed

Allowing to specify the app you want a link to open is planned, but still not ready and only the top-most app is available.

For clearing, the automation is broken and does nothing (next version will remove it). If you want to automatically clean urls you need to enable the automatic option on that module itself (I would like to move that to automations, but I will need to change the core logic so I don't know when)

TrianguloY avatar Mar 16 '25 10:03 TrianguloY

"I want YouTube links to be auto cleaned and then opened in the YouTube app."

I was just about to open a feature request for this. Would be very useful.

"I'm not sure how to configure the JSON to clean a URL before opening it."

Modules -> drop down the options for "URL Cleaner" -> enable "Auto-apply"

Final-Phoenix avatar Mar 17 '25 07:03 Final-Phoenix

Thanks! I didn't realize the normal auto-cleaning would apply to automations. I do have that enabled.

Glazed avatar Mar 23 '25 06:03 Glazed