journler.com  | forums  | wiki
Journler's AppleScript support is robust, providing scripters access to a user's entries, folders, media and blogs as well as a number of user interface items. Third party scripters can use AppleScript to modify a journal internally or pass its contents to other applications and processes.

The In-program Scripts Menu

The Journler download includes a set of default Apple Scripts. You must install them before they are accessible via the scripts menu in the program's menu bar. To install the scripts create a Journler folder in your Home folder > Library > Scripts and add them to it. You may need to create the Scripts folder if it is not already there.

You can add your own scripts to the menu. Fill it with any of your homebrewed scripts or those you have found online. In fact, you can put any documents or applications in this folder and have immediate access to them from with Journler via the scripts menu, organized into the subdirectories you have specified.

If you'd like to create a few scripts of your own but need some help getting started, have a look at what's included. Open any of the example scripts in the Script Editor application by holding down the alt/option key as you make your selection. Show the script in the Finder by hodling down the shift key instead.

The Customizable Media Bar

Journler's built-in media viewer may be customized to run Apple Scripts on the selected media. This is a powerful feature that allows you to initiate a custom workflow on any media in your journal. Read more.

Getting Help

The first place to look for information on scripting Journler is Journler's scripting dictionary. Launch the Script Editor application and add Journler to the Library. From here you have complete access to the objects, commands and enumerations supported by Journler.

Next you'll want to check out the AppleScript page at journler.com. The page include a comprehensive set of examples that cover just about everything you can do with Apple Script and Journler. Finally, you'll find more help on scripting Journler at the AppleScript and Automator forum. For master scripters it's a place to share your creations with the Journler community and exchange ideas.

Collecting entries and adding them to the search index

Anticipating that an Apple Script may create dozens or even hundreds of entries in a matter of minutes, Journler delays adding a script modified entry to its entries index and appropriate smart folders. When you have finished creating or changing a batch of new entries, call the save changes command at the application level to update your smart folders and search index.