ssborbis / ContextSearch-web-ext

Search engine manager for modern browsers
330 stars 37 forks source link

Need more External Applications command syntax #500

Closed 7peanuts closed 2 years ago

7peanuts commented 2 years ago

https://github.com/ssborbis/ContextSearch-Native-App/issues/2

As in the issue, I made a simple mistake because I didn't understand the syntax of these commands 😅

ssborbis commented 2 years ago

Sorry I didn't see the other post. It's been a long time since anyone opened an issue for the native app. I'll continue there.

ssborbis commented 2 years ago

On second thought, it makes more sense to answer it here.

I don't think mspaint can handle URLs. In that case, you'll need to write a script to download the image and open mspaint, and then call that script from this addon.

ssborbis commented 2 years ago

If you have something like curl installed, you can use a command like this

curl "{searchTerms}" -o tmp & mspaint tmp

curl downloads the URL to a file called tmp then opens tmp in mspaint

I think curl may part of Windows 10 anyway, so you might not need to download anything else.

7peanuts commented 2 years ago

How to open magnet link, this is not work. Normally, after copying the link, the BitComet automatically creates a new BitTorrent task.

BitComet_x64.exe "{searchTerms}"

20220709102352

ssborbis commented 2 years ago

Doesn't clicking a magnet link automatically open it in BitComet? What's the point of going through this addon?

ssborbis commented 2 years ago

FYI you have to use --url to download magnet links. I got that from bitcomet --help

BitComet_x64.exe --url "{searchTerms}" bitcomet_help

7peanuts commented 2 years ago

Doesn't clicking a magnet link automatically open it in BitComet? What's the point of going through this addon?

Thank you, because I also installed other BT download software 😊

ssborbis commented 2 years ago

Thank you, because I also installed other BT download software

That's what I figured, but I wanted to double-check.