March 14, 201213 yr 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.
March 15, 201213 yr Author 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?
March 15, 201213 yr Author No help? It seems that nothing will reliably force a Filemaker Pro app to quit.
Create an account or sign in to comment