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.

Featured Replies

I've been trying all day to get my database to execute a shell script...

I originally had this process working with applescript but filemaker server wouldn't run the applescript, thats why im trying to use shell scripting.

the shell script works. I typed it in a text doc and dragged it into a terminal window hit return and it executes.

but no combination of options in the 'Send Event' script step would run the shell script.

I tried it sending 'do script' with 'document' and with 'script text'. I also tried making an automator action into an application that just runs the shell script, but choosing that seemed to do nothing, target application was still .

what am i doing wrong? please help!

AppleScript running in a Perform AppleScript step can run shell script. It runs on the client machine. The phrase you use in AppleScript to run a shell script is:

do shell script "commands here"

You can also mix AppleScript variables into the command line, but you have to use quote marks to separate them. Such as:

set theText to quoted form of "some text with spaces and stuff"

do shell script "echo -n " & theText

Not very exciting, but notice the "quoted form of", which makes the spaces in the text safe for command line.

  • Author

ok, is there any way to get the applescript 'do script' to execute on the server instead of the client?

I have both mac and windows filemaker clients that need to use this script.

Isn't it contradictionary? Explain what task at hand needs to be done on server... as it is am I pretty sure you're barking up the wrong tree.

--sd

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.