Re: How to re-edit Helper app for the "Browse File s” tool?

Hussein Shafie <[email protected]> Thu, 10 Nov 2022 09:30:25 +0100
Newsgroups gmane.editors.xxe.general
Message-ID <[email protected]>
On 11/9/22 21:58, Leif H Silli wrote:
> The advantage of using
> 
>        open "%U”
> 
> is that the user can use the MacOS Finder to decide which app that 
> should open a certain file type. (This is done via the Show info panel 
> for particular files in the Finder.) But this might also be the 
> disadvantage.
> 
> If you want to not rely on the Finder, then another workaround is to 
> simply remove the «-n» from
> 
>        open -W -n -a /System/Applications/Preview.app "%F"
> 
> so that we get
> 
>        open -W -a /System/Applications/Preview.app "%F"
> 
> By removing the «-n», we avoid that a new instance is opened every time 
> the command is run … See https://ss64.com/osx/open.html
> 
> (I do not know whether the «open» is a MacOS only command of if it also 
> runs on Linux and more.)


Thank you for these details. We'll put them to good use when we'll try 
to improve the "Helper apps" feature in next version of XXE.

To my knowledge, Linux has no equivalent of "open". If a equivalent of 
"open" exists then it will be specific to a Linux Desktop. (Linux has 
many different "desktops". For example, I personally use KDE.)

The Windows equivalent of "open" is "start".



--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support