XYplorer to handle Internet-Ready code

Features wanted...
Post Reply
SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

XYplorer to handle Internet-Ready code

Post by SkyFrontier »

What about XYplorer being capable of interpreting an address like

Code: Select all

file:///D:/Programs/z_SSaver/Astro%20Gemini%20Software/Screensaver%20Manager%202.0/faq.html
like a valid path, or at least

Code: Select all

D:/Programs/z_SSaver/Astro%20Gemini%20Software/Screensaver%20Manager%202.0/faq.html
?

Currently the 1st addy launches the .htm from default web browser and the 2nd gives a "couldn't find location" notice.

It could expand integration between file searchers' results/web browsers and our favorite file manager...
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Europe

Re: XYplorer to handle Internet-Ready code

Post by Stefan »

msg urldecode("D:/Programs/z_SSaver/Astro%20Gemini%20Software/Screensaver%20Manager%202.0/faq.html");

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: XYplorer to handle Internet-Ready code

Post by SkyFrontier »

So I assume it's possible to script that task, right? "Read from clipboard/convert to path standards/read converted path/paste it into address bar/go there".
Anyone able, please...?
Thanks, Stefan!
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Europe

Re: XYplorer to handle Internet-Ready code

Post by Stefan »

SkyFrontier wrote:So I assume it's possible to script that task, right?
"Read from clipboard/
convert to path standards/
read converted path/paste it into address bar/go there".
Anyone able, please...?
FROM:
file:///D:/Programs/z_SSaver/Astro%20Gemini%20Software/Screensaver%20Manager%202.0/faq.html
TO:
D:/Programs/z_SSaver/Astro Gemini Software/Screensaver Manager 2.0/faq.html

SCRIPT:

"GoTo lokal URL"
    $Target= urldecode("<clipboard>");
    $Target= Replace( $Target, "file:///");
    $Target= Input("Title", "Prompt", $Target);
    GoTo $Target;


Or as one-liner:
GoTo replace(urldecode("<clipboard>"), "file:///");
(Replace 'GoTo' by 'msg' to test this script first)

Thanks, Stefan!
You are welcome.
Last edited by Stefan on 19 Feb 2010 23:02, edited 1 time in total.

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: XYplorer to handle Internet-Ready code

Post by SkyFrontier »

GrrrrEATTTTTT!!!
The prompt confirming the path was a valuable surprise!
Allows me to deciding whether to go to the file itself, or editing up to any path at the address.
Thanks much, Stefan!
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

admin
Site Admin
Posts: 66347
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: XYplorer to handle Internet-Ready code

Post by admin »

SkyFrontier wrote:What about XYplorer being capable of interpreting an address like

Code: Select all

file:///D:/Programs/z_SSaver/Astro%20Gemini%20Software/Screensaver%20Manager%202.0/faq.html
like a valid path, or at least

Code: Select all

D:/Programs/z_SSaver/Astro%20Gemini%20Software/Screensaver%20Manager%202.0/faq.html
?

Currently the 1st addy launches the .htm from default web browser and the 2nd gives a "couldn't find location" notice.

It could expand integration between file searchers' results/web browsers and our favorite file manager...
Yes, the second part. :)

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Re: XYplorer to handle Internet-Ready code

Post by jacky »

admin wrote:Yes, the second part. :)
Knowing that, of course, XY can only convert / to \ and nothing more (like it does elsewhere, to be FTP/Linux-compatible in a way). I mean, "foo%20bar" and "foo bar" are two different files...
Proud XYplorer Fanatic

admin
Site Admin
Posts: 66347
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: XYplorer to handle Internet-Ready code

Post by admin »

jacky wrote:
admin wrote:Yes, the second part. :)
Knowing that, of course, XY can only convert / to \ and nothing more (like it does elsewhere, to be FTP/Linux-compatible in a way). I mean, "foo%20bar" and "foo bar" are two different files...
I made it that if a path starts like "?:/*" I decode %20, if "?:\*" I decode not.

Post Reply