Placeholders for file names in auto save

Home › Forums › PDF24 Creator › Placeholders for file names in auto save

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #4119
    PDF24
    Guest

    which placeholders are used for file name in auto save option

    {filename}{title}

    #4120
    Anonymous
    Guest

    Hi, you can use this placeholders:

    %Y-%m-%d %H-%M-%S $fileName

    %Y = Year like 2013
    %m = Month like 11
    %d = Day of month like 29
    %H = Hour like 16
    %M = Minute like 59
    %S = Seconds like 12
    $fileName = Name of original file if available

    #4121
    Anonymous
    Guest

    Is there a placeholder possible like %capture
    I have so much work with taking out many documents and first I capture a code then I create a PDF, it should be cool when I then could use %capture then I have the code as a PDF filename and that is quick too.

    Regards, Bernard

    #66306
    PDF24 Support
    Moderator

    Hello,

    an update for today's readers: the file name of the automatic saving (PDF24 settings, PDF Printer > Auto Save > Filename) can contain these placeholders:

    • $fileName = name of the print job (set by the printing program), $fileDir, $printerName, $owner (user who printed), $id (unique id)
    • date and time: %Y year, %m month, %d day, %H hour, %M minute, %S second
    • environment variables such as %USERNAME%

    The default is %Y-%m-%d %H-%M-%S $fileName.

    There is no placeholder like %capture for a code you copied before. Thank you for the suggestion, it is on our to-do list. What works today:

    • Enable Use a file name chooser before saving the file in the same settings. PDF24 then shows a save dialog, and you can paste the code with Ctrl+V.
    • If the code is part of the printed document: since version 11.31.0 the document can set its own file name with the control code @@fn:...@@. Enable Recognize control codes in the printed document for the PDF printer. Details: https://creator.pdf24.org/manual/11/#62-control-codes-in-printed-documents
    #66816
    PDF24 Support
    Moderator

    Hello,

    a short advance note on the %capture wish: the next version of PDF24 Creator adds the placeholder $clipboard for the file name of the automatic saving. It is replaced by the first line of text on the clipboard, so if you copy your code with Ctrl+C before printing, the file name $clipboard (or e.g. %Y-%m-%d $clipboard) puts that code into the PDF name.

    We will post here once it is released.

    #66946
    PDF24 Support
    Moderator

    Hello,

    the change announced above is now released in PDF24 Creator 11.34.0, available since 11 November 2026: https://tools.pdf24.org/en/creator

    The file name of the automatic saving now knows the placeholder $clipboard, the first line of text on the clipboard. If you copy your code with Ctrl+C before printing, the file name $clipboard (or e.g. %Y-%m-%d $clipboard) puts it into the PDF name.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.