Difference between revisions of "Phonebot developer's reference/Sample applications"
From EtherWiki
(No difference)
|
Revision as of 14:24, 28 October 2011
Contents
Agent
- Uses
application.open_application(name)to open external processes - Creates a user
databaseto save previous commands
Calculator
- Each number key contains the same script in its OnClick event by using the
thiskeyword.
Notepad
- Creates a user
databaseto save notes - Uses the
mapobject to sort notes - Uses
listnamed objects to store database records within the visual list
Services
- Contains several examples of each type of
service - The "Twitter feed" module uses
jsonobjects to parse the data returned from the Web service call
Time tracker
- Creates two user
databases - Uses
datetimeobjects to manage timestamps and durations - The application contains application scoped variables
- The "Menu" module uses module scoped variables