![]() This is a different use case and is outside the scope of this example. In such cases, you may want to turn off 'Allow User Abort' to prevent the user from canceling the script. There are many places where you might need a script to run to completion. This feature is useful when the script is unexpectedly taking a long time to run or when it produces an unexpected result outside of the user's intention.įirst, you need to decide what kind of behavior you want your scenario to allow. ![]() In Claris FileMaker, while a script is running, you can stop it by pressing the ESC key or the command +. The method we will use will provide users with the ability to stop the script while also including methods to prevent potential inconsistencies in the unfinished process. In this article, we will discuss how Claris FileMaker scripts, especially those with long processing times, can be safely stopped using the "ESC" key. ![]() The method you choose may vary depending on your process and user experience goals. This way, the process will not be completed without the user's permission.Įach of these methods allows users to safely cancel a process without causing unintended consequences. This allows the script to end itself after a certain period of time when the user wants to cancel the process. In Claris FileMaker, the "OnTimer" script can be run as a script that repeats at a specific interval. This way, you can cancel the process when a specific key combination is pressed. In Claris FileMaker, you can determine if the user is holding down the "Control" key or using another key combination to cancel the process with the "Get(ActiveModifierKeys)" function. When this button is pressed, you can add the appropriate code to end the process. This feature can be used anywhere in the scripts you write in Claris FileMaker, allowing users to stop the process at any time by pressing the "Command + Period" (Mac) or "Control + Period" (Windows) key combination.īy adding a "Cancel" button to your process, you can give users the option to cancel the process at any stage. The "Allow User Abort" feature in Claris FileMaker allows users to cancel a process. In some cases, users may need to stop the process in the middle of its execution. Claris FileMaker developers sometimes write long-running scripts to process data by looping through many records. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |