Code: Select all
v23.50.0303 - 2022-08-31 12:12
* SC WriteFile: Added two parameters to control the position and length of the data
written to the file.
Syntax: writefile(filename, data, [on_exist], [mode], [start=1], [numbytes=-1])
start: Start writing at this byte position.
Defaults to 1 which is the very beginning.
Note: Writing here is always overwriting, not inserting!
numbytes: Write this number of bytes.
Defaults to -1 which means: write everything passed in the data argument.
Example:
writefile(, "abc", , , 3, 2); //writes "ab" at pos 3 to the currently selected file
* Searching for Date Properties: Now the comparison got smarter. When the pattern has
no time part then only the day part is compared, when the pattern has no seconds
then only the minutes are compared. Also the pattern now can be stated in the local
date format, or in ISO 8601.
Here are some Quick Search terms:
prop:#image.datetaken:2005-06-28 //will match 2005-06-28 19:51:58 (and any other time on that day)
prop:#image.datetaken:6/28/2005 //will match 2005-06-28 19:51:58 (and any other time on that day)
prop:#image.datetaken:6/28/2005 07:51 PM //will match 2005-06-28 19:51:58 (and any other second in that minute)
! Special Properties: On AM/PM systems the special property #image.datetaken returned
ISO format for PM times, and the regional format for AM times. Fixed: Now
#image.datetaken returns ISO format for all times, and regardless of the regional
date settings. This greatly simplifies handling in scripting. Example:
echo <prop #image.DateTaken>; //returns ISO format, e.g. 2010-07-03 02:02:27
! Paper Folders: Duplicate items were possible due to different letter case. Fixed.
XYplorer Beta Club