Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 4655 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi, I have an Applescript that checks to see if FIlemaker Pro is running, and tells it to quit if it's running. Often the script doesn't work for some reason, for example Filemaker is stuck showing a a dialog box and can't receive the quit command.

So I am trying to have another part of the script that double checks to see if FMP is still running, like this

tell application "Finder"

set process_list to the name of every process whose visible is true

end tell

if "Filemaker Pro" is in process_list then

do shell script "killall 'Filemaker Pro'"

end if

The issue is that *nothing* seems to make "killall" in terminal kill Filemaker Pro, and I always get "No matching processes belonging to you were found" no matter how I try to change things.

I am running Filemaker Pro Advanced 11, but I've observed this issue with Filemaker Pro 9 and 8.5 too. Running Lion currently (fully updated) but this issue has been with me a while.

Is there a way to kill the Filemaker process with killall, or else an automated way to do it using the terminal on one line (e.g. not manually finding what the process ID is and killing with 'kill').

Thanks in advance for your help, this has had me stumped for a while.

Posted

Also trying

for i in $(ps x | grep filemaker* | cut -d"?" -f1 | grep -v filemaker); do kill -9 $i ; done

though I may well have the format wrong. Nothing is quitting though. Can anyone help?

This topic is 4655 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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