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.

Executing scripts remotely

Featured Replies

  • Newbies

Has anyone come across a method to have scripts be executed on and by a remote machine (server), but initiated from a local system script?

Currently I have to execute the script across the network by the local system and it is very slooow.

Many thanks for any insights

Michael

There are a couple of methods. Which one you use depends upon whether the host machine is running a client copy of FM or FM Server.

1) If the host is running a client copy of FM, you can use the Status(CurrentMulitUserStatus) function to detect the host and a plug-in such as Activator or a looping script to trigger the script.

2) If the host is FM Server, Server does not run scripts. You will need to use Server's built in scheduler to trigger a system scripting language such as AppleScript to Close Server, open your file(s) with a Client copy of FM, run your script, close the client copy of FM, and finally reopen your files with FM Server.

-bd

If the script is processing lots of data -- like summary fields or unstored calculations -- then performing them on the server is not an option. (Something like an export or replace might be possible.) Instead try to speed up the network connection, or use FM Server on the host.

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.