 |
|
|
daVinci Script
Automation Software for the Windows platforms.
All the latest Windows platforms are supported, such as
XP/Vista/7,
Mobile 2002/2003/5/6
and Server 2000/2003/2008.
Status:
We are currently working with revision 2.0 of
daVinci Script, which
will
include essentially improved functionality, such as:
- Database support,
- Web services.
- Advanced image processing.
- Improved email sending for all platforms.
- Advanced Input Dialog for any kind of user input.
- Control Panel with background and event controlled processes.
- Math package with expression calculation. |
 |
| The new revision is planned to be released in January 2010. |

|
Downloading
temporarily stopped
while waiting for
revision 2.0. |
|
How works daVinci Script?
daVinci Script
is controlled through a very simple but powerful script language.
Instructions to daVinci are in the form of commands, with or without arguments, following a very strict and easy to understand syntax.
The main idea behind the command repertoire is that to have a set of powerful commands, capable to carry out even very complex tasks, and in that way to
considerably reduce the complexity of the script code.
|
What can daVinci Script do for you?
daVinci Script
makes available to you a wide range of functions, using which you will be able to completely automate your tasks, no matter of how complex or extensive they are.
The functions are divided into 11 groups, depending on their area of work:
1. User Interface Functions
- Open simple dialog boxes to display info messages, error messages, warnings, single images, and yes/no questions.
- Open dialog boxes for input of flags (check boxes), alternatives (radio buttons) and text items of different kinds.
- Open a dialog box to display text from files.
- Open a single or double progress bar and update it while your script is running.
- Open a container dialog box in which files can be dropped down.
- Open a text editor window in which local or remote files can be edited. Remote files can be located on any other machine (PC, mobile unit or server),
which is reachable through a Local Network, ActiveSync or the Internet (CGI and FTP channels are supported).
- Open a text window in which a selected part of a web page is constantly monitored.
- Open and close a debug window in which all executed commands and/or all printouts from the code are displayed (very useful while debugging extensive
and complex scripts).
- Open and close files for logging of executed commands and printouts from the code. Several different log files can be created by a single script each time
it runs.
- Define for the debug, edit and monitor windows and also for all the input items in the dialog boxes their dimensions, their displacement on screen, the
text font to be used, its color and the background color for the window or input field.
2. Text Processing Functions
- Extract portions of text from text variables.
- Replace or remove portions of text in text variables.
- Extract CSV (Comma Separated Values) parameters (especially useful while scanning data exported from MS Excel).
- Encrypt and decrypt text and encrypt passwords before they are included in your script code.
3. File and Folder Manipulation Functions
- Read and manipulate file attributes.
- Retrieve the size of single files, group of files or folders with all their contents (subfolders).
- Read and manipulate file and folder times.
- Make lists of files or folders that can be scanned later using other instructions. Sort the list entries in alphabetical order, after size, after the last
modification time, after type or randomly.
- Pickup the oldest or newest file from a certain folder (possibly including subfolders).
- Pickup a randomly chosen file from a certain folder (possibly including subfolders).
- Create, copy, move and delete files and folders.
- Purge folders from all files matching a list of defined filename extensions.
- Rename groups of files, possibly assigning a serial number to each one of them.
- Compress and expand files and folders according to the
NTFS standard.
- Compress and expand files and folders according to the standard
ZIP algorithm.
- Encrypt and decrypt files and folders according to the
NTFS standard.
- Encrypt and decrypt files and folders according to the MD5 128-bit hash encryption algorithm.
- Find, extract, replace, delete and filter text or data in files.
- Find and extract plain text from
HTML files.
- Write or append text to files.
- Sort lines in text files in alphabetical order.
- Sort lines in CSV files in alphabetical order applied to a certain CSV parameter.
- Convert text files between different formats (Unix v. Windows or ANSI v. MULTIBYTE v. UNICODE).
- Concatenate text or data files (text file format automatically converted as necessary).
- Launch an application with or without arguments.
- Open a file using the associated application (or launch it if it has an
.exe extension).
- Kill a process or application connected to a named window.
- Create Windows shortcuts and places it in specified folders.
- Convert an MS Word document to different formats (as a complete web page for instance).
- Open an MS Office document and launch a predefined macro.
4. Internet Related Functions
- Download files from a WEB server via HTTP.
- Extract a portion of text directly from a web page via HTTP.
- Upload and download files and folders via FTP.
- Create, delete and list files and folders via FTP.
- Pickup and list files randomly via FTP.
- Synchronize files and folders through a server via FTP.
- Send CGI requests (GET and POST) to a server.
- Upload and download files via CGI (requires daVinci installed on server side).
- Retrieve the actual external IP address for the host computer (requires daVinci installed on server side).
- Compose and send emails (also with attachments).
5. Image Processing Functions
- Load an image from a file (BMP, GIF,
PNG, JPEG, ICO,
TGA, PCX, EMF
or WMF) or from the clipboard.
- Save an image to a file (BMP, GIF,
PNG, JPEG, TGA
or PCX) or to the clipboard.
- Resize or crop a loaded image.
- Convert image files between different formats.
- Capture the image from a named window.
6. Time Related Functions
- Get or set the current time and date.
- Compute with time/date entities (ADD and SUBTRACT).
- Wait (hold script execution) for a certain number of seconds or milliseconds.
- Hold script execution and set up a timer which will resume execution after a certain number of seconds or milliseconds, or at a specified date and time.
- Setup up to 10 timers for concurrent time measurement and log elapsed times.
- Visualize logged measured times.
7. Registry Manipulation Functions
- Create, delete, read and modify Registry values.
- Create and delete Registry keys.
- Search the Registry for keys, values and data.
- Dump a part of or the whole Registry contents.
8. Mobile Access Functions (through ActiveSync)
- Retrieve or set the owner info on a connected mobile unit.
- Retrieve Operating System info from a mobile unit.
- Retrieve or set hardware button info on a mobile unit.
- Read and manipulate file attributes on a mobile unit.
- Read and manipulate file and folder times on a mobile unit.
- Retrieve the size of single files, group of files or folders with all their contents (subfolders) on a mobile unit.
- Make lists of files or folders that can be scanned later using other instructions. Sort the list entries in alphabetical order, after size, after the last
modification time, after type or randomly on a mobile unit.
- Pickup a randomly chosen file from a certain folder (possibly including subfolders) on a mobile unit.
- Create, copy, move and delete files and folders on a mobile unit.
- Purge folders from all files matching a list of defined filename extensions on a mobile unit.
- Rename groups of files, possibly assigning a serial number to each one of them on a mobile unit.
- Move file and folders from the PC to a mobile unit and vice versa.
- Create, delete, read and modify Registry values on a mobile unit.
- Create and delete Registry keys on a mobile unit.
- Search the Registry for keys, values and data on a mobile unit.
- Dump on PC side a part of or the whole Registry contents from a mobile unit.
- Open a file using the associated application on a mobile unit (or launch it if it has an
.exe extension).
- Launch an application on a mobile unit, with or without arguments.
- Install a software package (CAB file) on a mobile unit.
- Create Windows shortcuts and places it in specified folders on a mobile unit.
- Map hardware buttons to applications or shortcuts on a mobile unit.
- Restore hardware button mapping on a mobile unit.
9. System Information and Window Control Functions
- Read and modify owner information.
- Retrieve Operating System information.
- Retrieve hardware information (for now available on mobile units only).
- Retrieve or set hardware button information (mobile units only).
- Map an existing shortcut to a hardware button (mobile units only).
- Restore to its original value the mapping for a certain hardware button (mobile units only).
- Change the value of a security policy flag (mobile units only).
- Performs a soft reset (mobile units only).
- Retrieve screen dimensions.
- Retrieve the host computer name.
- Retrieve the host computer serial number (for PC one serial for each hard disk drive).
- Retrieve the local (internal) IP address (normally not the same as the external one).
- Retrieve the handle of a certain application window (identified by its title) or for one of its child windows (identified by point coordinates).
- Bring a window to top level and activate it (give it the focus).
- Move or resize a window.
- Send a mouse click or a keyboard string to a certain window's child window (identified by point coordinates).
- Send a keyboard key or a keyboard string to the currently active window (the one with the focus).
10. Remote Control Functions
- Put the current unit in standby mode, waiting for scripts to be sent by remote units via a local network, ActiveSync or the Internet (CGI
or FTP).
- Upload and execute a portion of script code on a remote unit (PC, mobile unit or server) and wait (optional) for execution completion and acknowledgment.
Note:
From a PC or a mobile unit you will be able to remotely control other PC, mobile units and Windows servers.
You will also be able to embed remote scripts inside remote scripts. For instance you could send to a remote PC
a script which instructs it to send another script to a directly connected mobile unit.
11. Program Flow Statements
- Definition of variables.
- Definition of functions that can be called from anywhere in the code. Up to 9 arguments can be passed through a function call.
- Inclusion of any number of external script files. Included script files are also allowed to include other files (10 levels down).
- A large number of conditional statements (If/Else/Endif) comparing boolean, text, numeric and time values.
- Simple arithmetic functions for number values, plus a random number generator.
- Various types of loops, running for a predefined number of times, over all defined system parameters, over all lines in a text file, or over all files/folders
found inside a certain folder.
- Turn on and off the displaying of execution error messages.
- Holding of script execution (Pause) and premature script termination (Exit).
|
| Related Links: |

See the functional overview in order
to get a general understanding of
daVinci Script's capabilities and its built-in power. |

Open the the
daVinci Script's
Functional Description and look
through the pages in order to learn
more about the product. |

See a few examples about what you can do with
daVinci Script.
Complete script code with extensive explanatory comments is available. |

Visit the official Carso home
page and read more about the company behind the
daVinci Script
product. |
|
|
|
|
|
Produced by Carso | Last update: 2009-10-23
|
|
|