O
O
oldTV2020-06-04 19:16:10
Automation
oldTV, 2020-06-04 19:16:10

How to open a selection on a page in Google Chrome using an external program?

Periodically, from the pages of CRM or Ticket systems, you need to open the address in an external (for the browser) program. For example, open cmd and ping the site, or pass the address to a bat file and open it with ffmpeg. Usually, for this purpose, you have to copy the address, then open an external program, paste the address.

Are there any extensions for GC that, depending on the content on the page, open the desired program and pass the address or url there?

There is something similar for search engines: the Selection Search extension or some similar ones, this is when a selection on a page can be transferred to search engines. Option with some link: like file://, magnet://,ip://not very suitable, because for the same address, there can be different tasks: ping, transferring the address to the stream, etc., and on the page, the address can usually be written without such a link.

I would like to have the ability to configure for several different programs, or bat files with different purposes.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
azarij, 2020-06-04
@oldTV

I did this to myself on autohotkey. they have this thing called radial menu.
learning-one.comli.com/radial-menu
selected the text, held the right mouse button a little longer than usual, a menu appeared, chose what to do with the text. the script on the button copied the text to the clipboard and substituted it into the command line in the script. then only a flight of fancy how to script the buttons in this radial menu. ahk scripts are easy enough to learn. and you can assign powershell scripts to buttons. yes, basically anything.
so you won't depend on the browser.
and if you need to do it right in chrome, then there is https://developer.chrome.com/extensions/nativeMess...but there it is necessary to fence a whole garden, because if it were simple, then it would be scary from the point of view of security.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question