
Rename variables with fmCheckMate
Quick and easy
You can do this even more quickly and intuitively with fmAutoMate!
You can quickly rename script variables using fmCheckMate:
- Copy (or cut) all the script steps where the variable is used
- Open fmCheckMate
- Convert to XML - [
Convert Clipboard] or ⌘2 from fmWorkMate press ⌘2 twice - In the Search field: $old name, the ⇥…
- In the Replace field: $new_name
- To replace and convert back to FileMaker objects on the clipboard
- either
- Click
[R]or press ⌥⌘A to replace all and - Click
[→ FM]or press ⌥⌘V to convert back to the FileMaker clipboard
- Click
- or
- Press ⌥⇧⌘V (for replace all) to do it in one keypress
- either
- In FileMaker paste the changed code back into your FileMaker script workspace.
This process helps ensure consistent and error-free variable renaming throughout your scripts.
Killer keyboard mode
To rename variables
FileMaker ⌘X • fmWorkMate ⌘2 • fmCheckMate ⌘2 • $old name$ • ⇥ • $new_name • ⌥⇧⌘V • FileMaker ⌘V
alternatively, using the fmCheckMate convert clipboard shortcut key:
fmCheckMate ⌥⌘C • $old name$ • ⇥ • $new_name • ⌥⇧⌘V
To repeat the last replacement
…you can use the menu option or shortcut key:
XML Editor > Edit XML > FM → Replace All → FM Clipboard ⌥⇧⌘C