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 won't run batch file after closing the program

Featured Replies

  • Newbies

I am currently working at updating some databases from FM6 to FM9.0 on a Windows XP PC.

I have one script that uses Send Event to run a batch file that ftp's a file from a remote computer to the one running FileMaker.

It works fine all the time under FM6.

With FM9, it worked the first time. Then I closed the program and later opened it again. This time it just flashed the command window very quickly but didn't do anything.

After trying several different combinations, I find that if I go back into the script, reselect the batch file to run, it will work until I close the file. Then when I open the file again, it quickly flashes the command window but won't actually run the batch file.

In setting up Send Event...

File Type displays "Windows Batch File"

Send the "Open Document/Application" messages is selected

Specify file is set up as the following:

filewin:/C:/temp/KNF_Ftp_Scripts/GetKNF_ftp.bat

Any ideas?

thanks, Doug

Very odd. Try recreating the script from scratch.

  • Author
  • Newbies

I figured it out...

I tried rewriting from scratch but that didn't work.

Here's the solution that worked...

The original ftp batch file that I used with FM6 looked something like this:

ftp -d -i -s:GetKNF_ftp.txt 192.168.0.1

For FileMaker 9, I just had to put the full pathway for the script file. So now it looks like this:

ftp -d -i -s:/C:/temp/KNF_Ftp_ Scripts/GetKNF_ftp.txt 192.168.0.1

Doug

Edited by Guest

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.