Create and edit scripts
Ask Genie to create or edit a script in the chat. Name the script and describe what it should do. What you get depends on your plan.
Genie gives you the complete script as human-readable FileMaker steps, with the options, calculations and assumptions you need to build it by hand.
With a paid plan, Genie can also write the script in FileMaker for you. A script result offers:
- Preview to read the complete proposed script.
- Copy to paste it yourself.
- Create to add a new script.
- Apply to update an existing script.
Create and Apply write the script natively in FileMaker after a confirmation dialog. The script does not need to be open or selected.
Create a new script
Section titled “Create a new script”- Describe the script you want and give it a name.
- To start from an existing script, say that you want a new script based on it. Genie reads it without changing it.
- Review the proposed script and any assumptions.
- On a paid plan, check it with Preview, then choose Create or Copy.
Edit an existing script
Section titled “Edit an existing script”- Name the script, or refer clearly to the current script.
- Describe the exact change and the expected behavior.
- If the name you gave does not match the selected script, Genie asks which one you mean.
- Review the result, then choose Apply or Copy.
If the script has unsaved edits open in Script Workspace, Genie stops and asks you to save first. If the script changed after Genie prepared the review, ask Genie to prepare it again.
Warnings
Section titled “Warnings”If Genie finds a problem in the proposed script, it shows a warning with the result. Read it and check the script before you use it. When Genie needs the full text of a script, it reads the exact lines instead of guessing. Get better script results.
QuickCode
Section titled “QuickCode”QuickCode is a separate Script Workspace shortcut that works on an explicit selection. It requires a paid plan. For broader work, use the Genie chat.
Examples
Section titled “Examples”Create a script from scratch
Section titled “Create a script from scratch”Ask Genie for a new script in plain language, then review it before anything is created in FileMaker.
Example prompt
Create a new script that validates the current customer record, shows a custom dialog if the email is missing, and saves the record only when validation passes.Check the result
- The script name and steps match your request.
- The missing-email path shows the dialog and does not save the record.
- The new script appears in Script Workspace and runs as you expect.
Improve an existing script
Section titled “Improve an existing script”Ask Genie for one focused improvement to an existing script, then review the change before you apply it.
Example prompts
Add better error handling around this find loop.Refactor this script so the hardcoded layout name comes from a variable.Upgrade this import flow so it validates missing data before commit.
Check the result
- The change stays within what you asked for, and the rest of the script is unchanged.
- Read any warning before you choose Apply.
- If the first result is close but not right, say what to change and ask again.