 |
|
|
|
| |
Overview - Summary of available Functions |
|
| |
| |
The daVinci Script functions are divided into the following 11 groups, depending on their area of work.
1. User Interface
2. Text Processing
3. File and Folder Manipulation
4. MS Office Interface
5. Database Interface
6. Internet Communication
7. Multimedia
8. Direct Mobile Access
9. System Info and Application Control
10. Remote Control
11. Program Flow
|
|
|
| |
1. User Interface |
|
| |
User Input
- Standard dialog boxes for messages and warnings with yes/no questions.
- Customized dialog boxes for input of flags (check boxes), alternatives (radio buttons) and text items of different kinds.
- Customized dialog boxes for drag and drop of files.
See functional description»
Info Output
- Standard dialog boxes to display info messages, error messages, and warnings.
- Customized dialog boxes to display info messages or text from files.
- Customized dialog boxes for visualization of images with move and zoom functions.
- Multifunctional progress bar dialog.
See functional description»
Input Dialog
- Customized input dialog with access to all the common input controls, like customized buttons, check boxes, radio buttons with or
without frames, edit fields, spin and slider controls, single and multi-selection lists, drag-and-drop areas, interactive images, calendar
and timer controls, and much, much more.
See functional description»
Control Panel
- Customized control panel with optional foreground and background processes, event-generating controls, like buttons, check boxes,
radio buttons, frames, edit fields, spin and slider controls, single and multi-selection lists, drag-and-drop areas, interactive images.
In addition, possibility to hide and show any of the controls at any time and possibility to run internal or external scripts or to launch
other applications when events occur.
See functional description»
Editor and Monitor
- Window for monitoring of partial web page contents in text format.
- Window for monitoring of text files, local or remote, through different channels (CGI, FTP, ActiveSync).
- Window for editing of text files, local or remote, through different channels (CGI, FTP, ActiveSync).
See functional description»
Debugger
- Combined window for displaying of all executed instructions and/or printouts from the script. Possibility to temporarily stop the execution,
to resume it and to terminate it.
See functional description»
Log handling
- Possibility to open and close files for logging of executed commands and printouts from the script. Several different log files can be
created by the same script.
See functional description»
Miscellaneous
- Definition of size, position, fonts and colors for customized dialogs and debugger window.
See functional description»
|
|
|
|
| |
2. Text Processing |
|
| |
Plain Text
- Copying and pasting of text from the clipboard to variables and vice versa.
- Extraction, replacement or removal of portions of text in variables.
- Extraction from file paths of folder paths and filenames.
See functional description»
Formatted Text
- Extraction of parameters from a line in CSV format (Comma Separated Values). Different separators can be used.
See functional description»
HTML Text
- Conversion of strings in HTML format to plain text.
See functional description»
Encryption
- Encryption and decryption of text strings with or without password.
- Encryption of passwords to be included in script files.
See functional description»
|
|
|
|
| |
3. File and Folder Manipulation |
|
| |
General Info
- Reading and manipulation of file attributes.
- Retrieving of the size of single files, group of files or folders with all their contents (subfolders).
- Reading and manipulation of file and folder times.
- Creation of lists of files or folders that can be scanned later using other instructions, including sorting of the list entries in alphabetical
order, after size, after the last modification time, after type or randomly.
- Possibility to pickup the oldest or newest file from a certain folder (possibly including subfolders).
- Possibility to pickup a randomly chosen file from a certain folder (possibly including subfolders).
See functional description»
Folder Manipulation
- Standard folder operations, like copy, move and delete.
- Possibility to purge folders from all files matching a list of defined filename extensions.
See functional description»
File Manipulation
- Standard file operations, like copy, move and delete.
- Renaming or numbering of groups of files.
See functional description»
Compression
- Compression and expansion of files and folders according to NTFS standard.
- Compression and expansion of files and folders according to ZIP standard, with or without encryption.
See functional description»
Encryption
- Encryption and decryption of files and folders according to NTFS standard.
- Encryption and decryption of files and folders according to the MD5 128-bit hash encryption algorithm.
See functional description»
Text Processing
- Possibility to find, extract, replace, delete and filter text in text files.
- Possibility to write or append text to files.
- Sorting of lines in text files in alphabetical order.
- Sorting of lines in CSV files in alphabetical order applied to a certain CSV parameter.
- Conversion of text files between different formats (Unix v. Windows or ANSI v. MULTIBYTE v. UNICODE).
- Concatenation of text files (file format automatically converted as necessary).
See functional description»
HTML
Processing
- Possibility to find and extract plain text from
HTML files.
See functional description»
Data
Processing
- Possibility to find, extract, replace, delete and filter data in binary files.
- Concatenation of data files.
See functional description»
Packaging
- Creation of packages of files, compressed and/or encrypted, as a database (designed for quick extraction).
- Extraction of single files or all files from packages.
See functional description»
|
|
|
|
| |
4. MS Office Interface |
|
| |
Conversions
- Conversion of MS Word and MS Excel documents to different formats, like web pages, XML, etc.
See functional description»
Macro Execution
- Launching of macros embedded in existing MS Office documents.
- Execution of macro code, located in an internal variable or in a text file, using one of the available MS Office applications
(Word, Excel,
PowerPoint,
Visio, Outlook and
FrontPage).
See functional description»
Chart Generation
- Definition of options and settings for generation of MS Excel charts.
- Generation of MS Excel charts in
PNG format.
See functional description»
|
|
|
|
| |
5. Database Interface |
|
| |
|
|
|
| |
6. Internet Communication |
|
| |
HTTP Communication
- Downloading of web pages in HTML format or files of any kind from web servers.
- Direct extraction of chosen parts from web pages.
See functional description»
FTP
Communication
- Uploading and downloading of files and folders on an FTP server.
- Creation and deletion of files and folders on an FTP server.
- Listing of files and folders located on an FTP server.
See functional description»
CGI Interface
- Sending of CGI requests (GET and POST) to a web server.
- Uploading and downloading of files via the CGI interface to and from a Windows server (requires daVinci installed on server side).
- Retrieving of the actual external IP address for the host computer (requires daVinci installed on server side).
See functional description»
Email Sending
- Composing and sending of emails (in plain text or HTML, also with attachments) to multiple addressees.
See functional description»
Web Services
- Functions for creation and handling of web services on a Windows server (requires daVinci installed on server side).
See functional description»
|
|
|
|
| |
7. Multimedia |
|
| |
Image Processing
- Loading of images from files in different formats (BMP, GIF,
PNG, JPEG, ICO,
TGA, PCX, EMF
or WMF).
- Saving of images to files in different formats (BMP, GIF,
PNG, JPEG, TGA
or PCX).
- Copying and pasting of images to and from the clipboard.
- Direct conversion of image files from one format to another.
- Advanced image processing, including:
cropping, resizing,
expansion, merging,
color/gray-scale/black-and-white conversions,
flipping, mirroring,
skewing, color adjustments,
light adjustments, sharpness increments,
adding of noise, edge manipulations.
- Functions for adding text to images.
See functional description»
Sound
- Play a sound from a file in wave format.
See functional description»
Speech
- Let the computer generated voice speak a sentence stored in an internal variable or gathered from a text file.
See functional description»
|
|
|
|
| |
8. Direct Mobile Access |
|
| |
System Info
- Retrieving or setting of owner information.
- Retrieving of Operating System information.
- Retrieving or setting of hardware button information.
See functional description»
File Info
- Reading and manipulation of file attributes.
- Retrieving of the size of single files, group of files or folders with all their contents (subfolders).
- Reading and manipulation of file and folder times.
- Creation of lists of files or folders that can be scanned later using other instructions, including sorting of the list entries in alphabetical
order, after size, after the last modification time, after type or randomly.
See functional description»
Folder Manipulation
- Standard file operations, like copy, move and delete.
See functional description»
File
Manipulation
- Standard file operations, like copy, move and delete.
- Renaming or numbering of groups of files.
See functional description»
File Transfer
- Uploading and downloading of files and folders to and from the mobile unit.
See functional description»
Registry Manipulation
- Possibility to create, delete, read and modify Registry values.
- Possibility to create and delete Registry keys.
- Possibility to search the Registry for keys, values and data.
- Dumping of Registry contents (a part of it or the whole contents).
See functional description»
Miscellaneous
- Launching of applications on the connected mobile unit, with or without arguments.
- Possibility to open a file on the connected mobile unit, using the associated application.
- Installation of software packages (CAB files) on the connected mobile unit.
- Possibility to create Windows shortcuts and place them in specified folders.
- Mapping of hardware buttons to applications or shortcuts.
- Restoring of hardware button mapping on the connected mobile unit.
See functional description»
|
|
|
|
| |
9. System Info and Application Control |
|
| |
System Info
- Retrieving or setting of owner information.
- Retrieving of Operating System information.
- Retrieving of hardware information, like screen dimensions, processor info, serial number, etc.
- Retrieving of the current computer name and local IP address.
See functional description»
Task Control
- Launching of applications with or without arguments.
- Possibility to open a file using the associated application (like MS Office documents, web pages, etc.).
- Killing of processes or applications connected to named windows.
- External execution of VB script code, ether from internal variables or retrieved from text files.
- External execution of daVinci script code, ether from internal variables or retrieved from text files.
See functional description»
Window Control
- Possibility to retrieve the handle of a certain window (identified by its title) or for one of its child windows (identified by point coordinates).
- Possibility to bring a window to top level and activate it (give it the focus).
- Moving and/or resizing of windows.
- Sending of mouse clicks or a keyboard strings to a certain window's child window (identified by point coordinates).
- Sending of keyboard keys or a keyboard strings to the currently active window (the one with the focus)
See functional description»
Registry Manipulation
- Possibility to create, delete, read and modify Registry values.
- Possibility to create and delete Registry keys.
- Possibility to search the Registry for keys, values and data.
- Dumping of Registry contents (a part of it or the whole contents).
See functional description»
Timer Operations
- Retrieving or setting of the current time and date.
- Computing with time/date entities (add and
subtract).
- Possibility to wait (hold script execution) for a certain number of seconds or milliseconds.
- Possibility to set up a timer which will start/resume execution after a certain number of seconds or milliseconds, or at a specified date
and time.
- Possibility to setup up to 10 timers for concurrent time measurement, to log the elapsed times and to visualize later the logged times.
See functional description»
Mobile Specific Functions
- Mapping of an existing shortcut to a hardware button.
- Restoring of the mapping for a certain hardware button to its original value.
- Changing of the value of a security policy flag.
- Performing of a a soft reset on the device.
See functional description»
Miscellaneous
- Creation of Windows shortcuts, which can be placed in specified folders.
See functional description»
|
|
|
|
| |
10. Remote Control |
|
| |
- Putting of the current unit in standby mode, waiting for scripts to be sent by remote units via a local network, ActiveSync or the Internet.
- Uploading of embedded script code to remote units for local execution there and optional waiting for execution completion and
acknowledgment.
See functional description»
|
|
|
|
| |
11. Program Flow |
|
| |
Variables
- Definition of variables.
See functional description»
User Functions
- Definition of functions that can be called from anywhere in the code. Up to 9 arguments can be passed through a function call.
See functional description»
Conditional Statements
- Conditional statements (If/Else/Endif) comparing boolean, text, numeric and time values.
See functional description»
Arithmetic Operations
- Simple arithmetic functions for number values, plus a random number generator.
See functional description»
Math Operations
- Definition of mathematical expressions resulting in floating point values.
See functional description»
Loops
- 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.
See functional description»
Miscellaneous
- Inclusion of external script files (which may include other script files to any level of depth).
- Possibility to turn on and off the displaying of execution error messages.
- Possibility to hold script execution (Pause) and prematurely end it (Exit).
See functional description»
|
|
|
|
|
|
|
|
|
|
Produced by Carso | Last update: 2010-04-12
|
|