Scripting API
- API
- add_depend_item(int64, int64)
- add_folder_to_notepad()
- create_folder()
- create_item()
- create_sub_item()
- debug()
- display()
- get_advance_warning_days()
- get_alarm_folder_id()
- get_alarm_item()
- get_contain_date()
- get_current_calendar_date()
- get_cur_filename()
- get_current_item()
- get_current_notepad_id()
- get_depend_items()
- get_folder_id()
- get_folder_item_count()
- get_folder_items()
- get_folder_name()
- get_folder_recurring_type()
- get_folder_rule()
- get_folder_type()
- get_folder_value()
- get_item_children()
- get_item_index()
- get_item_parent()
- get_item_recurring_type()
- get_item_text()
- get_item_type()
- get_max_itemid()
- get_next_recurring_date()
- get_prev_recurring_date()
- get_select_items()
- get_sub_folders()
- get_tickler_color()
- get_tli_items()
- has_contain_date()
- has_depend_item()
- is_item_show_in_tickler()
- is_valid_itemid(item_id)
- item_id
- lock_item()
- msgbox()
- remove_depend_item()
- remove_folder_from_notepad()
- set_advance_warning_days()
- set_current_calendar_date()
- set_folder_rule()
- set_folder_value()
- set_item_show_in_ticker()
- set_item_text()
- set_result()
- set_tickler_color()
- trigger_rule()
- unlock_item(int64)
API
add_depend_item(int64, int64)
Description |
This function allow the user to set dependencies to an item |
---|---|
Syntax |
add_depend_item(item_id, ditem_id) |
Parameters |
itemid, |
Pre-requisites |
|
Return Values |
|
Example |
for inc1 = 2,MaxNumber do
|
add_folder_to_notepad()
Syntax |
add_folder_to_notepad(int64, int64) add_folder_to_notepad(folder, notepad) |
---|---|
Description |
Adds a folder to a notepad. You can use FolderName or FolderID or the NotepadName or NotepadID. |
Parameters |
The cursor remains at the item where the command was issued, it is not repositioned. |
Pre-requisites |
|
Return Values |
None |
Example |
This code snipet gets teh current notepad id and displays its value then adds the 'Rules' folder to the end of the notepad add_folder_to_notepad(folder_id(folder_name), notepad_id(notepad_name)) x=get_current_notepad_id() + add_folder_to_notepad('Rules',x) |