Using Scripts
Last updated
Last updated
Use scripts to automate Bike and integrate with other apps. You can find existing Bike scripts on Bike's extension wiki. This section shows how to run scripts that someone else has written. If you want to create your own scripts please see the Creating Scripts section.
Open the "Script Editor" application that comes with your Mac.
Paste the following script into a new editor window.
Make sure that the scripting language is set to "AppleScript". (Use View > Show Navigation Bar
if no language selector is displayed at the top left of the document).
Press the "Play" button to run the script. This script will create a new document named "Testing!". It deletes any welcome text that may be inserted into the document. Then it adds a "Hello" row to the document that contains a "World" row.
I recommend that you first close your documents and create a new test document before running the script. You want to be sure that the script does what you want it to do, before you run it on your real work!
To install a script in the system script menu:
Open Script Editor and choose Help > Script Editor Help. Search for the help section "Access your scripts using the Script menu". That will lead you through the steps of enabling and saving scripts into the system script menu.
You can also use FastScripts or Keyboard Maestro to run your scripts with assigned keyboard shortcuts.