The Bat! 11.4.2.2 (BETA)

  • In this beta version of The Bat! we have added the built-in support of the macros which were previously offered exclusively by the XMP plugin.

    Versions with the auto-update feature:
    32-bit https://www.ritlabs.com/download/files…32_11-4-2-2.msi
    64-bit https://www.ritlabs.com/download/files…64_11-4-2-2.msi

    Versions without auto-update:
    32-bit https://www.ritlabs.com/download/files…32_11-4-2-2.msi
    64-bit https://www.ritlabs.com/download/files…64_11-4-2-2.msi


    What's new in v11.4.2.2 since v11.4.2.1:

    [+] New macros (use X_ instead of XMP_ if the XMP plugin is installed)

    XMP_Beep
    XMP_Envir
    XMP_Host2IP
    XMP_IP2Host
    XMP_IsUserAdmin
    XMP_KbdLayout
    XMP_Process
    XMP_RegGet
    XMP_RegSet
    XMP_Run
    XMP_RunCmd
    XMP_SetClipB
    XMP_SendKeys
    XMP_SysInfo
    XMP_AttrGet
    XMP_AttrSet
    XMP_DirCreate
    XMP_DirExists
    XMP_DirExist
    XMP_FileCopy
    XMP_FileDel
    XMP_FileExist
    XMP_FileInfo
    XMP_FileInUse
    XMP_FileLines
    XMP_FileLnCnt
    XMP_FileLong
    XMP_FileMove
    XMP_FileName
    XMP_FileOwner
    XMP_FileShort
    XMP_FileSize
    XMP_FileTime
    XMP_GetPath
    XMP_IniGet
    XMP_IniSet
    XMP_TempDir
    XMP_Age
    XMP_TimeAdd
    XMP_TimeBeats
    XMP_TimeBias
    XMP_TimeCalc
    XMP_TimeDiff
    XMP_TimeParse
    XMP_TimeQuart
    XMP_DlgFolder
    XMP_DlgInput
    XMP_MsgBox
    XMP_MultiDlg
    XMP_TextDlg
    XMP_AddrToACE
    XMP_AddrToIDN
    XMP_DomToACE
    XMP_DomToIDN
    XMP_IDNList
    XMP_ClearLines
    XMP_Gender
    XMP_ListAddr
    XMP_ListCount
    XMP_ListName
    XMP_MsgID
    XMP_NoSubj
    XMP_NoTo
    XMP_QuoteAdd
    XMP_QuoteDel
    XMP_Sig
    XMP_SubjClean
    XMP_SubjCount
    XMP_ArgCount
    XMP_ArgItem
    XMP_Decode
    XMP_Encode
    XMP_Grep
    XMP_LineBtw


    We will very much appreciate your feedback on these new macros. Please make sure all of them are functioning properly, just the way it used to work in the XMP plugin, or even better. Feel free to send us any comments and/or suggestions.

  • Whoa! XMP-Macros.
    Nur kurz mal Neue Mail und Antwort per %QINCLUDE aus Schnellvorlagen eigefügte bei Text-Mails testen.

    Das geht nicht:

    Code
    %_D=|%DATE("ddd, d MMM yyy","EN") %TIME="HH:mm:ss" +0100 (MEZ)|%-
    Heute ist die %XMP_TimeParse(%_D,0,"www"). Woche
    %-
    %_D=|%DATE("dd.MM.yyy","EN") %TIME="HH:mm:ss"|%-
    %_NW=%XMP_TimeAdd(%_D,7,"D","AM$ddd, d mmm yyy tt +0100 '(MEZ)'")%-
    Nächste Woche ist die %XMP_TimeParse(%_NW,0,"www"). Woche %-

    und das nicht:

    Code
    %__NACHNAME=|%IF:"%ABTOLNAME"<>"":"%ABTOLNAME":"%TOLNAME"|%-
    %-
    Sehr geehrte%-
    %XMP_Select("%XMP_Gender"," Damen und Herren",%-
    "1","r Herr %__NACHNAME",%-
    "2"," Frau %__NACHNAME")%-
    ,

    und das nicht:

    Code
    %_A="%XMP_StrTrim('%ATTACHMENTS')"%-
    %IF:|%_A|=|<none>|:|%_A=""|:||%-
    %IF:|%_A|<>||:|Anlagen:
    %_AC="%XMP_StrItemCnt('%ATTACHMENTS',', ')"%-
    %XMP_For('i',1,'%_AC','  %%_i) %-
    %%XMP_StrItem("%%ATTACHMENTS",", ","%%_i")%-
    %%XMP_StrC("\n")')%-
    |:||

    Mit %X_… klappt es genauso wenig. ?(

    Kein Spaß weiter noch mehr %X_…-Makros zu testen. Ich werde weiter in der Beta das XMP-Plugin nutzen.

    The Bat! Pro 11.x BETA (32bit) | Win 11 Pro x64 | GnuPG 2.4.x | XMP + Regula

    Wer mich Er oder der Drache nennt, bekommt von der Drachin Pratze und Feuer zu spüren.

    6 Mal editiert, zuletzt von GwenDragon (15. Juli 2025 um 20:10)

  • Ich habe jetzt ein paar getestet und sie funktionieren richtig, zumindest einzeln. Die Attribute, die man zusammen mit den neuen Makros verwenden darf, sowie Erklärungen und Beispiele dazu kann man der Hilfedatei XMP.chm entnehmen, die aus dem letzten Plugin-Archiv entpackt werden kann, das man wiederum unter "Extended Macro Plugin (XMP) 1.3.1 {nur für The Bat! 32bit}" findet.

    Eine komplexe Vorlage mit verschachtelten Makros muss womöglich angepasst werden, weil die neuen Makros vielleicht nicht alles wie die Originale unterstützen, wie z.B. RegEx oder bestimmte Kombinationen sind nicht zulässig usw. Wie gesagt, einzeln funktionieren sie.

  • und sie funktionieren richtig, zumindest einzeln.

    Ach so, das hatte ich natürlich nicht bedacht, dass die erst so geteste werden wollte.
    Danke für den Hinweis.

    Die Attribute, die man zusammen mit den neuen Makros verwenden darf, sowie Erklärungen und Beispiele dazu kann man der Hilfedatei XMP.chm entnehmen

    Ja, die CHM-Datei haben do die meisten sowieso noch.

    Aber wenn andere mit einem 64bit The Bat! die X-Makros auch mal testen wollen, brauchen sie das natürlich aus dem Archiv im Forum.

    The Bat! Pro 11.x BETA (32bit) | Win 11 Pro x64 | GnuPG 2.4.x | XMP + Regula

    Wer mich Er oder der Drache nennt, bekommt von der Drachin Pratze und Feuer zu spüren.

  • sanyok 22. Juli 2025 um 12:27

    Hat das Thema geschlossen.