Page 1 of 1

HTML link to XYplorer

Posted: 18 Aug 2024 17:12
by Shutey
I have an off line development environment on my laptop consisting of Apache, PHP and MySQL. Here I create offline websites to try and test things for my own amusement.

I was wondering if there was any way to call Xyplorer from a web page. Something like ...
<a href="C:\Program Files (x86)\XYplorer\XYplorer.exe-c:\myimages\mypics\">Linkname</a>?

The reason I ask is that I have a gallery website and sometimes I need to go to an image on the web page. It would be convenient to click a link on the page and go straight to the relevent folder in Xyplorer and a lot faster than navigating to it manually.

I have tried the code above with back slashes and forward slashes but Firefox didn't understand it!

It's not a biggy if this can't be done. I doubt many need it or would use it but in case it can be done, I thought I'd ask.

Thank you

Re: HTML link to XYplorer

Posted: 18 Aug 2024 20:03
by highend
If the links to the folders are really local paths:
https://addons.mozilla.org/en-US/firefo ... open-with/

Requires only two clicks afterwards (right click on the link + the XY entry)

Code: Select all

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>title</title>
  </head>
  <body>
    <a href="D:\Users\Highend\Bilder">Linkname</a>
  </body>
</html>
1.png
2.png

Re: HTML link to XYplorer

Posted: 27 Aug 2024 15:04
by Shutey
Thanks @Highend for your reply, had to leave it for a few days but did as you said and while your post left out a couple of steps relating to setting up "Open-With", like needing Python and having to set up XY as a browser, I managed to figure it out and it worked a treat. So job done and thank you again.

Re: HTML link to XYplorer

Posted: 27 Aug 2024 15:34
by highend
There are probably other ways (like defining a new protocol in the registry) but this looked rather straight forwarded :whistle: