forked from petrowsky/filemaker.tmbundle
-
Notifications
You must be signed in to change notification settings - Fork 14
Clipboard manipulation
Donovan Chandler edited this page May 22, 2014
·
4 revisions
This set of functionality allows you to work with FileMaker objects on the clipboard. You can extract, manipulate, generate and load clipboard data! The objects are read in the text editor as XML. The XML is called an fmxmlsnippet.
There are two central commands for getting data from the clipboard and loading it to the clipboard:
Shortcut | Name | Action |
---|---|---|
⌘+Opt+B | Get Snippet From Clipboard | Opens FileMaker clipboard contents as new XML document |
⌘+B | Load Snippet to Clipboard | Loads current XML document to FileMaker's clipboard as snippet |
Note, you must have the current XML document assigned to the FileMaker Clipboard language in order to use these shortcuts.
See Getting the Clipboard (Into TextMate)
Here's a very simple example of how a workflow might look:
- Copy script steps in FileMaker
- Switch to TextMate
- Get snippet from clipboard using ⌘-⌥-B
- Manipulate text
- Change variable names
- Change table occurrence names
- Change function name
- Add function parameter
- Load the snippet to FileMaker's clipboard using ⌘-B
- Switch to FileMaker
- Paste in your new script steps