SharpFM is a cross-platform (Mac, Windows, Linux) FileMaker Pro Developer Utility for migrating FileMaker code between files, sharing code with other developers, or inspecting what's happening under the hood. Copy scripts, layouts, tables, and fields from FileMaker Pro, edit them in structured editors, and paste them back -- across machine barriers like Remote Desktop, Citrix, or anything that supports plain text.
Head over to Releases and grab the latest version for your platform (Windows, Mac, Linux).
SharpFM and FileMaker must be running on the same computer. To share clips across machines, use the XML files directly.
- Open SharpFM and FileMaker side by side.
- In FileMaker, copy something to the clipboard (scripts, tables, layouts, etc).
- In SharpFM, use Edit > Paste from FileMaker (
Ctrl+V). - The clip appears in the left panel with the appropriate editor on the right.
- Select a clip in the left panel.
- Use Edit > Copy to FileMaker (
Ctrl+Shift+C). - Switch to FileMaker and open the appropriate destination (Database Manager, Script Workspace, Layout mode, etc).
- Paste as you normally would.
- File > New Script (
Ctrl+N) -- creates an empty script clip with the FmScript editor. - File > New Table (
Ctrl+Shift+N) -- creates an empty table clip with the DataGrid editor.
Select a script clip to open the plain-text script editor with FmScript syntax highlighting, autocomplete, bracket matching, and validation diagnostics. Edit the script text directly -- changes sync to the underlying XML automatically.
Select a table clip to open the DataGrid editor with columns for Field Name, Type, Kind, Required, Unique, and Comment. Use + Add Field to add fields, Remove or Delete to remove them. Change a field's Kind to Calculated or Summary, then click Edit Calculation... for the calculation editor.
Use the XML Viewer plugin (Ctrl+Shift+X) to open a live XML panel alongside any structured editor. Edits in either direction sync automatically -- change the script and the XML updates, edit the XML and the script rebuilds.
SharpFM persists clips as XML files in a local folder.
- File > Save All (
Ctrl+S) -- saves all clips to the current folder. - File > Open Folder... -- load clips from a different folder.
- Clip files are plain XML and can be shared via git, email, or any text-based tool.
| Shortcut | Action |
|---|---|
Ctrl+N |
New Script |
Ctrl+Shift+N |
New Table |
Ctrl+V |
Paste from FileMaker |
Ctrl+Shift+C |
Copy to FileMaker |
Ctrl+S |
Save All |
Ctrl+Shift+X |
Toggle XML Viewer |
| Menu | Items |
|---|---|
| File | New Script, New Table, Open Folder..., Save All, Exit |
| Edit | Paste from FileMaker, Copy to FileMaker, Copy as C# Class |
| Plugins | Loaded plugins (toggle panels), Manage Plugins... |
- Copy FileMaker Scripts, Tables, Fields, and Layouts to their XML representation and back.
- Persist clips as XML files shareable via git, email, or other text-based tools.
- Plain-text script editor with FmScript syntax highlighting, autocomplete, and validation.
- DataGrid table/field editor with inline editing, calculation editor, and type/kind selection.
- Live bidirectional XML viewer -- edit XML or structured data, both stay in sync.
- Extensible plugin architecture for adding custom panels and tools.
SharpFM supports plugins via the SharpFM.Plugin contract library. Plugins are loaded from the plugins/ directory at startup and can be managed from Plugins > Manage Plugins....
- XML Viewer -- Live XML panel with syntax highlighting and bidirectional sync (
Ctrl+Shift+X). - Clip Inspector -- Displays clip metadata (name, type, element count, size).
- Create a .NET 8 class library referencing
SharpFM.Plugin. - Implement
IPanelPlugin-- provide anId,DisplayName,CreatePanel()returning an AvaloniaControl. - Use
IPluginHostinInitialize()to observe clip selection changes and content updates. - Optionally register keyboard shortcuts via
KeyBindingsand custom menu actions viaMenuActions. - Build the DLL and drop it in the
plugins/directory.
See src/SharpFM.Plugin.Sample/ for a complete working example.
While SharpFM is licensed under GPL v3, plugins that communicate solely through the interfaces in SharpFM.Plugin are not required to be GPL-licensed. See the plugin interface source files for the full exception clause.
Logs are stored in ${specialfolder:folder=CommonApplicationData}\SharpFM and are automatically rotated after thirty days.
- Apple Script utility: https://github.com/DanShockley/FmClipTools
- FileMaker based Generator: https://github.com/proofgeist/generator
sharp teeth monster by Kanyanee Watanajitkasem from Noun Project (CC BY 3.0)
