Considera offers many hooks for applescripts. Every class is open and manipulatable by using applescript. Here are some of the terms and how to use them.
entire text
This command returns the entire text of the currently selected document. If a document isn't selected, this returns an empty string. set x to entire text.
selected project
This command returns the currently selected project. You can then interact with this project using commands described in the project section. set x to selected project.
selected text
This returns the currently selected text of the currently selected document (whatever is highlighted in the main text view). When nothing is highlighted, it returns an empty string. set x to selected text.
selected document
You can get the currently selected document by using this. It is returned as a document as defined further down the page. If no document is selected, it throws an error. set x to selected document.
Each of the above can be reversed and data sent back to the application. For example, if you want to change the currently selected text, simply use set selected text to x, where "x" is a string.
properties
This returns a list of the properties of the document including things like its creation date and its category. set x to properties of selected document.
name
This is the name of the currently selected document. You can also retrieve this from the properties by getting the title attribute of the returned list. set x to name of selected document.
notes
This returns the notes of the document. The notes are returned as styled text so you can access the attribute runs of the text. set x to notes of selected document.
text
This returns the text of the document. The text is returned as styled text so you can access the attribute runs. set x to text of selected document.
All of the above attributes can also be set to be changed in Considera. Simply use the set command with an attribute. For example, you can change the name of a document by using set name of selected document to "New Name".
properties
This returns a list of the properties of the document including things like its creation date and its category. set x to properties of selected project.
name
This is the name of the currently selected document. You can also retrieve this from the properties by getting the title attribute of the returned list. set x to name of selected project.
notes
This returns the notes of the project. The notes are returned as styled text so you can access the attribute runs of the text. set x to notes of selected project.
All of the above attributes can also be set to be changed in Considera. Simply use the set command with an attribute. For example, you can change the name of a project by using set name of selected project to "New Name".