Skip to content

Instantly share code, notes, and snippets.

@petrowsky
Created February 4, 2026 16:40
Show Gist options
  • Select an option

  • Save petrowsky/b508ab38f7fb80525aed9e4a27fca67b to your computer and use it in GitHub Desktop.

Select an option

Save petrowsky/b508ab38f7fb80525aed9e4a27fca67b to your computer and use it in GitHub Desktop.
<?xml version="1.0"?>
<fmxmlsnippet type="FMObjectList">
<Step enable="True" id="68" name="If">
<Restore state="False"/>
<Calculation><![CDATA[Get ( SystemPlatform ) = 1 // Mac OS]]></Calculation>
</Step>
<Step enable="True" id="89" name="# (comment)">
<Text>Legend: command=@, shift=$, control=^, option=~</Text>
</Step>
<Step enable="True" id="61" name="Insert Text">
<SelectAll state="True"/>
<Text>"Actual Size" "@^0" \&#xD;"Bottom" "@\$\\U0093" \&#xD;"Button Bar Setup" "^c" \&#xD;"Button Setup" "^c" \&#xD;"Buttons" "@^b" \&#xD;"Hide Window" "@^h" \&#xD;"Calculation" "@~l" \&#xD;"Center" "@\$\\U0092" \&#xD;"Centers" "@^\\U005B" \&#xD;"Change Theme\\U2026" "@t" \&#xD;"Conditional Formatting" "@^c" \&#xD;"Conditional\\U2026" "@\$c" \&#xD;"Container" "@~r" \&#xD;"Containers\\U2026" "@^\$c" \&#xD;"Create New\\U2026" "@~n" \&#xD;"Custom Functions\\U2026" "^=" \&#xD;"Custom Menus\\U2026" "@\$m" \&#xD;"Data Viewer" "^d" \&#xD;"Database Design Report\\U2026" "\\a" \&#xD;"Date" "@~d" \&#xD;"Delete All Records\\U2026" "@~d" \&#xD;"Delete Found Records\\U2026" "@~d" \&#xD;"Developer Utilities\\U2026" "\006" \&#xD;"Export Records\\U2026" "^x" \&#xD;"External Data Sources\\U2026" "@\$e" \&#xD;"Field\\U2026" "^f" \&#xD;"File Options\\U2026" "^o" \&#xD;"File\\U2026" "^i" \&#xD;"Folder\\U2026" "~^f" \&#xD;"Format Painter" "@^f" \&#xD;"Hide Window" "^h" \&#xD;"Largest Height" "@~^\\U2193" \&#xD;"Largest Width" "@~^\\U2192" \&#xD;"Layout Setup\\U2026" "@~l" \&#xD;"Merge Field\\U2026" "@~m" \&#xD;"Middles" "@^\\U005D" \&#xD;"New Window" "@^w" \&#xD;"Number" "@~n" \&#xD;"Other Color\\U2026" "\004" \&#xD;"Other Symbol\\U2026" "~^s" \&#xD;"Other\\U2026" "@^i" \&#xD;"Part\\U2026" "@^p" \&#xD;"Picture\\U2026" "^p" \&#xD;"Popover Button Setup" "^c" \&#xD;"Portal Setup\\U2026" "^c" \&#xD;"Quick Find" "@^q" \&#xD;"Sample Data" "@^s" \&#xD;"Save a Copy As\\U2026" "^s" \&#xD;"Script Debugger" "^b" \&#xD;"Security\\U2026" "@\$a" \&#xD;"Set Rulers\\U2026" "^r" \&#xD;"Set Tab Order\\U2026" "~^o" \&#xD;"Slide Control Setup" "^c" \&#xD;"Smallest Height" "@~^\\U2191" \&#xD;"Smallest Width" "@~^\\U2190" \&#xD;"Tab Control Setup\\U2026" "^c" \&#xD;"Text Boundaries" "@^t" \&#xD;"Themes\\U2026" "@\$t" \&#xD;"Time" "@~i" \&#xD;"Top" "@\$\\U0091" \&#xD;"Value Lists\\U2026" "@\$v" \&#xD;"View as Form" "@^1" \&#xD;"View as List" "@^2" \&#xD;"View as Table" "@^3" \&#xD;"Web Viewer Setup\\U2026" "^c" \&#xD;"Zoom In" "@^=" \&#xD;"Zoom Out" "@^-" \&#xD;"\\U005BStandard FileMaker Menus\\U005D" "@\\U238b"</Text>
<Field>$keys</Field>
</Step>
<Step enable="True" id="141" name="Set Variable">
<Value>
<Calculation><![CDATA["defaults write com.filemaker.client.pro12 NSUserKeyEquivalents -dict \\" &¶& $keys]]></Calculation>
</Value>
<Repetition>
<Calculation><![CDATA[1]]></Calculation>
</Repetition>
<Name>$shortcuts</Name>
</Step>
<Step enable="True" id="87" name="Show Custom Dialog">
<Title>
<Calculation><![CDATA["Terminal command"]]></Calculation>
</Title>
<Message>
<Calculation><![CDATA["Copy this terminal command in order to assign keyboard shortcuts."]]></Calculation>
</Message>
<Buttons>
<Button CommitState="False">
<Calculation><![CDATA["Cool"]]></Calculation>
</Button>
<Button CommitState="False"/>
<Button CommitState="False"/>
</Buttons>
<InputFields>
<InputField UsePasswordCharacter="False">
<Field>$shortcuts</Field>
<Label>
<Calculation><![CDATA["Copy: "]]></Calculation>
</Label>
</InputField>
<InputField UsePasswordCharacter="False">
<Field table="" id="0" name=""/>
</InputField>
<InputField UsePasswordCharacter="False">
<Field table="" id="0" name=""/>
</InputField>
</InputFields>
</Step>
<Step enable="True" id="70" name="End If"/>
</fmxmlsnippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment