Mark Morgan Lloyd wrote:

The test app that I'm recoding to "get into" Lazarus has a couple of right-button options: one of them treats highlighted text as a file name and opens it using another instance of the same program, the other treats it as a command and executes it. Under Win-32 the command can have a .txt suffix which opens whatever editor is associated, an http: scheme which opens the default browser and so on, it would be nice to be able to duplicate this functionality even if it was limited to desktops which conform to freedesktop.org.

xdg-open from freedesktop.org's Portland project does exactly this although as yet it's not very widely bundled- I see it with Debian but not Slackware as particular cases. I don't think this encapsulates an accessible .so, I'll see if I can add it to helphtml once I'm more confident that I understand how things work.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to