Creating Scripts
Marvin use a convention on acitivities creation, making it easier for you to develop your automation scripts.
Convention
All automation scripts are folders created inside scripts
folder, of your Marvin installation.
1. Script file: a text file named script.mvn
, with your automation script.
2. Fail script file: a text file named fail.mvn
with the automation script used in case of script.mvn
fails on execution. This should be used to close opened programs, get further information about machines current status, and other necessary actions in case of fail. This file is optional, if non fail.mvn
file is given, no further actions will be done in case o script fail.
3. Assets: files used by the script, usually made by template images. All assets must be placed inside the assets
folder. Assets folder are optional.
So, as set, a automation called test
that clicks on the Windows Start icon, will look like this:
test\
assets\
windows.png
script.mvn
fail.mvn
This test
folder should be create inside <Marvin home folder>\scripts\
folder.