Table of contents
Quick start guide
Data types
Logic blocks
Action
Control
Info
Command line mode
Quick start guide
The simplest use case is just recording and replaying your actions. Start by clicking record button. Visit some websites, open some programs, click somewhere. Program will remember all you did. When you finished click the same button again or press double Esc. You will see your actions in the algorithm window where you can edit them. For example, add loops, commands or functions to achive desired behaviour. To adjust your algorithm you should use logic block which are described below. When you want to replay your actions just press the launch button.

Data types
areaScreen area
booleanTrue or false
callCall of arbitrary function with specified arguments
captureFragment of screen image
customCustom sequence of bytes
durationTime interval in seconds
keycodeMouse or keyboard button
keycommandCombination of mouse or keyboard buttons
languageA language
numberA real number
offsetScreen position offset
positionPosition on screen
scriptA piece of code
textSequence of letters
timestampTime point
variantPiece of data of arbitrary type
Logic blocks
Action
Groups of blocks that perform actions and apply changes to environment. They receive optional parameters and usually return whether action successful or not.
click
Clicks left mouse button
Arguments:
position : position
duration : duration
Returns: boolean
press
Presses buttons or their combination
Arguments:
key : keycommand
Returns: boolean
hold
Presses and holds a key
Arguments:
key : keycode
Returns: boolean
release
Releases previously pressed key
Arguments:
key : keycode
Returns: boolean
move cursor
Moves mouse cursor to specified area
Arguments:
position : position
duration : duration
Returns: boolean
mouse wheel
Moves mouse wheel
Arguments:
delta : number
duration : duration
Returns: boolean
wait
Waits specified amount of time before executing next block
Arguments:
duration : duration
Returns: boolean
wait till
Waits till specified time point
Arguments:
time : timestamp
Returns: boolean
say
Converts text to speech (only local language is supported)
Arguments:
text : text
mode : text
Returns: boolean
offset cursor
Shifts mouse pointer towards current position
Arguments:
offset : offset
duration : duration
Returns: boolean
set clipboard
Writes data to clipboard
Arguments:
data : custom
Returns: boolean
input text
Inputs text as it was typed on keyboard
Arguments:
text : text
Returns: boolean
run script
Executes custom script. Use to perform data modifications or actions not available in other blocks.
Arguments:
script : script
input : custom
Returns: custom
call function
Executes previously defined function
Arguments:
call : call
Returns: variant
add command
Creates a command that should be executed on user request. For example, open mail, text message, launch program
Arguments:
call : call
hotkey : keycommand
name : text
Returns: none
add message to log
Prints message in log
Arguments:
message : custom
important : boolean
Returns: none
quit
Stops algorithm execution
Returns: none
nothing
Does nothing
Returns: none
Control
These blocks manage child blocks execution and define order of execution, number of iterations etc.
if
Executes first or second block if condition is evaluated to true or false
Arguments:
condition : boolean
Returns: variant
while
Second block is executed while first block is evaluated to true
Returns: none
repeat
Executes block specified number of times
Arguments:
count : number
Returns: none
group
Group of blocks executed immediately
Returns: variant
function
Function are created anywhere and executed later with arguments
Returns: variant
Info
Info blocks are used to gather or transform information for other blocks. They do not change algorithm environment.
image position
Returns location of specified image on screen. Set Area parameter to restrict search region.
Arguments:
area : capture
region : area
Returns: position
read
Reads text from image
Arguments:
image : capture
language : language
Returns: text
image from area
Extracts image from area
Arguments:
area : area
Returns: capture
rectangular area
Converts two points to rectangular area
Arguments:
corner_1 : position
corner_2 : position
Returns: area
get clipboard
Reads data from clipboard
Returns: boolean
value
A fixed value
Arguments:
value : variant
Returns: variant
argument
Piece of data from outside. Receives data passed to functions or to entire script
Returns: variant
not
Transforms true or anything to false, false or nothing to true.
Arguments:
input : boolean
Returns: boolean
and
Returns true when all arguments are not empty
Arguments:
input1 : custom
input2 : custom
Returns: variant
or
Returns first non-empty element or false
Arguments:
input1 : custom
input2 : custom
input3 : custom
input4 : custom
Returns: variant
Command line mode
You can invoke Reprise Assistant in external scripts or applications in different ways using the following pattern:
[path to Reprise Assistant] [.vmsc file] [parameters]

Where parameters are one or more optional items from the list below:
-cmd
Command line mode
Hides application user interface and silently executes specified algorithm file
-args
Argument list
Passes data for root argument blocks and allows to execute algorithm with parameters

For example, "C:/Program Files(x86)/RepriseAssistant/bin/launcher.exe" "C:/test.vmsc" -args "Hello" "world"