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.

Add a variable to PDF ttl using script

Featured Replies

I can script a save as PDF, and the script nicely overwrites the file if it isn't open, but I'd like to save the file to a version using a time stamp.

So it would be like File_andtoday.pdf

  • 3 months later...

Try the set variable script option.

Name: $filename

Value: Substitute(Table1::field1; "/" ; "-" ) & "_" & Get(CurrentHostTimestamp) & ".pdf"

Repitition: 1

Then add a another set variable to your script (for example for a folder on your desktop)

Name: $fullpath

Value: Get ( DesktopPath ) & "Folder1/" & $filename

Then add to the script Save record as PDF. Specify the where to save as filemac:$fullpath as well as the other options like Current record or all browsed etc. If you're on Windows filewin:$fullpath should work.

Edited by Guest

Create an account or sign in to comment

Important Information

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

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.