|
|
|
|||
|
|||
![]()
Is there documentation for how to use the built-in Qapp APIs inside of NetBrain IE7?
The on-line help documentation is pretty sparse. It lists the built-in APIs, but doesn't give any examples of use, and doesn't detail supported syntax/usage. Documentation for a few simple examples would be very helpful. For example, how to use NoteType to AddMessage to just say "Hello World!". |
|
|||
|
|||
![]()
Attached is a sample image I was sent from support. Shows how to use DrawDeviceNote to make a simple "hello world" message.
To use it you can create a Script type of Output from a Table inside the canvas and enter this: Quote:
|
|
|||
|
|||
![]()
By default DrawDeviceNote only accepts one value for 'content'. Either a single variable, or a single quoted string.
If you want to use a single message (single line) that includes both a string and a variable, you can concatenate them before you call the function to draw the note. For example, to draw a note that includes the message of the device name but preface it with text saying "Device Name: " you can use this script: Code:
notetxt = "Device Name: " + $this DrawDeviceNote($this, "This is note title", notetxt, NoteType.Append) |
![]() |
Bookmarks |
Tags |
api, python, qapp |
Thread Tools | Search this Thread |
Display Modes | |
|