Re: IDM_OPENSELECTED

Chris De Boeck <[email protected]>
Newsgroups gmane.editors.scite.general
Message-ID <CAJaD6kS8FM0u8+wQ+0jCQH0pL7FGaZ9617topzjcEuGDjrXGUQ@mail.gmail.com>
Thx, 'Start' works for windows.

On Thu, Apr 7, 2022 at 12:45 PM 'Neil Hodgson' via scite-interest <
[email protected]> wrote:

> chris.d:
>
> > I would like to open pictures (jpg, png, ..)  with the system editor if
> I use command IDM_OPENSELECTED. For an URL this works, but not for
> pictures.
>
>    That code is looking for a ’scheme’ at the start like ‘https:’ to run a
> command. Otherwise it wants to open as a file and that opens into SciTE as
> text.
>
> > Is this possible, or are there other options?
>
>    Define a tool command that runs the command line you want (depends on
> OS) over $(CurrentSelection) or $(CurrentWord). This works on macOS:
>
> command.2.*=open $(CurrentWord)
> command.name.2.*=Open File
>
>    Neil
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "scite-interest" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/scite-interest/8qBuYRgbCX0/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/scite-interest/00E10EA2-069F-44BB-AF29-FCAC65D5C1FB%40me.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/scite-interest/CAJaD6kS8FM0u8%2BwQ%2B0jCQH0pL7FGaZ9617topzjcEuGDjrXGUQ%40mail.gmail.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.