1 of 1 people found this helpful
Unfortunately you can only copy script steps from another script. It won't
paste text from the clipboard.
Sent from my mobile device... Please excuse typos.
Thanks Bruce, ah yes, thats unfortunate - would FM 12 Pro Advanced have that feature, or is it all manual in every FM version?
When copy/pasting FileMaker scripts, script steps, fields, tables, custom functions etc FileMaker Pro/Pro Advanced uses a XML format to store the copied objects in the clipboard. For example here's what one script step that uses the Set Field step looks like behind the scenes:
<fmxmlsnippet type="FMObjectList"><Step enable="True" id="76" name="Set Field"><Calculation><![CDATA["Andrew"]]></Calculation><Field table="Snippets" id="13" name="Name"></Field></Step></fmxmlsnippet>
You can manipulate this as long as you generate valid XML. This free plugin is useful if you want to learn more about the FileMaker clipboard formats:
I use it to keep a library of common table elements, scripts etc that I can quickly find and copy to the clipboard for pasting back into FileMaker Pro.
FileMaker 12/11/10/9/8 Certified Developer
- - - - - - - - - - - - - - - - -
Phone: +61 2 9484 6565
Mobile: +61 418 468 103