-
-
Notifications
You must be signed in to change notification settings - Fork 37
Macro commands
Lines that start with # are comments.
# This is a comment
Go to another part of the macro file. Labels start with :
:Label
Goto Label
Lines that start with config.
can access config values and also perform expressions
config.test = 0
config.test = config.test + 1
If command
if config.test == 0
. displayMessage equals 0
elif config.test == 1
. displayMessage equals 1
else
. displayMessage not 0 or 1
fi
Any non-keyword command will be processed as a UBA command
MAIN:::KJV:::John 3:16
COMPARE:::John 3:16
PARALLEL:::NIV_CCB_CEB:::John 3:16
A line that starts with . executes the method in MainWindow.py. Format is ". method_name param_1, param_2".
. displayMessage Hello, Hola
Full size
. fullsizeWindow
Medium size
. twoThirdWindow
Top half
. topHalfScreenHeight
Bottom half
. bottomHalfScreenHeight
Left half
. leftHalfScreenWidth
Right half
. rightHalfScreenWidth
Move window
. moveWindow x, y
Set the size of the study window. 0 removes study window. 4 maximizes study window.
. setParallelSize [0-4]
Set the size of the instant window. 0 removes instant window. 3 maximizes instant window.
. setInstantSize [0-3]
Enable/disable instant information
. enableInstantInformation
. disableInstantInformation
Show/hide main toolbar
. showMainToolBar
. hideMainToolBar
Show/hide secondary toolbar
. showSecondaryToolBar
. hideSecondaryToolBar
Show/hide left side toolbar
. showLeftToolBar
. hideLeftToolBar
Show/hide left side toolbar
. showRightToolBar
. hideRightToolBar
Set the font size
. setFontSize [1-100]
Reloads the current record
. reloadCurrentRecord
Pause the macro execution and wait for either a space or q
press. If an integer is provided, will wait for X seconds, otherwise will wait for spacebar to be pressed.
. pause (secs)