From the course: FileMaker: Tips, Tricks, and Techniques
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Using file-based triggers (open and close scripts) - FileMaker Pro Tutorial
From the course: FileMaker: Tips, Tricks, and Techniques
Using file-based triggers (open and close scripts)
- The last set of script triggers, aren't really that new, they've actually kind of been around in the platform for many many versions. But now they're called file based triggers. You can see them under the File, File Options menu, and if you look for the Tab for script triggers, you'll see all the different file based triggers, listed here. Primarily, you're really looking at the OnFirstWindowOpen Trigger, which activates upon opening the first window of the file. So, it's really the on open trigger. And then there's the OnLastWindowClose which runs just before the final window of the file closes, which is really like your last chance to run a script before the user session closes. Then there's the OnWindowOpen, which means any window which is a little aggressive but you can use that for back button or sort of breadcrumbs navigation. Or OnWindowClose which should be called OnAnyWindowClosed, same kind of thing…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.