Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Creating filenames with a script

Featured Replies

I use the following script steps to create a backup my FM file that includes the date:

Set Variable [ $DateAsString; Value:Right("00"&Month(Get ( CurrentDate ));2)&"-"& Right("00"&Day(Get ( CurrentDate ));2)&" "& Right("00"&Hour(Get ( CurrentTime ));2)&"-"& Right("00"&Minute(Get ( CurrentTime ));2)&" "& Year(Get ( CurrentDate ))&" " ]

Set Variable [ $filename; Value:"BACKUP "&$DateAsString&Get ( FileName )&".fp7" ]

Show Custom Dialog [ Title: "Create backup"; Message: "Do you want to make a backup of this file? It will be located in the parent directory."; Buttons: “OK”, “Cancel” ]

If [ Get ( LastMessageChoice )=1 ]

Save a Copy as [ “$filename” ] [ compacted copy (smaller) ]

End If

However, since filenames do not accept the / and : characters, I’ve had to use the format 8-11 for month-day and day and 15-22 for hours and minutes. I would like to use the familiar 8/11 and 15:22. Is there a way I can do this?

You already answered your own question: the OS doesn't allow it.

I'll jump in and suggest that dates for files should always be in the format YYYYMMDD because they can easily be sorted in chronological order.

I'll jump in a bit deeper and suggest avoiding any special characters in file names - unless you have an excellent memory and remember which ones are OK.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.