News:

  • May 27, 2026, 03:00:41 PM

Login with username, password and session length

Author Topic: Feature Request - Wildcards  (Read 22 times)

Watermark_JS

  • Full Member
  • ***
  • Posts: 49
Feature Request - Wildcards
« on: Today at 10:32:31 AM »
The audio engineering software I use has AMAZING wildcard-based file naming options (see pic).

Even just the ability to auto-add a datetime stamp would be fantastic...

If you don't make mistakes, you aren't doing anything.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3821
    • Host Engineering
Re: Feature Request - Wildcards
« Reply #1 on: Today at 11:17:17 AM »
Look at STRPRINT and use the resulting string variable as your file name.  Is that what you are looking for?

FmtDate($Now) "_" FmtTime($Now) ".csv"


STRPRINT has more capabilities than what macro expansion can do.  See the attached screen shot of the STRPRINT commands

https://hosteng.com/DmDHelp/Default.htm#Instruction_Set/STRPRINT_Print_to_String.htm

Watermark_JS

  • Full Member
  • ***
  • Posts: 49
Re: Feature Request - Wildcards
« Reply #2 on: Today at 12:14:55 PM »
Franji -- No.  I was referring to saving the project in the DoMore Designer. 

I name my project files something like [project]_[date]_[time], which is why I like the wildcard options in that audio software.  Storing that information in the file name protects against loss of tracking if the file gets relocated.

Originally, I was trying to just use the version in the project properties, but that felt like additional overhead -- having to open an additional window -- and that data doesn't appear to be exposed to a File Explorer view.
If you don't make mistakes, you aren't doing anything.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3821
    • Host Engineering
Re: Feature Request - Wildcards
« Reply #3 on: Today at 12:34:48 PM »
Franji -- No.  I was referring to saving the project in the DoMore Designer.

Ha!  That makes more sense.  I know I do that a lot with my work in various editors (including Designer).

Do-more PLCs also support a file system, so I thought you were referring to that (for file names IN the PLC).

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3821
    • Host Engineering
Re: Feature Request - Wildcards
« Reply #4 on: Today at 02:22:08 PM »
FYI, the Auto Save feature does something similar (so a backup mechanism to your backup mechanism).  It defaults to just 4 backups, though.  You can change it to be UNLIMITED via the File->Manage Projects->Restore from Backup... dialog and hit the "Configure Autosave..." button (there's a similar button on the File->Manage Projects->Folder Settings... dialog)

See the attached screen shot.