Deprecated commands and obsolete parameters in v28.00+

Discuss and share scripts and script files...
Post Reply
Raf
Posts: 131
Joined: 31 Jul 2024 15:34

Deprecated commands and obsolete parameters in v28.00+

Post by Raf »

There have been changes in scripting commands after v28.00 release.
  • If you are using XY v27.20-- (x32) here you will find a short documentation about ALL deprecated commands (they are no longer updated and may not be supported.).
  • If you are using XY v28.00++ (x64), here you will find ALL commands (and parameters) that should preferably be removed from your scripts.
Deprecated commands:
  • Md5(string, [flags (0|1)])
    Calculates the md5 hash of a string. Replace with Hash()
  • MiddleTruncation [value]
    Sets middle truncation in the Name column of the file list. Replace with Conf()
  • PathVirtual([path], [flags (0|1|2)])
    Returns the virtual path for a given path. Replace with PathSpecial()
  • Preview64 [tryfirst (""|0,32|1,64|f|v)], [fallback (0|1)]
    Sets sequence of preview attempts and optional fallback. Replace with Preview
  • Zip_List([zipfile], [separator="|"], [flags])
    Lists the items in a Zip archive. Replace with Zip_List2.
@highend @bdesh Please add them to this list.

Obsolete parameters:
  • PopupContextMenu [item=<curitem>], [bitness=64 (0|32|64)], [flags (1)]
    Displays the shell context menu for an arbitrary item.
    bitness:
    Bitness of the shown menu.
    XY v28.00+: only the 64-bit menu is shown.
  • Preview [file=<curitem>], [mode="n" (n|p|t|x|te32|tf32|tf64|tg32)], [guid]
    Previews a file in the Preview Pane.
    mode:
    XY v28.00+: The bitness-related arguments are currently obsolete; only 64-bit modes are used.
    p = p32 = p64 = PreviewHandler.
    te32 = IExtractImage.
    tf32 = tf64 = IShellItemImageFactory.
    tg32 = GDI+ (only for images).
  • ExtractText([file=<curitem>], [bitness=64 (32|64)], [flag (1)])
    Extracts pure text from complex files (e.g. DOC, DOCX, ODT, PDF).
    bitness:
    XY v28.00+: only 64-bit IFilters are used.
    Attempt extraction using:
    32 = 32-bit IFilters.
    64 = 64-bit IFilters.

Post Reply