Professional Documents
Culture Documents
Peter Wagemans
Claris Technical Support FileMaker Developer for SHpartners Developer of DoScript, DoSQL and Clip Manager (myFMbutler) Clarify.net FileMaker Forum (Dutch)
Clipboard Flavours
multiple avours of the same data can be simultaneously put on the clipboard
Hello
TEXT UTF-8 UTF-16 RTF
{\rtf1\ansi \ansicpg1252\cocoartf1038 \cocoasubrtf360 {\fonttbl\f0\fnil\fcharset0 MyriadPro-Regular;} {\colortbl; \red255\green255\blue255 ;\red61\green94\blue118;} \deftab920 \pard \tx560\tx1120\tx1680\tx22 40\tx2800\tx3360\tx3920\t x4480\tx5040\tx5600\tx61 60\tx6720\pardeftab920\q c\pardirnatural
Hello
Hello
Hello
48 65 6c 6c 6f 20 82 48 65 6c 6c 6f 20 e3 fe 48 00 65 00 6c a8 82 cd 82 e6 82 a4 81 8a e3 81 af e3 82 00 6c 00 6f 00 20 00 88 e3 81 86 4a 30 6f 30 88 30 46 30
Clipboard Flavors
When passing clip avours between applications, the receiving application picks from the list of oered avours, depending on the context. Sometimes unexpected behavior
An example
...
FileMaker Clipboard
XML UTF-8 Similar to DDR (UTF-16)
Layout objects
technical term for the avour: XMLO the XMLO avour is not the only one on MacOS, there are extra PDF avours on Windows, there is an extra BMP avour this explains why you can copy a layout and paste it as a picture somewhere else
FileMaker doesnt look to the IDs when pasting, but to the strings.
Custom Functions
XMFN Since FileMaker Pro 11 Advanced One or more custom functions
Tools
360Works ScriptMaster plug-in 2Empower Clipboard Explorer Camp Software - FMClips TWDesigns - FileMaker Clipboard reader Work ow Data Systems - fmXRaySpecs myFMbutler Clip Manager
360Works ScriptMaster
FileMaker Plug-in Read/write FileMaker clipboard Groovy, build your own plug-ins $95 http://www.360works.com/scriptmaster/
TWDesigns
FileMaker Clipboard reader
AppleScript Read/Write FileMaker clipboard $19 http://www.twdesigns.com/products/ FileMakerClipboardReader.php
Why?
Scripts
Schema
Bene ts
Bene ts
Speed up your development time Code sharing Version Control (custom functions) Help my solution is damaged! (and the backup plan failed ...)
Layout Objects
XMLO DDR
<?xml version="1.0" encoding="UTF-8"?> <LayoutCatalog> <fmxmlsnippet type="LayoutObjectList"> <Layout> <Layout> <Table/> <ObjectStyle> <CustomMenuSet/> </ObjectStyle> <Options/> <Object> <ObjectStyle> </Object> </ObjectStyle> ... <Object> </Layout> </Object> </fmxmlsnippet> ... </Layout> </LayoutCatalog>
Custom Functions
XMFN DDR
<?xml version="1.0" encoding="UTF-8"?> <CustomFunctionCatalog> <fmxmlsnippet type="FMObjectList"> <CustomFunction> <CustomFunction> <Calculation> <Calculation> </Calculation> </Calculation> <DisplayCalculation> </CustomFunction> <Chunk> </fmxmlsnippet> </Chunk> </DisplayCalculation> </CustomFunction> </CustomFunctionCatalog>
Which order
Custom Functions (if not eld based) Tables with key elds only (if not calc based) Create all TO and relationships use fake relationships if required Create value lists if used in validations Leave data empty if based on elds Paste other elds Check relationships
Which order
Create all other value lists or correct them Create all layouts, but leave the empty Create all scripts Paste all layout content
Dont forget
Custom Menus Custom Extended privileges Security File Options Layout options and Layout Script Triggers Test, test, test ...
Discussion