Page 1 of 1

Convert local file spec to URL spec

Posted: 03 Apr 2008 12:38
by admin
I use this script to easily generate valid web references (URLs) to my www.xyplorer.com web project from my local machine.

Code: Select all

// copy current item as xyplorer.com URL
  replace $p, <curitem>, "\", "/";
  replace $p, $p, "D:/www/xyplorer.com/code", "http://www.xyplorer.com";
  copytext $p;
I assigned Ctrl+U to it (via UDC Run Script) so it's just a key combo from D:\www\xyplorer.com\code\download\tipoftheday.zip to http://www.xyplorer.com/download/tipoftheday.zip. :D

Re: Convert local file spec to URL spec

Posted: 27 Sep 2015 11:08
by marjomu
Morning,
I think that's exactly what I look for but I don't know what to do with the 4 lines copied of the script.
I speak french. I desire to see directly the path of the url without going to the properties.
For advance, thanks a lot...
Marjomu