Skip 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.

Send Event in Windows

Featured Replies

Hi Gang,

This one has got me stumped . I am trying to create a Send Event script that uses a command line application that will turn a pdf into a jpg. I want the ability to do this for every record in my table. This is the script calculation that I am using.

"c:/Progra~1/PDFtoJPG/pdftojpg.exe -i " & Items::PDF Path & " -o " & Items::Folder Path & " -r 150 -q 100"

The first part that calls the program works fine as my "Program Files" folder has been shortened to "Progra~1". Where I get into trouble is in the path for the input and output files. These are typically long name files and folders. When I execute the script, I get back an error that it cannot find the file name, which got truncated at the first "space" found.

Does anyone know how to solve this?

Thank you very much!

No need to shorten the path, but you do need to use quotes around the path and the file name if it contains spaces. Check out the Quote() function for this...

  • Author

Thanks, I tried this (to test if the command line application launches) but it did not work.

Quote ("c:/Program Files/PDFtoJPG/pdftojpg.exe -?")

I get a "file could not be found" error> My path is correct.

I did try this and it worked, but its going to be difficult if I store the application o a server path.

"c:/Progra~1/PDFtoJPG/pdftojpg.exe -i " & Quote(Items::PDF Path) & " -o " & Quote(Items::Folder Path) & " -l 1 -r 150 -q 100"

Any ideas?

Thanks again!

Thanks, I tried this (to test if the command line application launches) but it did not work.

Quote ("c:/Program Files/PDFtoJPG/pdftojpg.exe -?")

The quotes only need to go around the path to the executable and the file, not around the parameters.

Quote ("c:/Program Files/PDFtoJPG/pdftojpg.exe") -?

should work, but if you want to see the result you need to prefix the command with "cmd /k" to keep the command window open.

Your second approach is correct.

  • Author

It worked perfectly!! Thank you very much.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.