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 Issue

Featured Replies

I am in the darkness of trying to use Send Event to trigger a .bat file and I am humbly begging for a torch.

Here is what I am trying to do..

I have get_filelist.bat file located at Server Namec$Program FilesFileMakerFileMaker ServerDataScripts that triggers another .bat file and performs some file manipulation on the server. get_filelist.bat works perfectly when i remote desktop into server and trigger the .bat file or trigger it via server scheduled event. The last step of get_filelist.bat is to produce Server Namec$Program FilesFileMakerFileMaker ServerDataDocumentsfilelist.xml.

I have a script in an .fp7 file served on the same FMP server called get_filelist that has one line...Send Event("aevt";"odoc"; "filewin://Server NameD:Program FilesFileMakerFileMaker ServerDataScriptsget_filelist.bat". When executed it does not produce Server Namec$Program FilesFileMakerFileMaker ServerDataDocumentsfilelist.xml and returns no error.

I want to be able to trigger the get_filelist script from a button click on a layout AND from the server scheduled events.

I am thinking that its nothing more than getting the third parameter in Send Event (1;2;3) correct.

Flashlight, torch, open the shades, anyone?

TIA

K

See if this one helps

http://fmforums.com/forum/showtopic.php?tid/210084/post/335954/hl/%22send+event%22/fromsearch/1/#335954

  • Author

i had read through that post before posting my question. If their is a solution in there please enlighten me in detail cause i dont see it

Not sure I follow exactly what your doing but this might help you a little.

Send Event sends a text string to your "run line" not the "command line". I suggest you start by typeing what you want executed into the run line. (Start menu > Run... or on vista type it into the search box in the start menu) once you get the command to run there, take that and use it for your send event command.

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.