News:

  • May 28, 2026, 01:20:29 PM

Login with username, password and session length

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

Watermark_JS

  • Sr. Member
  • ****
  • Posts: 51
Feature Request - Wildcards
« on: May 27, 2026, 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: 3822
    • Host Engineering
Re: Feature Request - Wildcards
« Reply #1 on: May 27, 2026, 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

  • Sr. Member
  • ****
  • Posts: 51
Re: Feature Request - Wildcards
« Reply #2 on: May 27, 2026, 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: 3822
    • Host Engineering
Re: Feature Request - Wildcards
« Reply #3 on: May 27, 2026, 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: 3822
    • Host Engineering
Re: Feature Request - Wildcards
« Reply #4 on: May 27, 2026, 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.

Watermark_JS

  • Sr. Member
  • ****
  • Posts: 51
Re: Feature Request - Wildcards
« Reply #5 on: May 27, 2026, 03:58:18 PM »
Thanks for bringing that up!  I had it in my head that it was time-based, but since (upon review) I see that it's save-triggered, it might be the solution I need!

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

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3822
    • Host Engineering
Re: Feature Request - Wildcards
« Reply #6 on: May 27, 2026, 04:27:08 PM »
There's another "hidden in plain sight" feature for documenting changes.

Every time you write your project to the PLC, the "Download Project to PLC" dialog has a small text field where you can make a note of what you are doing for THAT specific download.  It's optional.  You don't have to enter anything.  But if you do, it PREPENDs that specific download note to your Project Notes document written to the PLC (it marks the text entry with current date/time and the current user that is writing the project to the PLC; see attached screen shot).

You can view your download history in this Project Notes document from the Dashboard (see Documentation panel, View/Edit Project Notes hot link).  It's just text, so you can tweak it - you normally would not, cuz you really want it to be a log of all the downloads - you can also print it out as part of Print All.  See other screen shot.

Note that the Write to PLC dialog PREPENDs each entry to the file, so the most recent one is AT THE TOP and the oldest is at the bottom (note the auto-generated timestamps and user name).
« Last Edit: May 27, 2026, 04:28:45 PM by franji1 »

Watermark_JS

  • Sr. Member
  • ****
  • Posts: 51
Re: Feature Request - Wildcards
« Reply #7 on: May 27, 2026, 10:04:06 PM »
Thanks for the assist, Franji.  Your suggestions were all helpful, as always.

I think I'm going to experiment with the Autosave system.  I'm just working to integrate DoMore more tightly with our source control system, so I'm just tinkering. 
If you don't make mistakes, you aren't doing anything.