contact  |  about  |  sitemap

Djuggler Action Reference Card


Djuggler Action List

Action and functions in Djuggler version: 2.1.2

Flow Actions
IfTo compare variables and values.
If ConditionTest variables against conditions like File Exists, Folder Exists, Odd or Even number, Is Empty, etc.
ElseStatement to be used in If or If Condition action.
End IfMarks the end of an If or If Condition action.
Goto LabelUsed in combination with Label to jump over script lines.
LabelMarker for the Goto Label action.
ReturnReturns to the next line after the 'Goto Label' call.
Loops Actions
LoopSimple loop, always used in combination with the 'Exit Loop' action.
Loop WhileLoops while a variable meets conditions like equals to, greater than, contains text, etc.
Loop ConditionLoop while a variable is tested against conditions like File Exists, Folder Exists, Odd or Even number, Is Empty, etc.
Loop RangeLoops a numeric range with a step and returns the current numeric value in a variable.
Loop FilesLoops a directory with a file mask and returns file names with the full path in a variable.
Loop FoldersLoops a directory with a file mask and returns folder names with the full path in a variable.
Loop ListLoops a list of variables in and returns each variable during the loop.
Loop Web PagesLoops web pages with a "Next button" structure.
Loop Data Grid RowsLoops the rows in a data grid and returns the current row number as a variable.
Loop Data Grid ColumnsLoops the columns in a data grid and returns the current column number as a variable.
Loop XML nodesLoop XML nodes from a given path in a XML document.
Loop Matched TextLoops a text source based on a regular expression, returns the matched text and a success variable.
Loop Text File LinesLoops a text source lines, returns the current line in a variable.
Loop RecordsLoops a record set retrieved from an SQL database.
End LoopUsed in combination with a loop action.
Exit LoopExits a loop, typically used in combination with an if statement and the 'Simple Loop' action.
Script Control
CommentUsed to place comments between script lines.
WaitPause the script for a number of milliseconds.
Suppress Errors and DialogsUsed for a silent script execution without error or other dialogs.
Show Errors and DialogsUsed in combination with suppress errors and dialogs.
Get Last Error TextReturns the last error text in a variable.
Stop Script ExecutionHalts the script.
Pause Script ExecutionPauses the script to resume in step mode and inspect variable values.
Get Script PathReturns the full file path including a backslash to the current running script.
Show Web ViewerShows the internal Web browser viewer.
Show Grid ViewerShows the internal Grid viewer.
Show Text ViewerShows the internal Text viewer.
Dialogs
Show MessageShows a message dialog to the user.
Input DialogShows a single line text input dialog to the user, the input is returned in a variable.
Choice DialogShows a dialog with a Yes or No, the answer is returned in a variable.
Open File DialogAsks the user to point to a file and returns the file name with a complete path in a variable.
Save File DialogAsks the user for a file name and returns the file name with a complete path in a variable.
Open Folder DialogAsks the user to point to a folder and returns with the full path in a variable.
Variables
Set VariableAssigns a value to a text, date or number variable.
Add to VariableAdds a value to a text, date or number variable.
Subtract from VariableSubtracts a value from a text, date or number variable.
Source Text to VariableConverts a complete source text to a variable.
Variable to Source TextConverts a variable to a source text.
Date To TextConverts a date variable to a text variable based on the locale of the system.
Time To TextConverts a text variable to a date variable based on the locale of the system.
Parse Date VariableSplit a DateTime variable in seconds, hours, minutes, day, month and year.
Generate Random NumberCreates a random number in a specified range, returned as a variable.
Create GuidCreate a unique identifier, returned as a variable.
Math ExpressionProvides mathematical calculations with variables like addition, subtraction, division, abs, atan, cos, exp, ln, round, sin, sqrt, sqr, trunc, etc.
Text Files
Open Text FileOpens a text file as a text source.
Save Text FileSaves a text source to a file.
Append Line to Text FileAppends a value or variable to a file as new line.
Append to Text FileAppends a value or variable to a file without creating a new line.
Lists
Open ListOpen a text file and put all lines as separate items in the list variable container.
Save ListSave the list variable container to a text file.
Add Item to ListAdd a new item to the list variable container.
Remove Item from ListRemove an item from the list variable container.
Remove duplicates from ListRemove all duplicate items from a list variable container.
Clear ListClear the list variable container.
Sort ListSort the list variable container.
XML
Create XML DocumentCreates an XML source object.
Open XML DocumentOpen an existing XML file in XML source object.
Save XML DocumentSave an XML source object to a file.
Get XML Root NodeGet the root node in an XML source object in a Node variable.
Find XML NodeFinds a XML node from a path and returns a Node variable.
Get XML Node ValueGet the value of an XML node.
Set XML Node ValueSets the value of an XML node.
Get XML Child Node ValueGet the value of an XML child node.
Set XML Child Node ValueSets the value of an XML child node.
Get XML Node Attribute ValueGets the attribute value of an XML node.
Set XML Node Attribute ValueSets the attribute value of an XML node.
Add XML NodeAdds an XML node.
Delete XML NodeDeletes an XML node.
Web Pages
Open Web PageOpens a URL as an internal browser source and in the internal web browser viewer. The page source is based on the HTML document model (DOM).
Open page with IE sourceOpens a URL as an internal web page source without downloading images, scripts, styles, etc. This source is not based on the DOM, but is similar to the Internet Explorer view source function.
Run Web MacroRuns a recorded macro. Typically used to record a web login or filling a form with fixed values.
Download FileDownloads a url as a file and returns a success variable. Typically used for downloading documents or a page source to disk.
Get URL status codeReturns the status code of a web page, like 200 in a variable.
Read Next LinkPuts the 'src' attribute value of the next hyperlink from a web source in a variable and places the internal cursor position in the web source after the hyperlink.
Read Next Link by TitlePuts the 'src' attribute value of the next hyperlink from a web source in a variable based on the hyperlink title and places the internal cursor position in the web source after the hyperlink.
Read Next ImageSets an image as an internal image source and returns the image name without the url path. Typically used in combination with the 'Save Image' action to save an image to disk.
Save ImageSaves an internal image source to disk.
Get Table ContentPuts a HTML table in an internal data grid. The table number references to the table tag count in the web page source (first table tag found is 1). Optionally the grid values can be stripped from HTML tags.
Get Tag ContentPuts the attribute name, value and content of a HTML tag in variables and places the internal cursor position in the web source after the tag. Typically used in combination with a loop action to collect data from all tags like a <DIV>.
Web Page Manipulation
Refresh Browser SourceGets the current browser source without reloading the page. Typically used to get the web page source after a dynamic event has fired and updated the HTML document model.
Fill Form FieldFills a form element in a web page with a value or variable. Typically used to fill a web form programmatically.
Execute JavaScriptExecute a JavaScript function in a web page. Typically used to fire an onchange event in the HTML document model.
Click Form ElementClicks on a form element in a web page. Typically used to set a checkbox programmatically or click on a button in a web page.
Strip HTML TagsStrips all HTML tags from a variable's content.
Complete Page LinksCompletes all hyperlinks to full URL's in an internal browser source. Typically used to change all references like './images/picture.jpg' to 'http://www.mysite.com/images/picture.jpg'.
Data Grid
Get Data Cell ValueGet the value of a grid cell from an internal data grid. The grid is referenced by column and row number.
Set Data Cell ValueSet the value of a grid cell in an internal data grid. The grid is referenced by column and row number.
Store Variables in RowAppend one or more variables on a row in an internal data grid. Typically used as a quick method to save a complete record of variables to a data grid.
Clear Data GridClears an internal data grid.
Delete Data Grid RowsDeletes a complete data row in an internal data grid.
Delete Data Grid ColumnsDeletes a complete data column in an internal data grid.
Append Another Data GridAppends one internal data grid to another internal data grid. Typically used to combine multiple data grids to one data grid for export.
SQL Database
Connect MSSQLConnect to a Microsoft SQL database server.
Connect MySQLConnect to a MySQL database server.
Connect OracleConnect to a Oracle database server.
Connect InformixConnect to a Informix database server.
Connect DB2Connect to a DB2 database server.
DisconnectDisconnect from a database server.
Query DirectPass a SQL query to a database server.
SQL Record Set
Query for RecordsExecute a SQL query and return the record set in memory.
Append RecordAppend an empty record at the end of the record set in memory. Typically used in combination with the 'Set Field' action.
Delete RecordDelete a record from the record set in memory.
Get FieldGet the field data from a record and put it in a variable.
Set FieldSet the field data in a record from the record set in memory.
Commit ChangesApply any changes in the active memory record set to the database.
Move to First RecordMove the current record pointer to the first record in the active record set in memory.
Move to Last RecordMove the current record pointer to the last record in the active record set in memory.
Move to Next RecordMove the current record pointer to next record in the active record set in memory.
Move to Previous RecordMove the current record pointer to the previous record in the active record set in memory.
Copy Query to Data GridCopy the complete content of the active record set in memory into a data grid source.
Source Text Manipulation
Find Text in SourceSearch for a text in a text source and move the internal cursor position of the text source before or after the found text.
Copy Text from SourceCopy text from the current internal cursor position into a variable. A read until variable can be specified to copy a partial text string.
Copy Text from Source BetweenCopy text between two strings, located from the current cursor position into a variable.
Insert Text in SourceInsert a text at the current internal cursor position in a text source.
Replace Text in SourceReplace text strings from the current internal cursor position in a text source.
Match Text in SourceUse a regular expression to match text strings from the current internal cursor position in a text source. The matched text is returned as a variable.
Text Manipulation
Find Text from PositionFind a text in a text source from a specific cursor position. The position of the found text is returned in a variable.
Copy Text from PositionCopy text from a text source between two specific cursor positions.
Copy Text BetweenCopy text from a text source between two text strings.
Insert Text at PositionInsert text in a text source at a specific cursor position.
Replace TextReplace occurrences of a specified text string with another string in a text source or variable.
Match TextUse a regular expression to match a text string in a text source or variable. The matched text is returned in a variable.
Match and Replace TextUse a regular expression to replace all matched text strings with another string in a text source.
Fuzzy CompareCompares two values bases on a selected fuzzy logic algorithm.
Fuzzy Best MatchReturns the best fuzzy match from a variable List container.
Convert TextConvert a text source or variable from UTF-8 to ASCII, ASCII to UTF-8, Special HTML chars to ANSI, etc.
Split RightSplit text by returning the right part of a variable based on a split character or string.
Split LeftSplit text by returning the left part of a variable based on a split character or string.
TrimTrim leading and trailing spaces from a string or variable.
Upper CaseUpper case a string or variable.
Lower CaseLower case a string or variable.
Upper Case First LetterUpper case the first letter of a string or variable.
Strip HTML TagsStrip all HTML tags from a string or variable.
Import/Export
Import CSVImport a CSV file into a data grid source. The separator can be specified as semi colon, comma or tab.
Export CSVExport a data grid source to a CSV file. The separator can be specified as semi colon, comma or tab.
Import ExcelImport a Microsoft Excel file into a data grid source. A specific Excel sheet can be specified.
Import Excel 2007Import a Microsoft Excel 2007 file into a data grid source. A specific Excel sheet can be specified.
Export ExcelExport a data grid source to a Microsoft Excel file.
Import AccessImport a Microsoft Access file into a data grid source. A specific table name and password can be specified.
Export AccessExport a data grid source to a Microsoft Access file.
Import DBF or FoxProImport a DBF or FoxPro file into a data grid source.
Export DBFExport a data grid source to a DBF file.
Export SQL ScriptExport a data grid source to a text file containing a SQL script with grid values and structure.
File System
Copy FilesCopy files on disk. A silent property is provided to suppress overwrite confirmation and error dialogs.
Move FilesMove files on disk. A silent property is provided to suppress overwrite confirmation and error dialogs.
Delete FileDelete files on disk. A silent property is provided to suppress overwrite confirmation and error dialogs.
Rename File or FolderRename files or folders on disk. A silent property is provided to suppress error and confirmation dialogs.
Create FolderCreates a new folder on disk. A silent property is provided to suppress error dialogs.
Copy FolderCopy a folder on disk. A silent property is provided to suppress overwrite confirmation and error dialogs.
Move FolderMove a folder on disk. A silent property is provided to suppress overwrite confirmation and error dialogs.
Delete FolderDelete a folder on disk. A silent property is provided to suppress overwrite confirmation and error dialogs.
Get File InformationProvides file information like attributes, size, creation time, file age in days, etc in variables.
Get File Path InformationProvides path information like file drive, path, short path 8.3 notation, file extension, file name, etc in variables.
Email
Send Mail DirectSends a plain text or HTML email without using a SMTP relay. It will resolve the SMTP server by looking up MX records via the DNS set in the system.
Send Mail by SMTPSends a plain text or HTML email via a SMTP relay. Pictures referenced in a HTML body are automatically embedded in the message.
Send Mail RawSends an email based on a raw message file. Typically used to process messages provided by mail servers such as the Microsoft SMTP service.
System
Run shell commandExecutes a shell command with parameters. The window show property can be set to normal, hidden, maximized and minimized.
Pipe DOS ApplicationPipes the output from a DOS application to a variable. Typically used as a simple plug-in structure for Djuggler scripts.
Get parameter valueGets a parameter value passed to the executable. Typically used in combination with a compiled script.
Get System FolderProvides system folders from the local system like temp folder, desktop, program files, my documents, system, etc.
Get System InformationPuts information as computer name, user name, ip address, OS, etc into a variable.
Current Date and TimeReturns the current date and time in a date variable.
Get Registry DataReads a value from the Windows registry into a variable.