Skip to content

Using Scripts ​

Scripts automate Bike and connect it with other apps. Find scripts on Bike's extension wiki, or write your own with Creating Scripts.

Which automation should I use? ​

  • Shortcuts: no code. Start here.
  • Scripts (AppleScript): more control, and works with other Mac apps.
  • Extensions: add a real feature (a command, view, or style) to Bike.
  • Command line tool: for the terminal and other tools.
  • MCP server: for AI assistants.

To try a script ​

  1. Open Script Editor, which comes with your Mac.
  2. Paste this script into a new window, with the language set to AppleScript.
  3. Click the Run button. Bike makes a "Testing!" document with a "Hello" row containing a "World" row.
applescript
tell application "Bike"
  tell (make document with properties {name:"Testing!"})
    delete every row -- remove any welcome text
    tell (make row with properties {name:"Hello"})
      make row with properties {name:"World"}
    end tell
  end tell
end tell

TIP

Try scripts from other people on a new test document first, not on your real work.

To run scripts from a menu or shortcut ​

  • Turn on the Script menu in Script Editor's settings, then save scripts into its folder. In Script Editor, choose Help > Script Editor Help and search for "Script menu" for details.
  • Or use FastScripts or Keyboard Maestro to give scripts keyboard shortcuts.

See also ​