DevonthinkToGo

class apps.DevonthinkToGo

Actions for DEVONthink To Go.

clip(destination=None, title=None, comment=None, location=None, tags=None, flagged=None, unread=None, label=None) → str

Opens the New Document Assistant, pre- filled with the provided data.

create_bookmark(destination=None, title=None, comment=None, location=None, tags=None, flagged=None, unread=None, label=None) → str

Creates a new bookmark.

create_document(uti, source, destination=None, title=None, comment=None, location=None, tags=None, flagged=None, unread=None, label=None) → str

Creates a new document from UTI and file data.

create_group(destination=None, title=None, comment=None, location=None, tags=None, flagged=None, unread=None, label=None) → str

Creates a new group.

create_html(source, destination=None, title=None, comment=None, location=None, tags=None, flagged=None, unread=None, label=None) → str

Creates a new HTML document.

create_image(source, destination=None, title=None, comment=None, location=None, tags=None, flagged=None, unread=None, label=None) → str

Creates a new image.

create_markdown(destination=None, title=None, comment=None, location=None, tags=None, flagged=None, unread=None, label=None) → str

Creates a new Markdown document.

create_text(destination=None, title=None, comment=None, location=None, tags=None, flagged=None, unread=None, label=None) → str

Creates a new plain text document.

create_webarchive(destination=None, title=None, comment=None, location=None, tags=None, flagged=None, unread=None, label=None) → str

Creates a new webarchive.

Returns the item link for the currently selected document.

import_clipboard() → str

Imports data from the pasteboard to the global inbox.

retrieve_document_data(uuid) → str

Returns selected metadata of a document as JSON object.

retrieve_document_metadata(uuid) → str

Returns selected metadata of a document as JSON object.

retrieve_group_contents(uuid) → str

Returns a JSON array describing the contents of a group.

search(query, scope=None) → str

Search DEVONthink To Go and show or retrieve the results.

update_item(uuid, source=None, destination=None, text=None, title=None, comment=None, location=None, tags=None, flagged=None, unread=None, label=None) → str

Updates an existing item.