Change Log for the latest
XYplorer BETA version:
Code: Select all
v24.20.0514 - 2023-04-01 19:00
+ Scripting got a new function.
Name: ExtList
Action: Lets you customize certain extension lists.
Syntax: extlist(type, [extensionlist])
type: Which extension list to customize.
thumbs64: File types for which thumbnails are generated in a 64-bit process,
i.e. file types that relie a 64-bit thumbnail provider.
folderthumbs: File types that can be used for folder thumbnails.
extensionlist: List of extensions, dot-separated.
?: Just return the old extension list.
missing: Open list management dialog to customize the list in a GUI.
return: Old extension list.
Examples:
extlist("thumbs64"); //open "64-bit Thumbnails - File Extensions" dialog
echo extlist("thumbs64", "?"); //show current 64-bit Thumbnails File Extensions
extlist("thumbs64", "ai.eps.svg"); //set 64-bit Thumbnails to these extensions
extlist("folderthumbs"); //open "Folder Thumbnails - File Extensions" dialog
echo extlist("folderthumbs", "?"); //show current Folder Thumbnails File Extensions
extlist("folderthumbs", "ai.eps.svg"); //set Folder Thumbnails to these extensions
- SC ext_FolderThumbs: Removed, replaced by SC extlist("folderthumbs").
- SC ext_Thumbs64: Removed, replaced by SC extlist("thumbs64").
+ Scripting got a new function.
Name: CES ("Custom Event Sound")
Action: Lets you define a sound that will be played on certain events.
Syntax: ces(event, [soundfile], [threshold])
event: Event that triggers the sound. Currently the following events are supported:
ffoc: Foreground file operation completed.
bfoc: Background file operation completed.
abfoc: All background file operations completed.
soundfile: Full or relative path to a WAV file.
Path defaults to app data path (<xydata>).
Missing: Setting remains unchanged.
threshold: Number of seconds the operation has to take at least in order to
trigger the sound.
Set it to 0 to always play the sound regardless of the duration of the
operation.
Set it to -1 so as not to play the sound.
Missing: Setting remains unchanged.
return: Current "soundfile|threshold".
Examples:
ces("ffoc", "Blurp.wav", 0); //always play "<xydata>/Blurp.wav" after a foreground job
ces("ffoc", ""); //remove the soundfile setting: don't play anything at this event
ces("ffoc", , -1); //keep the soundfile setting but don't play it
ces("ffoc", , 60); //keep the soundfile, set the threshold to 60 seconds
echo ces("ffoc"); //just show the current settings
Remarks:
- This raises the sound-related tweaks FJSoundJobDone etc to scripting-level. While
doing this the keys have been changed to "SoundFFOC", "SoundFFOC_t", etc.
- I finally decided to change the default path for the older tweaks BJSoundJobDone
and BJSoundAllDone from <xypath> to <xydata>. After all they were just tweaks.
* Configuration | File Operations | File Operations | Background Processing: Renamed
label "Copy Handler" to "Background Copy Handler". Reduces confusion.
To easily
upgrade to this BETA version from XYplorer, hold down the
CTRL key while you click
Help | Online Support | Check for Updates. If you prefer to
download the BETA version, choose one of these packages:
(1)
Installer Package, (2)
No-Install Package (for manual unpacking).
Note that BETA versions are work in progress and might contain fresh bugs. You have been warned. It's a good idea to backup your complete XYplorer settings (menu File | Settings Special | Backup Application Data Folder...) before running a new BETA version. This will also help in fixing any fresh bugs.