May 25, 200124 yr Bob, Help! Maybe it's because it's a Friday afternoon and the sun is shining outside I can't get this or maybe the fact that AppleScript isn't my thing but . . . I have a number of error checking actions occuring within a try. On an error I have a simple dialog appear. If an error occurs, I'd like to simply quite the whole applescript and let the user do what they must to fix the problem. What syntax must I use? The current problem is the applescript continues and a subsequent error message may appear thus confusing the user as to what the actual problem is. Thanks in advance even if you have to tell me slap myself upside the head. Here's a section of the applescript in question. tell application "FileMaker Pro 5.0" if theadprogram is "Multi-Ad" then tell application "Multi-Ad Creator
May 26, 200124 yr If your script is set up as an application you should be able to use this syntax: quit application "ScriptName" If the script is within a Filemaker script, then the easiest thing that comes to mind is to do this: code: set ErrorCondition to false tell application "FileMaker Pro 5.0" if theadprogram is "Multi-Ad" then tell application "Multi-Ad Creator
Create an account or sign in to comment