Change Log for the latest
XYplorer BETA version v9.50.0001, 09-sep-2010).
Code: Select all
v9.50.0001 - 2010-09-09 11:15
+ Scripting got a new function.
Name: recase
Action: Changes the case of a string.
Syntax: recase(string, [mode])
string: String to change case of.
mode: One of the following:
lower = [default] to lower case
upper = to upper case
title = to title case (first letter of each word to upper
case, other letters to lower case)
return: String with changed case.
Examples:
::text recase("tEXT","lower"); //text
::text recase("tEXT","upper"); //TEXT
::text recase("tEXT","title"); //Text
* SC readurl got a new StripHTML parameter which can be used to
return the (ideally) pure text without any HTML formatting.
- ReadURL
Action: Returns the contents of a web file.
Syntax: readurl(url, [nocookies], [StripHTML])
url: [required] URL
nocookies: [optional]
0 = use cookies
1 = don't use cookies
StripHTML: [optional]
0 = return unchanged HTML
1 = strip HTML comments and tags, scripts and styles,
convert some common HTML entities, and remove excessive
tabs, spaces and empty lines
return: url's contents
Examples:
::text readurl("http://www.xyplorer.com/download.htm", 0, 1);
::text readurl("http://www.xyplorer.com/tour/ _
index.php?page=portable", 0, 1);
! The recently added variable <items> (introduced in v9.40.0110 -
2010-09-03 15:27) was in conflict with an already existing variable
of the same name that was restricted to the context of OpenWith
(SC openwith and UDC OpenWith). To resolve the conflict the
recently added variable has been renamed to <selitems>.
Both <selitems> and <items> are functionally identical (they
return a space-separated list of the currently selected list items
in quotes and with full path, ordered as listed from top to
bottom) but are used in different contexts.
::echo <items>; //does not work (but only in OpenWith)
::echo <selitems>; //works
Real world use case: To register all currently selected files you
can now use this DOS command through the Address Bar:
!!regsvr32 <selitems>
To
download the latest BETA version choose a download package: (1)
Installer Package, (2)
Portable Package.
Note that BETA versions are work in progress and might contain fresh bugs. You have been warned.