A collection of sample scripts to get AppleScripters started with Mori. Including a bunch of basic scripts showing how to access and manipulate entries, and a number of more complicated scripts that might actually be useful. Including scripts to assemble entries, export entry to ipod, get current page from safari, and import current mail message.
Update: As of Mori 1.4 the Mori Sample Scripts collection comes on the Mori disk image (DMG) file when you download Mori. Use those scripts for the latest versions.
Handling text attributes with applescript...
Leaving this as a note to myself for the next that that I update the Sample Scripts collection. Here's a way to copy the contents of one entry note into another entry note that will also copy over text attributes:
tell application "Mori"
tell front document
set a to entry named "a"
set b to entry named "b"
set t to a reference to note of a
set note of b to t
end tell
end tell