<div dir="ltr"><div class="gmail_default" style="font-size:small">Sorry I was clearly not paying attention and for some reason thought text editor :-\</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Seems using the same method for mime type inode/directory does not work :(</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">BruceS<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 16 Feb 2024 at 11:45, Bruce Steers <<a href="mailto:bsteers4@gmail.com">bsteers4@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small">you could use DesktopMime to get the first listed application</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Print DesktopMime["text/plain"].GetApplications()[0].Exec</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">or..</div><div class="gmail_default" style="font-size:small">For Each df As DesktopFile In DesktopMime["text/plain"].GetApplications()<br> Print df.Name, df.Exec<br>Next</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Prints......</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Pluma  pluma %U<br>Emacs (GUI)   /usr/bin/emacs %F<br>FeatherPad    featherpad %U<br>jEdit  jedit %U<br>LibreOffice Writer    libreoffice --writer %U<br>Okular  okular %U<br>Text Editor   gedit %U<br>Kate   kate -b %U<br>KWrite  kwrite %U<br>Mousepad     mousepad %U</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Respects</div><div class="gmail_default" style="font-size:small">BruceS</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 16 Feb 2024 at 11:39, System64 Development <<a href="mailto:64xcode@gmail.com" target="_blank">64xcode@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I was using Desktop.Open(Path) to open the directory of the shrimp <br>
projects but now this statement opens the ide, I guess because at some <br>
point I opened a shrimp project from the file manager and the system <br>
"memorized" this action.<br>
<br>
Anyway, how can I get the name of the default application that manages <br>
the files? in my case it is Thunar because I use XFCE but what is the <br>
general way?<br>
<br>
Best regards.<br>
<br>
Martin.<br>
<br>
<br>
----[ <a href="http://gambaswiki.org/wiki/doc/netiquette" rel="noreferrer" target="_blank">http://gambaswiki.org/wiki/doc/netiquette</a> ]----<br>
</blockquote></div>
</blockquote></div>