Action Help

This help text explains all the actions, grouped by category. Within the Djuggler application, double-clicking an action will bring up the same text.

Flow

If

Compares two variables to see whether or not they are equal.

If the comparison succeeds, the script actions between the If and End If script lines are executed. The If action can also be used in combination with an Else action.

Tip: The wildcard '*' can be used in a string compariment.

Action variables:

Variable1: Text, Number, XML node or Date variable to be compared.
Operator: Determines how Var1 and Var2 are compared, i.e. "Var1 Is Not Equal to Var2".
Variable2: Text, Number, XML node or Date variables to be compared.


Structure example:


If ...
... do actions ...
End If

If Condition

Test a "Variable" against a certain condition.

If the comparison succeeds, the script actions between the If and End If script lines are executed. The If action can also be used in combination with an Else action.

Tip: Use this action to verify if a variable is empty, or a file exists.

 
Action variables:

Operator: Condition to whitch the variable should be tested.
Variable: Text, Number, XML node or Date variable can be tested.


Structure example:


If Condition ....
 ... do actions ...
End If

Else

The Else action can be used in conjunction with an If or If Condition action.

When the If action fails, the lines between Else and End If are executed.
 

Action variables:

No variables need to be set for this action.


Structure example:


If ...
... do actions ...
Else
... do actions ...
End If

End If

The End If action closes an If or If Condition block.

Structure example:

If ...
... do actions ...
Else
... do actions ...
End If

Action variables:

No variables need to be set for this action.

Go to Label

Jumps to a Label and resumes execution from there.
 
The "Label name" property value should match the exact name of the label to jump to. Use the Return action to jump back to the script position where Goto Label was called.

Note: Don't nest Goto label actions, it will confuse the script logic.

Action variables:

Label name: The (exact) name of the label to jump to.


Structure example:

... actions ...
Goto Label MyProcedure
... actions ...
Stop Script Execution

Label MyProcedure
... actions ...
Return

Note: A Stop Script Execution action may be needed to prevent the script from running inside your label at a certain point.

Label

The Label action is used as a marker to be used with the Goto Label action.

The Goto Label action can be used to jump to a Label action and resume execution from there. Make sure the names in both actions match exactly. Use the Return action to jump back to the script position where Goto label was called.

Note: Don't nest Goto label actions, it will confuse the script logic.

Action variables:

Label name: The name of the label.

Tip: When using labels to create functions at the end of your script, use a Stop Script Execution action before the labels.


Structure example:

... actions ...
Goto Label MyProcedure
... actions ...
Stop Script Execution

Label MyProcedure
... actions ...
Return

Return

Use the Return action to indicate the end of label and jump back to position where the Label was called via a Goto label action.

Action variables:

No variables need to be set for this action.


Structure example:

... actions ...
Goto Label MyProcedure
... actions ...
Stop Script Execution

Label MyProcedure
... actions ...
Return

Note: A Stop Script Execution action may be needed to prevent the script from running inside your label at a certain point.

Loops

Loop

The Loop action is a simple infinite loop till the action Exit Loop is called.

All actions between the begin of the loop and end of the loop are processed infinitely.

Note: An End Loop action is needed to close the loop and an Exit Loop to exit the loop.

Action variables:

No variables need to be set for this action.


Structure example:

Loop
 ... actions ...
   
  If Condition ...
   Exit Loop
  End If

End Loop


Tip: The way to exit this type of loop is by testing an If action and using the Exit Loop action to exit the loop.

Loop While

The While Loop is equivalent to the If action.

All actions between the begin of the loop and end of the loop are processed as long as the loop condition continues to be valid.

Note: An End Loop action is needed to close the loop.

Action variables:

Variable1: Text, Number or Date variable to be compared.
Operator: Determines how Variable1 and Variable2 are compared, i.e. "Variable1 Is Not Equal to Variable2".
Variable2: Text, Number or Date variables to be compared.


Structure example:

Loop While ...
... actions ...
End Loop

Loop Condition

The Condition Loop is equivalent to the If Condition action.

All actions between the begin of the loop and end of the loop are processed as long as the loop condition continues to be valid.

Note: An End Loop action is needed to close the loop.

Action variables:

Operator: Determines how the variable should be tested.
Variable: Text, Number or Date variable can be tested.


Structure example:

Loop Condition ...
... actions ...
End Loop

Loop Range

Loops through a preset numerical range.

The looping process starts with Start Value and will stop when it reaches the Stop Value. With each loop, the Start Value gets incremented and passed to the Current Value variable. If the Step variable is given, this is used to increment the Start Value. If Start Value is larger then Stop Value, the loop counts down.

Note: An End Loop action is needed to close the loop.

Action variables:

Start Value: The numerical value to start the loop.
Stop Value: The numerical value to end the looping process.
Current Value: A variable containing the current numerical value used in the loop. You can use this for further actions. Optional.
Step: With each loop the Start Value is incremented by Step. If Step is not given, a value of 1 is assumed. If Start Value is larger then Stop Value, Step is decremented from the Current Value.

Examples:
Start=1 Stop=4. Loop goes through Current Values 1,2,3,4.
Start=7 Stop=3. Loop goes through Current Values 7,6,5,4,3.
Start=2 Stop=8. Step=2. Loop goes through Current Values 2,4,6,8.


Structure example:

Loop Range ...
... actions using the Current Value property variable...
End Loop

Loop Files

Loops through a directory and feeds back all the filenames.

The names of the found files will be given back through the "Filename" variable. The filenames that are found are passed back on each run in the loop. Looping continues until no more files are found.

Note: An End Loop action is needed to close the loop.

Action variables:

Root Folder: The directory to browse.
Filename: A variable where found files are passed to during the loop.
Recurse Sub Directories: If you want to recurse subdirectories, choose Yes.
File Mask: Use a file mask like *.txt to loop only files with the extension txt.


Structure example:

Loop Files
 ... actions using the Filename property variable ...
End Loop

Loop Folder

Loops through a root directory and feeds back all the sub directories names.

The folder names are returned via the "Folder Name" variable. Looping continues until no more folders are found.

Note: An End Loop action is needed to close the loop.

Action variables:

Root Folder: The directory to browse.
Folder Name: A variable where found files are passed to during the loop.
Recurse Sub Directories: If you want to recurse subdirectories, choose Yes.
Folder Mask: Use a folder mask like "my*" to match folder names only like "my documents", "my pictures", etc.


Structure example:

Loop Files
... actions using the Folder name property variable ...
End Loop

Loop Web Pages

Loops through a range of web pages in a "Web Page" source. The "Next Page Button Recorder" is used to identity a "Next" page button.

A Loop Web Pages loop should always be proceeded by a Open Web Page or Web Marco action. This should be done so that the Web Page source browser actually contains a page where the click to next page is performed.

Note: An End Loop action is needed to close the loop.

Often, data on web pages is divided over a range of successive pages. Search results in Google are an example of this. On the bottom of such a page, you will find links like: 1|2|3 >Next. Clicking on the Next link gives the next page of results. This Next link we call the "Next Page Button". That link is exploited by the Loop Web Pages action to loop through all result pages.

Action variables:

Web Page: Holds the Web Page Source that should be used to automatically browse through a range of web pages.
Next Page Button Recorder: Clicking on the button with the three dots will open up a special web browser where you can record the "Next page button".


The Next Page Button Recorder is a special web viewer with which can very easily set the Next Page Button used by the loop. With this viewer; first browse to the page containing the first Next button. Then, click on the actual "Next" link to indicate what link should used to reach a following page.

Tip: The source obtained by Loop Web Pages is the DOM source and might slightly differ from source obtained via the "view source option" in Internet Explorer or other browsers. To inspect HTML source like Djuggler is seeing it, use the Djuggler's Browser Viewer from the menu.


Structure example:

Loop Web Pages
 ... actions like Copy Text from Source Between ...
End Loop

Loop List

Loops all items contained in the List property and passes them on to the Item property.

The loop starts with the first item in the List and stops at the last. You can interrupt a the loop by using the Exit Loop action.

Note: An End Loop action is needed to close the loop.

Action variables:

List: The List containing list items.
Item: With each pass of the loop, Item is filled with the current item value.


Structure example:

Loop List
 ... actions using the Item property variable ...
End Loop

Loop Records

Loops all records of the active record set related to a SQL database connection.

The loop starts with the first record in the record set and runs until the last record is reached.

Note: When the loop finishes it will apply any changes made to the database.

When using a record set, use the following basic structure:

Connect
SQL Query for Records
Loop Records
... actions like Get Field Value...
End Loop
Disconnect


Action variables:

SQL Database: The SQL Database source connection to use.

Loop Data Grid Rows

Loops through all the rows in a data grid and is often used in combination with the Get/Set Data Cell Value actions.

The "Current Row" variable holds the current row number, and can be used for further processing on consecutive rows, for example to get the content of a data grid fields.

Note: An End Loop action is needed to close the loop. The first row in a data grid has the number 1. 

Action variables:

Data Grid source: The data grid to use.
Current Row variable: A variable containing the current row number used in the loop.

With this loop, in conjunction with the Loop Data Grid Columns action, you can for example obtain the values of all fields in the data grid by using the Get/Set Data Cell Value action and passing the Current Row and Current Column variables to it.


Structure example:

Loop Data Grid Rows
... actions like Get Date Cell Value ...
End Loop

Loop Data Grid Columns

Loops through all the columns in a data grid and is often used in combination with the Get/Set Data Cell Value actions.

The "Current Column" variable holds the current column number, and can be used for further processing on consecutive columns, for example to get the content of a data grid fields.

Note: An End Loop action is needed to close the loop. The first column in a data grid is has the number 1.

Action variables:

Data Grid source: The data grid to use.
Current Column variable: A variable containing the current column number used in the loop.


Structure example:

Loop Data Grid Columns
 ... actions like Get Date Cell Value ...
End Loop


With this loop, in conjunction with the Loop Data Grid Rows action, you can for example obtain the values of all fields in the data grid by using the Get/Set Data Cell Value action and passing the Current Row and Current Column variables to it.

Loop Matched Text

Loops through all the matches of a regular expression it finds in a "Source Text".

The loop tries to match the "Regular Expression" variable and with each loop it passes the result to the "Returned Match" variable. If the (last) match is unsuccessful the looping process ends and the script continues.

Note: An End Loop action is needed to close the loop.

Action variables:

Regular Expression: The regular expression used to match text in the Source Text.
Source Text: The text to searched. A Text variable, Web Page source or Text File source.
Returned Match: The matched text is returned via this variable in each pass of the loop.
Return Sub Expression Nr: Tells the action to only use a specific sub expression found in the regular expression.
Match Succeeded variable: Indicates whether the last match has succeeded or failed. Returns "Yes" or "No".


Structure example:

Loop Matched Text
 ... actions using the Returned Match property variable ...
End Loop


More on regular expressions can be found at:
- http://en.wikipedia.org/wiki/Regular_expression
- http://regexlib.com

Loop Text File Lines

Loops though all lines in a text (ASCII) file. With each pass the "Read Line" variable is filled with the last line that was read from the file.

The looping process stops when the last line in the file has been read.

Notee: An End Loop action is needed to close the loop.

Action variables:

Text File: A Text File source.
Filename: The full path and name of the ASCII file to be read.
Read Line variable: This variable contains the actual line content of the file with each pass of the loop.


Structure example:

Loop Text File Lines
 ... actions using the Read Line property variable ...
End Loop


Note: For performance reasons the content of the Text File source is not shown in the Text Viewer.

End Loop

Each Loop action needs an End Loop action to indicate the end of the loop.

Structure example:

Loop While ...
 ... actions ...
End Loop


Action variables:

No variables need to be set for this action.

Exit Loop

Forces an exit in the current loop and is often used in combination with an If or If Condition action. When the Loop action is used an Exit Loop must be included in the loop or it will run indefinitely.

Action variables:

No variables need to be set for this action.

Control

Comment

Comments are used to place notes in a script and make it more readable for yourself.

Tip: Use comments to separate blocks of code for clarity.

Note: A Comment action is excluded from the script action execute count.

Action variables:

Comment text: A text or leave it empty for a script line seperator.

Wait

Halts the execution of the script for a number of miliseconds.

Property "ms" should contain the number of milliseconds the script should pause.

Action variables:

Wait time in ms: A number or variable with milliseconds.

Suppress Errors and Dialogs

Suppresses all error dialogs and user dialogs.

All feedback to the user in the form of message dialogs that halt the execution of the script are suppressed.

Tip: Use this action to be sure that a script will always run to completion. Test the script thoroughly before using this action.

Note: The Show Errors and Dialogs action will re-enable dialogs again.

Action variables:

No variables need to be set for this action.

Show Errors and Dialogs

Enables all error dialogs and user dialogs after a Suppress Errors and Dialogs action.

Note: This is the case by default, i.e. without using this action.
The Suppress Errors and Dialogs action will disable error and user dialogs.

Action variables:

No variables need to be set for this action.

Get Last Error Text

Fills the "Last Error variable" with a description of the last encountered error.

Tip: When the Supress Errors & Dialogs action is used,  this action can be used to catch and handle script errors.

Action variables:

Result variable: This variable gets filled with a description of the last encountered error.

Stop Script Execution

Stops the execution of the script.

Typically used when using the Label action or when the script encounters a condition it should stop at all times like an error.

Action variables:

No variables need to be set for this action.

Pause Script Execution

Pauses the execution of the script when running to continue in step mode.

Tip: Inspect the content of variables and sources when paused. You can resume or step the script after this action line with the menu bar controls.

Note: In a compiled script this action is ignored.

Action variables
:

No variables need to be set for this action.

Get Script Path

Fills the "Result Text variable" with the directory path where the current script is located.

Use this action when files are needed and placed in the same folder as the script or compiled script.

Tip: Use the Get System Folder action to get specific paths to folders like the Temp folder or My Documents.

Action variabless:

Result variable: This variable gets filled with the file path where the current script is located on the file system.

Show Web Viewer

Shows or hides up Djuggler's internal web viewer.

Action variables:

Visibility: Show or Hide the viewer.
Viewer Height: The viewer height in pixels.
Viewer Width: The viewer width in pixels.
Viewer Top: Position of the viewer from the top of the screen in pixels.
Viewer Left: Position of the viewer from the left of the screen in pixels.

Show Grid Viewer

Shows or hides up Djuggler's internal grid viewer.

Action variables:

Visibility: Show or Hide the viewer.
Viewer Height: The viewer height in pixels.
Viewer Width: The viewer width in pixels.
Viewer Top: Position of the viewer from the top of the screen in pixels.
Viewer Left: Position of the viewer from the left of the screen in pixels.

Show Text Viewer

Shows or hides up Djuggler's internal text viewer.

Action variables:

Visibility: Show or Hide the viewer.
Viewer Height: The viewer height in pixels.
Viewer Width: The viewer width in pixels.
Viewer Top: Position of the viewer from the top of the screen in pixels.
Viewer Left: Position of the viewer from the left of the screen in pixels.

Missing action

When a script is loaded that is created by a more recent version of Djuggler a missing action statement will replace all unkown actions from the new Djuggler version.

Action variables:

No variables need to be set for this action.

Dialogs

Show Message

Displays a text message to the user in a message box.

Action variables:

Prompt text: Text to be displayed.

Note: The Script will be paused until the user presses the OK button from the message box.

Input Dialog

Presents the user with an input box. The "Prompt" variable has the prompt text. The "Answer" variable will contain the answer the user has typed in in the input box.

Action variables:

Prompt text: Text to be displayed to the user in the input dialog.
Answer variable: Contains the answer from the user.

Choice Dialog

Presents the user with an dialog for Yes or No. The "Prompt" variable has the prompt text. The "Answer" variable will contain the answer Yes or No.

Tip: When using a If action to verify the "Answer" variable, compare to 'Yes' or 'No' (case sensitive).

Action variables:

Prompt text: Text to be displayed to the user in the input dialog.
Answer variable: Contains the answer from the user, Yes or No.

Open File Dialog

Shows an open file dialog asking the user to choose a file.

The file will be passed on to the "Answer" variable and contains the fully qualified path with directory and filename.

Action variables:

Title text: The title for the dialog.
Answer variable: A variable where the file path gets stored. If the dialog was cancelled, the value will be empty.
Initial Folder: You can indicate the starting folder here. The user will be able to browse directories from this path only.

Save File Dialog

Shows a save file dialog asking the user to choose a file.

The file will be passed on to the "Answer" variable and contains the fully qualified path with directory and filename.

Action variables:

Title text: The title for the dialog.
Answer variable: A variable where the file path gets stored. If the dialog was cancelled, the value will be empty.
Initial Folder: You can indicate the starting folder here. The user will be able to browse directories from this path only.

Open Folder Dialog

Shows a dialog asking the user to choose a directory.

The directory path will be passed on to the "Answer" variable. It will contain a fully qualified directory, trailed by a backslash ("\").

Action variables:

Title text: The title for the dialog.
Answer variable: A variable where the directory path gets stored. If the dialog was cancelled, the value will be empty.
Initial Folder: You can indicate the starting folder here. The user will be able to browse directories from this path only.

Variables

Set Variable

Replaces the current content of variable "Variable" with the content in variable "Content".

Action variables:

Variable: The variable to place content in.
Content: The content to fill the Variable with.

Add to a Variable

Adds to the content in variable "Variable".

Adding is done differently for each variable type. If the variable is text, the content is appended to the current text in "Variable". If the variable is a number, the content is added arithmetically. In case of a date, the dates are added to a new date.

Action variables:

Variable: The variable to add content to.
Content: The content to add to the Variable.

Subtract from a Variable

Subtracts from the content in variable "Variable".

Subtracts are done differently for each variable type. If the variable is text, the content is subtracted from the current text in "Variable". If the variable is a number, the content is subtracted arithmetically. In case of a date, the dates are subtracted to a new date.

Action variables:

Variable: The variable to add content to.
Content: The content to add to the Variable.

Source Text to Variable

Copies the content of the Source to a Variable.

If the Source is a Web Page for example, the HTML source of the web page is copied to the Variable.

Action variables:

Variable: The variable to place the source text in. This should be a Text Variable.
Source: The source to copy the text from.

Variable to Source Text

Copies the content of the Variable to the Source.

If the Source is a Text File for example, current content of Variable would be copied to the Text File.

Action variables:

Variable: The Variable to copy the text from.
Source: The Source to place the source text in.

Tip: This action is often used to convert a variable to a Text source and save it to disk.

Date from Date variable to Text

Returns the date part from a Date variable as a Text variable.

Note: The date format is based on the computer locale settings. Use the Parse Date variable action to convert independent from locale settings.

Action variables:

Date variable: The Date to obtain the date from.
Result variable: The text variable to be filled with the date form the Date variable.

Time from Date variable to Text

Returns the time part from a Date variable as a Text variable.

Note: The time format is based on the computer locale settings. Use the Parse Date variable action to convert independent from locale settings.

Action variables:

Date variable: The Date to obtain the time from.
Result variable: The text variable to be filled with the time form the Date variable.

Generate a Random Number

Returns a random number within a certain range.
If you set the range minimum to 1 and the maximum to 5, the action chooses a number randomly between 1 and 5.

Action variables:

Result variable: The variable in which the random number is returned.
Range Minimum: The lower limit of the range.
Range Maximum: The upper limit of the range.

Create Guid

Returns a Globally Unique Identifier as a text variable.

Tip: Guid's are typically used to create a unique id in a Data Grid for example.

Action variables:

Result variable: The variable in which the Guid is returned.

Parse Date Variable

Returns the day, month, year, hour, minutes and seconds as text variables from a date variable.

Tip: Use this action to convert a date variable independent of the computer locale.

Action variables:

Date variable: The date that will be split into day, month, year, hour, minutes and seconds.
Day: The day number as text variable.
Month: The month number as text variable.
Year: The year number as text variable.
Hour: The hour number as text variable.
Minutes: The minutes number as text variable.
Seconds: The seconds number as text variable.

Math Expression

This action can be used for mathematical calculations.

A few examples of valid expressions: "4+2", "sqrt(9)", "(4+2)/sqrt(9)".

Within the expression, you can use Djuggler variables by putting the variable name between square brackets. For example, if you have a number variable in your script named "Number1", you could make the expression "(4+2)/sqrt([Number1])".
The result of the expression is returned in the Result variable.

Operators that can be used:
+ : Addition
- : Subtraction
* : Multiplication
/ : Division
^ : Exponential (only positive numbers for the base)
( : Open parenthesis
) : Close parenthesis


Functions that can be used:
ABS (Range: -1e4932..1e4932)
ATAN (Range: -1e4932..1e4932)
COS (Range: -1e18..1e18)
EXP (Range: -11356..11356)
LN (Range: 0..1e4932)
ROUND (Range: -1e9..1e9)
SIN (Range: -1e18..1e18)
SQRT (Range: 0..1e4932)
SQR (Range: -1e2446..1e2446)
TRUNC (Range: -1e9..1e9)

Action variables:

Math Expression: The mathematical expression itself. You can use variables between square brackets in the expression.
Result variable: A variable that gets passed the result of the expression.

Lists

Open List

Reads a Text file and places the content of each text line as a collection item in the "List variable".

Action variables:

List variable: The List to put the items in from the text file.
Filename (including path): The file where the list items should be read from.

Save List

Stores the items of the List in a text file. Each item is stored on a new line.

Action variables:

List variable: The List that should be saved.
Filename: The file where the list items should be saved to.
Overwrite existing file: Select between 'Yes' or 'No' to overwrite an existing file.

Add to List

Adds an item to a List. New items will be placed at the end of the list.

Action variables:

List variable: The List to be used.
Item: The value to be stored as an item in the list.

Remove Item from List

Removes an item from a List variable.

Note
: If there are more than one matches to the item, only the first occurring item in the list is removed!

Action variables:

List variable: The List to be used.
Item: The item to be removed.

Remove Duplicates from List

Removes duplicated items from a List.

After executing this action, only unique items remain.

Action variables:

List variable: The List to remove duplicates from.

Clear List

Removes all the items from a List.

After executing this action, the list will be empty.

Action variables:

List variable: The List to clear.

Sort List

Sort the items in a List.

You can sort the list ascending or descending, depending on the value you set in the "Direction" property.

Action variables:

List variable: The List to sort.
Direction: Sets the direction you want to sort: ascending or descending.

Text Files

Open Text File

Opens a "Text file" and places the content in the Text source variable.

A Text File source can be manipulated by Text Manipulation and Source Text Manipulation actions.

Action variables:

Text File source: The Text source to use.
Filename (including path): The file where the content should be read from.

Save Text File

Saves a "Text File" source to a file.

A Text File source can be manipulated by Text Manipulation and Source Text Manipulation actions.


Action variables:

Text File source: The Text source to use.
Filename (including path): The file in which the content should be saved.
Overwrite existing file: Select between 'Yes' or 'No' to overwrite an existing file.

Append Line to Text File

Appends a line to a text file.

The property "Text" is written to the end of the file. This action works directly on the file, there is no need to use the Open Text File first.

Note
: Use the Append to Text File action to append text without a new line.

Action variables:

Filename: The name of the file to write to.
Text: Text to be written to the end of the file.

Tip: This action is typically used to create a log files.

Append to Text File

Appends the property "Text" to a text file.

The text is appended to the end of the file without a new line. This action works directly on the file, there is no need to use the Open Text File first.

Action variables:

Filename (including path): The name of the file to write to.
Text: Text to be written to the end of the file.

XML

Create XML Document

Create a new "XML Document" in memory that can be saved later.

Provide a document source as reference to the XML document. If the "Root Name" property is set, the document root node will have that name, else "xml" will be used. If you provide a XML node variable in the "Result Node" property it can be used as a reference node to do further processing, like adding a node to the root node.

Action variables:

XML Document source: The XML Document source to use.
Root Name: The name you want to give to the XML root node ("xml" by default).
Result Node: A XML Node variable as reference to the root for further processing.

Open XML Document

Opens an XML Document from a file.

The XML file is opened into the "XML Document source".

Action variables:

XML Document source: The XML Document source that will hold the XML loaded from file.
Filename: The file where the XML file is located.

Save XML Document

Saves an XML Document source to a file.

Action variables:

XML Document source: The XML Document source to be saved.
Filename: The filename and path where the XML file will be saved.
Overwrite existing file: Select between 'Yes' or 'No' to overwrite an existing file.

Get XML Root Node

Returns the root of the "XML document" in a XML node variable.

Tip: Use the found root node in combination with the Add XML node action to add a new node under the root node for example.

Action variables:

XML Document source: The XML Document source to be used.
Root Node: An XML Node variable in which a reference to the root node will be returned.

Loop XML Nodes

Loops nodes in the xml tree from a specific start point. Optionally returns only nodes with a specific name or path.

Tip: The "Look for" property can be a Node name or (partial) Node path. Path notation is with forward slashes like: 'books/book'.

If the complete XML tree is to be looped, use the root node as starting node.

When "Look for" is defined as 'book' the loop will pass all nodes named 'book' to the "Result Node" variable, regardless of where they are from the starting point in the tree.
When "Look for" is defined as 'books/book' all "book" nodes will be returned that reside directly under a parent node named 'books'.

Action variables:

XML Document source: The XML Document source to be used.
Start at: The starting point from which to start searching in the XML tree.
Look for: The path or the name of the node(s) you are looking for.
Result Node: XML node variables that are found are passed on to this XML Node variable.
Success variable: Indicates "Yes" when at least one node was found.

Find XML Node

Finds a single XML node in the xml tree from a specific start point based on Node name or Node path.

The "Look for" property can be a Node name or (partial) Node path. Path notation is with forward slashes like: 'books/book'.

Tip: If the complete XML tree is to be looped, use the root node as starting node.

When "Look for" is defined as 'book' the loop will pass all nodes named 'book' to the "Result Node" variable, regardless of where they are from the starting point in the tree.
When "Look for" is defined as 'books/book' all "book" nodes will be returned that reside directly under a parent node named 'books'.

Action variables:

XML Document source: The XML Document source to be used.
Start at: The starting point from which to start searching in the XML tree.
Look for: The path or the name of the node you are looking for.
Result Node: The found Node is returned in this XML Node variable.
Success variable: Indicates "Yes" when a node was found.

Get XML Node Value

Returns the value of a XML node in a text variable.

Action variables:

XML Node: The XML node from which the value will be obtained.
Value: The text variable where the value will be stored.

Set XML Node Value

Sets the value of an XML node, optionally as CDATA.

Note: When setting a value in default format special characters as '>' will be translated automatically.

Action variables:

XML Node: The XML node for which the value will be set.
Value: The variable containing the value to store in the node.
Format: Choose between default (string) or as CDATA.

Get XML Child Node Value

Returns the value of a child node from an XML parent node in a text variable.

Tip: Use this action in combination with the Find XML node to set the parent node for example.

Action variables:

Parent Node: The parent node of the child.
Child Name: The name for the child node from which the value will be obtained.
Value: The text variable where the value will be stored.

Set XML Child Node Value

Sets the value of a child node from a parent XML node, optionally in CDATA.

Action variables:

Parent Node: The parent node of the child.
Child Name: The name for the child node in which the value will be set.
Value: The variable containing the value to be stored.
Format: Choose between default (string) or as CDATA.

Get XML Node Attribute Value

Returns an attribute value of a XML node.

Action variables:

XML Node: The node from which the attribute value will be obtained.
Attribute Name: The attribute name from which the value should be read.
Attribute Value: The variable where the attribute value will be stored.

Set XML Node Attribute Value

Sets an attribute value of a XML node.

Action variables:

XML Node: The node for which the attribute value will be set.
Attribute Name: The attribute name where the value should be stored.
Attribute Value: The attribute value to be stored.
Format: Choose between default (string) or as CDATA.

Add XML Node

Adds a new XML node to a parent XML node and returns the added node in a XML node variable.

Action variables:

XML Document source: The XML Document source and viewer to be updated after the action.
Parent Node: The parent node where the new node will be added.
Node Name: The of the node to add.
Node Value: The value of the node to be stored.
Format: Choose between default (string) or as CDATA.
Result node: An XML node variable that holds the created new node.

Delete XML Node

Deletes an XML node.

Action variables:

XML Document source: The XML Document source and viewer to be updated after the action.
XML Node: The XML node to be deleted.

Web Pages

Open Web Page

Opens a web page and puts the HTML content in the Web Page source variable.

Note: The source obtained by the Open Web Page action is the DOM source and differs slightly from the HTML as obtained via the 'View Source' option in IE or other browsers.

Tip: To inspect the HTML source, use the Djuggler's Browse Viewer from the menu (F3).

Action variables:

Web Page: The Web Page source to be used.
URL: The URL to use including prefixes like http:// or https://.
Browse Silently: For fast page loading; don't load pictures, suppress pop-up's and error messages.
Time out: After the time out the script resumed, regardless of the HTML returned.
Execute scripts: To prevent the execution of JavaScript, ed.
Browser Cache: Use the Internet Explorer cache or not.
Proxy Address: Address used for proxy.
Proxy User Name: User name for proxy address.
Proxy Password: Password for proxy address.
Proxy Port: Port for proxy address.

Open page with IE source

Opens a web page and puts the HTML source as in the IE 'view source' option in the content in the Web Page source variable.

Note: This is not the DOM source as shown in the Djuggler Web Viewer. This is the source as typed by the web designer.

Action variables:

Web Page: The Web Page source to be used.
URL: The URL to use including prefixes like http:// or https://.

Run Web Macro

Records and automates an entire "manual" browse action, complete with typed urls, mouse clicks and fill in boxes. Typically used for a logon procedure on a web site.

The Web Viewer is launched when using the Recorder. You can use this browser just as you would use any other Internet Browser. Your browse action is recorded by clicking the Record button, doing your browse actions, clicking the Stop button and then Close. Your manual browsing is now recorded. When running a script, the exact sequence of events is replayed on the Web Page variable in this action. Note that this browsing is done from the current page in the Web Page variable.

Action variables:

Web Page: The Web Page source to be used.
Recorder: Open the Web viewer for recording. When a recording is successfully made 'Recorded' is displayed.
Browse Silently: For fast page loading; don't load pictures, suppress pop-up's and error messages.

Download File

Downloads a file, document, image or web page and saves it to disk.

Note 1: Any existing files will be overwritten without warning by this action.
Note 2: When a non existing file is specified, the browser source returned by the server will be downloaded as document, typically 404 information. Use the Get URL status code to verify if a file really exists.

Action variables:

URL: The URL to the file, document or image.
Folder: The folder path where the file should be saved.
Filename: Specify a specific filename, when omitted the original filename from the download is used.
Success variable: On a successful download the variable will contain Yes, else it will be No.
User Agent: Specify a specific User Agent that is used to identify the browser to the web server.
Overwrite existing file: Select between 'Yes' or 'No' to overwrite an existing file.

Get URL status code

Returns the status code of a URL. For example 404 if the page can not be found.

The "Is URL valid" property can be used to verify if a URL has a valid syntax. Yes or No is returned.

Action variables:

URL: The URL to verify.
Status code: Return variable for the status code returned by the server hosting the URL.
Is URL valid: A syntax check on the URL. Yes or No is returned.

Read Next Link

Reads the next hyperlink ('A' tag) in a Web Browser source and returns the "URL" and "Title" of the hyperlink.

Note: This action moves the source cursor position in the Web Page source like the Source Text Manipulation actions.

Tip: Use this action in a loop to collect all hyperlinks in a web page.

Action variables:

Web Page: The Web Page source to be used.
URL: Text variable where the URL of the link is stored. Is no more link is found, an empty value is returned.
Title: Text variable where the title of the link is stored. Is no more link is found, an empty value is returned.

Read Next Link by Title

Searches for a text in a Web Page source and returns the nearest URL in a variable.

Tip: Use this action to find a typical 'Next page' link by searching for the "Text" 'Next'.

Action variables:

Web Page: The Web Page source to be used.
Text: Search text that should be part of the link.
URL: Return variable where the URL of the link is stored. Is no link is found, an empty value is returned.

Read Next Image

Searches a "Web Page" source for the next image and returns it as "Image" variable.

The Save Image action can save the image variable. The name of the found image is returned in the "Image Name" variable.

Note
: This action moves the source cursor position in the Web Page source like the Source Text Manipulation actions.

Tip: Use this action in a loop to collect all images in a web page.

Action variables:

Web Page: The Web Page source to be used.
Image: Image variable where the image is stored. (Use the Save Image action to store it on disk.)
Image Name: Optional Text variable where the name of the image is stored. If no more images are found, an empty value is returned.

Save Image

Save an Image variable to disk. Typically used in combination with the Read Next Image action.

Note: When the filename is not specified, the filename from the image is used.

Action variables:

Image: An Image Variable where the image was stored.
Folder: The folder on disk where the image should be saved.
Filename: The filename that should be used.
Success variable: On Successful save action the variable will contain Yes, else it will be No.
Overwrite existing file: Select between 'Yes' or 'No' to overwrite an existing file.

Get Table Content

Collects all data from a HTML table to a "Data Grid" source.

The "Table Number" variable to indicates the HTML table to use. For example Table Number 3 will collect data from the thrid <TABLE> tag found in the HTML.

Tip: Use the Web Page viewer (F3) to inspect the table number in a web page.

Action variables:

Source: The source (Web Page or Text File) containing the HTML and table you want to extract.
Data Grid source: The Data Grid variable where the table data will be stored.
Table Number: Tells the action which table to extract. Search for "<TABLE" in the HTML source, and count occurrences until you reach the table you are after.
Start Row: Indicate at which row to start reading data. The first row has number "1".
End Row: Indicate at which row to stop reading data.
Start Column: Indicate at which column to start reading data. The first column has number "1".
End Column: Indicate at which column to stop reading data.
Strip HTML: Indicates whether the action will strip the data from HTML tags, thus automatically cleaning the data.

Get Tag Content

Reads the content from a HTML tag.

The position of the cursor in the Source is remembered. This means that by calling this action multiple times you can read subsequent tags to get their content.

The action looks for the tag specified in the Tag property. If you set Attribute Name and Value, only tags are matched where the tag attribute contain the set value.

For example, say you want to read the content of a html tag specified by the following html: "<TD class='myclass'>some content here...</TD>". Fill in "TD" as Tag, "class" as Attribute and "myclass" as Value. The action will now seek through the html and return the content of the first found tag in the Content property.


Action variables:

Source: The source (Web Page or Text File) containing the HTML and tag(s) you want to extract.
Tag: The name of the tag to read, like "TD".
Attribute Name: Optional name of the attribute to further specify the tag you need.
Attribute Value: Optional value of the attribute you use to specify the tag.
Content: Any content found is placed here.
Strip HTML: Indicates wether the action will strip the data from HTML tags, thus automatically cleaning the data.

Web Page Interaction

Refresh Browser Source

Get the web page's source after a delay without reloading the Web Page.

Use this action to obtain any changed HTML source due to dynamic reloading of (part of) the web page. This is sometimes necessary because while the browser appears to be ready (the page is in fact fully loaded), after this event dynamic code (aspx reloads for example) change the HTML. This action is especially handy after you have just run a web macro on a dynamic page, for example changing a selection in a dropdown or marking a checkbox.

Action variables:

Web Page: The Web Page source to be used.
Delay: The number of milliseconds to wait before refreshing the source. Use this to give the browser a chance to load dynamic content, like in aspx pages.

Fill Form Field

Fills a field in a form on a web page. Typically used for form automation, like a login to a web site.

Example: If the form element looks like "<INPUT Name="usr_name">".
Set the name to the value "John", set Field Name to "usr_name" and Value to John.

Tip: The Djuggler Web Viewer can inspect the tag information needed for this action.

Action variables:

Web Page: The Web Page source to be used.
Field Name: Field name that should be filled. This is the name attribute of the INPUT tag.
Value: The value to be pasted in to the form's field.

Execute JavaScript

Executes JavaScript in a Web Page source. This can either be an existing JavaScript function found in the HTML source or JavaScript in the action property.

Tip: The Execute JavaScript is used in combination with the Refresh Browser Source action to handle AJAX enabled web sites.
See the demo scripts.


Action variables:

Web Page: The Web Page source to use.
JavaScript code: The code or existing function in the HTML source to be executed.

Click Form Element

Performs a mouse click on a certain element in an HTML page. Typically used to click on a submit button programmatically.

Tip: The Djuggler Web Viewer can inspect the tag information needed for this action.

Action variables:

Web Page: The Web Page source to use.
Element Tag: The type of the tag to be clicked, for example the INPUT tag.
Element Name: The name attribute of the tag.

Strip HTML Tags

Removes all HTML tags from a text or variable with only the actual readable text as result. Typically used to clean out HTML tags from a Copy Text Between action.

Tip: To remove all tags from a HTML source, transfer a web page source content to a text variable by using the Source Text to Variable action.

Action variables:

Text: The text or variable that should be stripped from HTML tags.

Complete Page Links

Completes all links (href's) in a web page source's content. If you are about to extract links from a web page, it is handy to use this action before any extraction takes places. This ensures that all links you grab will be complete.

Example: A link like "./support/index.htm"; would be translated into something like "http://www.mysite.com//support/index.htm".

Tip: Calling Open Web Page after a Complete Page Links action refills the web page source, so to complete all links in the new page, you would have to call Complete Page Links again.


Action variables:

Source: The web page source where links should be completed.

Data Grid

Get Data Cell Value

Copy the value of a Data Grid cell into a variable.

Note: Rows and Column numbers start at "1".

Use the Row and Column variables to specify the cell. 
For example, using Row:2 and Column:3 would get the content from the cell located at the second horizontal row and the third vertical column.


Action variables:

Data Grid source: The Data Grid source to use.
Variable: Variable the cell content should be stored in.
Row: Indicates the cell row number.
Column: Indicates the cell column number.

Set Data Cell Value

Copy the value of a variable into a Data Grid cell.

Note: Rows and Column numbers start at "1".

Use the Row and Column variables to specify the cell.
For example, using Row:2 and Column:3 would set the content in the cell located at the second horizontal row and the third vertical column.


Action variables:

Data Grid source: The Data Grid source to use.
Variable: Variable the content should be copied from.
Row: Indicates the cell row number.
Column: Indicates the cell column number.

Store Variable(s) in Row

Stores one or more variables into a Data Grid source. The variable name is used as field name.
If a field name already exists, the corresponding column is used to store the variable's data. If the field name is new, a new data column is used.

Action variables:

Data Grid source: The Data Grid source to use.
Where to store: Select between a new row or append to the current row.
Variable: The variable you would like to store in the data grid.
Variable 2-6: Additional variables you would like to store.

Clear Data Grid

Clears the Data Grid.

Action variables:

Data Grid source: The Data Grid source to be cleared.

Delete Data Row(s)

Deletes row(s) from a Data Grid. The Row variable determines which row(s) to delete.

Example: "1,2" deletes rows 1 and 2 ("2,1" would be incorrect, because 1 is lower than 2)

The Row variable indicates the row number that must be deleted. Filling in "2" means the second row in the Data Grid will be deleted. You can delete multiple rows.
For example, use as Row value "1-4" will delete row 1 through 4 in the Data Grid. Using "1,2,3,4" as Row value would have done the exact same thing. However, always keep numbers in succession, from low to high. Use comma's to separate row numbers, dashes (-) to indicate a row range. Do not use spaces.

Correct value: "1,2,4-6" deletes rows 1, 2, 4, 5 and 6.
Correct value: "1-2,7-8" deletes rows 1, 2, 7 and 8.


Action variables:

Data Grid source: The Data Grid used for the action.
Row: The row(s) to delete.

Delete Data Column(s)

Deletes column(s) from a Data Grid. The "Column" variable determines which column(s) to delete.

Example: "1,2" deletes columns 1 and 2 ("2,1" would be incorrect, because 1 is lower than 2)

Filling in "2" means the second column in the Data Grid will be deleted. You can delete multiple columns.
For example, use as Column value "1-4" will delete column 1 through 4 in the Data Grid. Using "1,2,3,4" as Column value would have done the exact same thing. However, always keep numbers in succession, from low to high. Use comma's to separate row numbers, dashes (-) to indicate a row range. Do not use spaces.

Correct value: "1,2,4-6" deletes rows 1, 2, 4, 5 and 6.6.
Correct value: "1-2,7-8" deletes rows 1, 2, 7 and 8.

Action variables:

Data Grid source: The Data Grid used for the action.
Column: The column(s) to delete.

Append Another Data Grid

Appends one Data Grid to the other. The data is appended at the end of the Data Grid. The "Data Grid to append" variable indicates the grid that gets appended to the "Data Grid" variable.

Action variables:

Data Grid source: The Data Grid source to use.
Data Grid to append: The Data Grid used for the action.

SQL Database

Connect to MSSQL

Open a connection to a Microsoft SQL database.
 

Use the SQL Query Direct action for direct SQL update and insert statements, or use the SQL Record Set actions to loop through a record set after a SQL select statement.

When using a record set, use the following basic structure:

Connect
SQL Query for Records
... do actions like Loop Data Grid Rows...
Disconnect

When connecting to a database to run "SQL Query Direct" action, use the following basic structure:

... do actions...
Connect
SQL Query Direct
Disconnect


Action variables:

Database source: The SQL Database source to use.
Host Name: The Database host name.
User Name: The user name used to connect to the database.
Password: The password used to connect to the database.
Database Name: The name of the database your data is stored in.
Port: The port used for the connection.

Connect to MySQL

Open a connection to a MySQL database.
 

Use the SQL Query Direct action for direct SQL update and insert statements, or use the SQL Record Set actions to loop through a record set after a SQL select statement.

When using a record set, use the following basic structure:

Connect
SQL Query for Records
... do actions like Loop Data Grid Rows...
Disconnect

When connecting to a database to run "SQL Query Direct" action, use the following basic structure:

... do actions...
Connect
SQL Query Direct
Disconnect

Action variables
:

Database source: The SQL Database source to use.
Host Name: The Database host name.
User Name: The user name used to connect to the database.
Password: The password used to connect to the database.
Database Name: The name of the database your data is stored in.
Port: The port used for the connection.

Connect to Oracle

Open a connection to a Oracle database.
 

Use the SQL Query Direct action for direct SQL update and insert statements, or use the SQL Record Set actions to loop through a record set after a SQL select statement.

When using a record set, use the following basic structure:

Connect
SQL Query for Records
... do actions like Loop Data Grid Rows...
Disconnect

When connecting to a database to run "SQL Query Direct" action, use the following basic structure:

... do actions...
Connect
SQL Query Direct
Disconnect

Action variables
:

Database source: The SQL Database source to use.
Host Name: The Database host name.
User Name: The user name used to connect to the database.
Password: The password used to connect to the database.
Database Name: The name of the database your data is stored in.
Port: The port used for the connection.

Connect to Informix

Open a connection to a Informix database.
 

Use the SQL Query Direct action for direct SQL update and insert statements, or use the SQL Record Set actions to loop through a record set after a SQL select statement.

When using a record set, use the following basic structure:

Connect
SQL Query for Records
... do actions like Loop Data Grid Rows...
Disconnect

When connecting to a database to run "SQL Query Direct" action, use the following basic structure:

... do actions...
Connect
SQL Query Direct
Disconnect

Action variables
:

Database source: The SQL Database source to use.
Host Name: The Database host name.
User Name: The user name used to connect to the database.
Password: The password used to connect to the database.
Database Name: The name of the database your data is stored in.
Port: The port used for the connection.

Connect to DB2

Open a connection to a DB2 database.

Use the SQL Query Direct action for direct SQL update and insert statements, or use the SQL Record Set actions to loop through a record set after a SQL select statement.

When using a record set, use the following basic structure:

Connect
SQL Query for Records
... do actions like Loop Data Grid Rows...
Disconnect

When connecting to a database to run "SQL Query Direct" action, use the following basic structure:

... do actions...
Connect
SQL Query Direct
Disconnect


Action variables:

Database source: The SQL Database source to use.
Host Name: The Database host name.
User Name: The user name used to connect to the database.
Password: The password used to connect to the database.
Database Name: The name of the database your data is stored in.
Port: The port used for the connection.

Disconnect

Close a connection to a SQL database.

Note: When a SQL Record Set is being used, the close action automatically applies changes made to the current record set to the database.

Action variables:

SQL Database: The SQL Database source connection that should be closed.

SQL Query Direct

Execute a SQL query directly without returning in a record set in memory.

Note: Changes made by the query are reflected in the database immediately.

Tip: SQL Query Direct is typically used for updating a database or adding new records. 

When connecting to a database to run a "SQL Query Direct" action, use the following basic structure:

... do actions...
Connect
SQL Query Direct
Disconnect


Always first use a "Connect" action to connect to the server. Next you run a "SQL Query Direct" action. Use "Disconnect" action as the last action to close the database connection.

Action variables:

Database source: The SQL Database source to query.
Query: The SQL query (for example "UPDATE Persons SET Address='[txtAddress]', City='[txtCity]' WHERE LastName='Tjessem' AND FirstName='Jakob'").

SQL Record Set

SQL Query for Records

Execute a SQL query and returns a record set in memory linked to the database connection.
Record sets can be looped with Loop Records. Field values can be set or read with Get and Set Field actions.

Note: Record sets are commited back to the database with the Commit Changes action or on the Disconnect.

When using a record set, use the following basic structure:

Connect
SQL Query for Records
... do actions like Loop Data Grid Rows...
Disconnect


First use the Connect action to connect to the server. Next run a SQL Query for Records and create a result set of records in memory, linked to the SQL database connection. Next use actions like Get Field or Delete Record.
Changes in the records set will not be saved to the database until Commit Changes is used or the the Disconnect action is called.

Action variables:

Database source: The SQL Database source to query.
Query: The SQL query (for example "select * from table1").

Append Record

Append a record to the end of the current record set.
The appended record becomes the active, current record, and can directly be used with a Set Field action for example.

Note: Changes will be applied to the database after a Disconnect or Commit Changes action, or after a Loop Records has finished.

Action variables:

Database source: The SQL Database source connection to use.

Delete Record

Remove the active, current record from the record set.

Note: Changes will be applied to the database after a Disconnect or Commit Changes action, or after a Loop Records has finished.

Action variables:

Database source: The SQL Database source connection to use.

Get Field Value

Get the value of a field from the active, current record in the record set and copy it to a variable.
Use the "Field Name or Column number" property to indicate which field in the record is to be used.

Note: Changes will be applied to the database after a Disconnect or Commit Changes action, or after a Loop Records has finished.

Action variables:

Database source: The SQL Database source connection to use.
Field Name or Column nr: The exact field name as in the database or the column number (first column in the record is zero).
Variable: The variable to be used for coping the field value from the record.

Set Field Value

Set the value of a field in the active, current record in the record.
Use the "Field Name or Column number" property to indicate which field in the record is to be used.

Note: Changes will be applied to the database after a Disconnect or Commit Changes action, or after a Loop Records has finished.

Action variables:

Database source: The SQL Database source connection to use.
Field Name or Column nr: The exact field name as in the database or the column number (first column in the record is zero).
Value: The field value to be set.

Commit Changes

Apply any changes to the active record set into the database. Use this action to force a commit to the database.

Note: When a Loop Records has finished or Disconnect action is invoked, changes to the database will be commited automatically.

Action variables:

Database source: The SQL Database source connection to commit changes to.

Move to First Record

Move the current record pointer to the first record in the active record set.

Action variables:

Database source: The SQL Database source connection to use.

Move to Last Record

Move the current record pointer to the last record in the active record set.

Action variables:

Database source: The SQL Database source connection to use.

Move to Next Record

Move the current record pointer to the next record in the active record set.

If the last record is reached, the "Last Record Reached" variable will be set to "Yes".

Tip: Use the "Last Record Reached" variable to exit a simple Loop action when not using the Loop Records action.

Action variables:

Database source: The SQL Database source connection to use.
Last Record Reached: Variable that will be set to "Yes" when the last record in the set is reached.

Move to Previous Record

Move the current record pointer to the previous record in the active record set.

If the first record is reached, the "First Record Reached" variable will be set to "Yes".

Tip: Use the "First Record Reached" variable to exit a simple Loop action when not using the Loop Records action.

Action variables:

Database source: The SQL Database source connection to use.
First Record Reached: Variable that will be set to "Yes" when the first record in the set is reached.

Copy Query to Data Grid

Copy the complete content of the active record set into a Data Grid source.
 

Action variables:

Database source: The SQL Database source connection to use.
Data Grid source: The Data Grid source used to put the data in.

Source Text Manipulation

Find Text in Source

Finds a text string in the content of source and sets the source cursor to a new position.

Tip: This actions supports one or more asterix ('*') wildcard for a search text like '<TR*>*Name:'. Line breaks in a source must also be mached with '#13#' or by a wildcard '*'.

Note: Source Text Manipulation actions always keep an internal cursor position in the source for reference, while Text Manipulation actions don't have a cursor position.

The Find Text in Source action, like Copy Text from Source and Insert Text in Source are Source Text Manipulation actions. Meaning they operate on a source with a cursor position, while normal Text Manipulation actions like Copy Text do also work with sources but without a cursor position.
A cursor position in a source is remembered and used the next time you use a Source Text Manipulation action. This is typically used when collecting a structure of data from HTML table in a loop action for example.

Action variables:

Source: The source to use.
Text To Find: Text to find in the source content.
Search Direction: Set to a forward or backward search direction.
Cursor Placement: When a text is found, set the cursor position before or after the found text.
Case Sensitive: Indicates if the action should be performed case sensitive or not.
Success variable: Indicates whether the action was successful, returns either 'Yes' or 'No'.

Tip: Use #13# for new line or #9# for a tab or any other ASCII character between pound signs when manipulating text.

Copy Text from Source

Read from the current cursor position until the text in "Read Until" property is found. The read text is stored in the assigned "Found Text" variable. If no text was not found the Found Text will be empty.

Tip: This actions supports one or more asterix ('*') wildcard for a copy like read until '<TR*><TABLE*>'. Line breaks in a source must also be mached with '#13#' or by a wildcard '*'.

Note: Source Text Manipulation actions always keep an internal cursor position in the source for reference, while Text Manipulation actions don't have a cursor position.

The Copy Text from Source action, like Insert Text in Source are Source Text Manipulation actions. Meaning they operate on a source with a cursor position, while normal Text Manipulation actions like Copy Text do also work with sources but without a cursor position.
A cursor position in a source is remembered and used the next time you use a Source Text Manipulation action. This is typically used when collecting a structure of data from HTML table in a loop action for example.

Action variables:

Source: The source to use.
Read until: Text to find in the source content.
Copied Text: Variable to hold the copied text.
Cursor Placement: When a text is found, set the cursor position before or after the found text.
Case Sensitive: Indicates if the action should be performed case sensitive or not.

Tip: Use #13# for new line or #9# for a tab or any other ASCII character between pound signs when manipulating text.

Copy Text from Source Between

Copy text between a "From Text" and a "To Text" property from the current cursor position in a source and returns the copied text in a variable.
 
Tip: This actions supports one or more asterix ('*') wildcard for a copy like from '<TR*>*Name:' to '</TR>'. Line breaks in a source must also be mached with '#13#' or by a wildcard '*'.

Note: Source Text Manipulation actions always keep an internal cursor position in the source for reference, while Text Manipulation actions don't have a cursor position.

The Copy Text from Source Between action, like Copy Text from Source and Insert Text in Source are Source Text Manipulation actions. Meaning they operate on a source with a cursor position, while normal Text Manipulation actions like Copy Text do also work with sources but without a cursor position.
A cursor position in a source is remembered and used the next time you use a Source Text Manipulation action. This is typically used when collecting a structure of data from HTML table in a loop action for example.

Action variables:

Source: The source to use.
From Text: Start text match for the copy.
To Text: Start text match for the copy (To Text is not included in the copied text).
Copied Text: Variable to hold the copied text.
Cursor Placement: When a text is found, set the cursor position before or after the found text.
Case Sensitive: Indicates if the action should be performed case sensitive or not.

Tip: Use #13# for new line or #9# for a tab or any other ASCII character between pound signs when manipulating text.

Insert Text in Source

Inserts a text at the current cursor position in the source.

Note
: Source Text Manipulation actions always keep an internal cursor position in the source for reference, while Text Manipulation actions don't have a cursor position.

The Insert Text in Source action, like Copy Text from Source are Source Text Manipulation actions. Meaning they operate on a source with a cursor position, while normal Text Manipulation actions like Copy Text do also work with sources but without a cursor position.
A cursor position in a source is remembered and used the next time you use a Source Text Manipulation action.

Action variables:

Source: The source to use.
Text to Insert: Text to be inserted at the current cursor position.
Cursor Placement: Set the cursor position before or after the inserted text.
Success variable: Indicates whether the action was successful, returns either 'Yes' or 'No'.

Tip: Use #13# for new line or #9# for a tab or any other ASCII character between pound signs when manipulating text.

Replace Text in Source

Replace all occurenses of a text from the current cursor position in the source with a new text.

Tip: This actions supports one or more asterix ('*') wildcard for a copy like from '<TR*>*Name:' to '</TR>'. Line breaks in a source must also be mached with '#13#' or by a wildcard '*'.

Note: Source Text Manipulation actions always keep an internal cursor position in the source for reference, while Text Manipulation actions don't have a cursor position.

The Replace Text in Source action, like Copy Text from Source are Source Text Manipulation actions. Meaning they operate on a source with a cursor position, while normal Text Manipulation actions like Copy Text do also work with sources but without a cursor position.
A cursor position in a source is remembered and used the next time you use a Source Text Manipulation action.

Action variables:

Source: The source to use.
Old Text: Text to be found and replaced or use the content of a variable..
New Text: Replacement text or use the content of a variable.
Cursor Placement: When a text is found, set the cursor position before or after the found text.
Case Sensitive: Indicates if the action should be performed case sensitive or not.
Success variable: Indicates whether the action was successful, returns either 'Yes' or 'No'.

Tip: Use #13# for new line or #9# for a tab or any other ASCII character between pound signs when manipulating text.

Match Text in Source

Matches a regular expression in a source from the current cursor position. The "Mached Text" is returned in a variable.
Tip: More info on regular expressions can be found at: http://www.regular-expressions.info

Note: Source Text Manipulation actions always keep an internal cursor position in the source for reference, while Text Manipulation actions don't have a cursor position.

The Match Text in Source action, like Copy Text from Source are Source Text Manipulation actions. Meaning they operate on a source with a cursor position, while normal Text Manipulation actions like Copy Text do also work with sources but without a cursor position.
A cursor position in a source is remembered and used the next time you use a Source Text Manipulation action.

Action variables:

Source: The source to use.
Regular Expression: The regular expression to be used.
Matched Text: A variable that holds the matched text.
Match Succeeded: Indicates whether the match was successful, returns either 'Yes' or 'No'.
Return Sub Expression Nr: When using sub expressions indicate the number of the sub expression. Number 1 is the first sub expressions, zero is the complete expression.

Text Manipulation

Find Text from Position

Find a text string in the content of source or variable and returns the position of the found text as a number variable. If the text was not found, "Result Position" is set to 0.

A 'position' is the the index position of a character or string. Example: The 'q' in the string 'The quick brown fox' has a position 5. The first character is always 1.

Tip: This actions supports one or more asterix ('*') wildcard for a search text like '<TR*>*Name:'. Line breaks in a source must also be mached with '#13#' or by a wildcard '*'.

Action variables:

Text: A source or variable to use for this action.
Text To Find: Text to find in the content.
Start Position: A number or variable indicating from which position to start searching within the content.
Result Position: A number or variable indicating the position where Text To Find has been found in the content.
Search Direction: Select to search for Text To Find in forward or backward direction.
Case Sensitive: Indicates if the action should be performed case sensitive or not.

Tip: Use #13# for new line or #9# for a tab or any other ASCII character between pound signs when manipulating text.

Copy Text from Position

Copy text from a source or variable, starting at "Start Position" and copying until the "End Position" is reached. The copied text is returned in the "Copied Text".

A 'position' is the the index position of a character or string. Example: The 'q' in the string 'The quick brown fox' has a position 5. The first character is always 1.

Tip: This actions supports one or more asterix ('*') wildcard for a search text like '<TR*>*Name:'. Line breaks in a source must also be mached with '#13#' or by a wildcard '*'.

Action variables:

Text: A source or variable to use for this action.
Start Position: A number or variable indicating the position to start copying.
End Position: A number or variable indicating the position where to stop copying.
Copied Text: The result variable where the copied text is returned.

Copy Text Between

Copy text from a source or variable between two strings. Text is copied from the "From Text" property value until "To Text" property value. The copied text is returned in the "Copied Text" property as variable.

Tip: This actions supports one or more asterix ('*') wildcard for a search text like '<TR*>*Name:'. Line breaks in a source must also be mached with '#13#' or by a wildcard '*'.

Action variables:

Text: A source or variable to use for this action.
From Text: A string or variable indicating the position to start copying.
To Text: A string or variable indicating the position where to stop copying.
Copied Text: The result variable where the copied text is returned.
Case Sensitive: Indicates if the action should be performed case sensitive or not.

Tip: Use #13# for new line or #9# for a tab or any other ASCII character between pound signs when manipulating text.

Insert Text at Position

Insert a string in a source or variable at specific position.

A 'position' is the the index position of a character or string. Example: The 'q' in the string 'The quick brown fox' has a position 5. The first character is always 1.

Action variables:

Text: A source or variable to use for this action.
Position: A number or variable indicating the position to insert text.
Text to Insert: The text to insert at the given position.

Tip: Use #13# for new line or #9# for a tab or any other ASCII character between pound signs when manipulating text.

Replace Text

Replace a single or all occurrences of a text with another text in a source or variable.

Note: This text is case sensitive.

Tip: This action supports an '*' as wildcard.

Action variables:

Text: A source or variable to use for this action.
Old Text: Text to be replaced.
New Text: Text to replace the old text with.

Tip: Use #13# for new line or #9# for a tab or any other ASCII character between pound signs when manipulating text.

Match Text

Matches a regular expression in a variable or source. The "Mached Text" is returned in a variable.

Tip: More info on regular expressions can be found at: http://www.regular-expressions.info

Action variables:

Text: A source or variable to use for this action.
Regular Expression: The regular expression used in the match.
Returned Match: Returns the actual text matched by the regular expression.
Return Sub Expression Number: If the regex contains sub-expressions (marked by round brackets), indicate here which sub-expression number (first, second, etc.) you want returned to the Matched Text property.
Match Succeeded: If a match was successful, this variable is set to "Yes". If it was unsuccessful, it is set to "No".

Match and Replace Text

Matches a regular expression in a variable or source and replaces all occurrences of the matches with another text.

Tip: More info on regular expressions can be found at: http://www.regular-expressions.info

Action variables:

Text: A source or variable to use for this action.
Regular Expression: the regular expression used in the match.
Replace Text: Returns the actual text matched by the regular expression.

Convert Text

This action convert text of a a format to another format.

Supported conversions are UTF-8 to ASCII and vise versa.
And special HTML characters to ASCII. For example '&nbsp' to a space.  

Action variables:

Text: A source or variable to use for this action.
Conversion: Select the format the text is to be converted to.

Fuzzy Compare

This action (fuzzy) compares one string to another and gives back a score how good the match is. Use this to decide how similar or dissimilar one string is compared to another. If you want to pick the best matching string from a list, use the Fuzzy Best Match action instead.

The action will compare a text string in the "Text1" property with a text string in the "Text2" property. It will provide a score as a result in the "Score" property. The Score is a measure of how much the two strings are alike. The Score depends on which algorithm you choose for comparison.

Algorithms: The algorithm determines how strings are compared to each other. Different algorithms have different applications, so it depends on the matching task you have which one is best for you.

DA1. Djuggler native fuzzy string comparison algorithm. In addition to comparing words, it also does a good job comparing "sentences" (strings of words). The lower the Score the better the match. A Score of -300 is a better match than a Score of -50 or 200. Score can be negative as well as positive. For example: compare "Nokia E66" with "Nokia E66" (Score:-300), "Nokia E65" (-279) and "Samsung Soul" (200). From these three strings, Nokia E66 is the best match, while Nokia E65 doesn't do bad either. Samsung Soul compares much worse to Nokia E66. Although not fool proof, negative scores can be considered good matches, while positive scores can be considered bad ones.

Levenshtein. The Levenshtein fuzzy string comparison algorithm. This algorithm calculates the difference between two strings (edit distance). The more differences are found, the higher the Score. A perfect match gets a Score of 0; less perfect matches get a higher score. Score is a positive number starting at zero.

Jaro-Winkler. The Jaro-Winkler fuzzy string comparison algorithm. This algorithm calculates the similarity between two strings. The more similarities are found, the higher the Score. A perfect match gets a Score of 1; the lowest score is 0. Score is a positive number between zero and one. 

Replacement List: you can provide a list variable here containing string replacements. These replacements are performed before the comparison is done. This allows you to correct for different spellings of a word (for example "3rd" and "third") before you compare strings, enhancing the match score. Each replacement is a separate item in the list, separated by an "=". To replace "3rd" with "third", add an item "3rd=third" to the list. 
 
 

Action variables:

Text1: First text string.
Text2: second text string to compare the first one with.
Algorithm: The algorithm to use in the comparison.
Score: A number indicating how well Text1 matches Text2.
Replacement List (optional): A list of string replacements to perform on Text1 before the comparison is begun.

Fuzzy Best Match

This action finds the best (fuzzy) match of a string in a list of strings. The best matching string in the list is returned.

The action will compare a text string in the "Text" property with a list of strings in the "List" property. It will return the string from the list that best matches the stringin the Text property. The Score is a measure of how much the two strings are alike. The score depends on which algorithm you choose for comparison.

Algorithms: The algorithm determines how strings are compared to each other. Different algorithms have different applications, so it depends on the matching task you have which one is best for you.

DA1. Djuggler native fuzzy string comparison algorithm. In addition to comparing words, it also does a good job comparing "sentences" (strings of words). The lower the Score the better the match. A Score of -300 is a better match than a Score of -50 or 200. Score can be negative as well as positive. For example: compare "Nokia E66" with "Nokia E66" (Score:-300), "Nokia E65" (-279) and "Samsung Soul" (200). From these three strings, Nokia E66 is the best match, while Nokia E65 doesn't do bad either. Samsung Soul compares much worse to Nokia E66. Although not fool proof, negative scores can be considered good matches, while positive scores can be considered bad ones.

Levenshtein. The Levenshtein fuzzy string comparison algorithm. This algorithm calculates the difference between two strings (edit distance). The more differences are found, the higher the Score. A perfect match gets a Score of 0; less perfect matches get a higher score. Score is a positive number starting at zero.

Jaro-Winkler. The Jaro-Winkler fuzzy string comparison algorithm. This algorithm calculates the similarity between two strings. The more similarities are found, the higher the Score. A perfect match gets a Score of 1; the lowest score is 0. Score is a positive number between zero and one. 

Replacement List: you can provide a list variable here containing string replacements. These replacements are performed before the comparison is done. This allows you to correct for different spellings of a word (for example "3rd" and "third") before you compare strings, enhancing the match score. Each replacement is a separate item in the list, separated by an "=". To replace "3rd" with "third", add an item "3rd=third" to the list.


Action variables:

Text: a text string.
List: a list to compare the text string with.
Algorithm: The algorithm to use in the comparison.
Best match: The best found match within the list of strings.
Score (optional): A number indicating how well the found string matches Text.
Replacement List (optional): A list of string replacements to perform on Text1 before the comparison is begun.

Split Right

Splits a text variable and returns the right part of the split text.

Example: On the text 'abcdef' with 'cd' as "Split Characters"; 'ef' will be returned as "Split Text".

Note: When the "Split Characters" are not found the complete content of "Text" will be returned in "Split Text".

Action variables:

Text: A text variable to use for this action.
Split Text: The variable in which the right part of the text that was split is returned.
Split Characters: The characters to split the text at.

Split Left

Splits a text variable and returns the left part of the split text.

Example: On the text 'abcdef' with 'cd' as "Split Characters"; 'ab' will be returned as "Split Text".

Note: When the "Split Characters" are not found the complete content of "Text" will be returned in "Split Text".

Action variables:

Text: A text variable to use for this action.
Split Text: The variable in which the left part of the text that was split is returned.
Split Characters: The characters to split the text at.

Trim

Trims leading and trailing spaces of the content in a text variable.

Action variables:

Variable: The text variable that will be trimmed.

Upper Case

Converts all characters in the content of a text variable to upper case.

Action variables:

Text: A text variable to use for this action.

Lower Case

Converts all characters in the content of a text variable to lower case.

Action variables:

Text: A text variable to use for this action.

Upper Case First Letter

Converts the first character in the content of a text variable to upper case.

Action variables:

Text: A text variable to use for this action.

Strip HTML Tags

Strips all HTML tags from the content of a text variable.

Example: '<B>Hello <I>World</I></B>' would become 'Hello World'.

Action variables:

Text: A text variable to use for this action.

Import & Export

Import Excel

Imports an Excel file and puts the contents in a Data Grid source.

Note: The first Excel sheet is always used for import.

This action supports Excel 97, 2000 and 2003 formats.
For Excel 2007 format, please see the separate action for this format.

Action variables:

Filename: The path and name of the file containing the data.
Data Grid source: The Data Grid source where the data will be copied to.

Import Excel 2007

Imports an Excel file from MS Office 2007 and puts the contents in a Data Grid source.

This action only supports Excel 2007 format, please see the separate actions for other Excel formats.

Action variables:

Filename: The path and name of the file containing the data.
Data Grid source: The Data Grid source where the data will be copied to.
Sheet Name: The name of the Excel sheet in the workbook that contains the data. When left empty, the first sheet is used.

Import Access

Import an Access file and put the contents in a Data Grid source.

This action supports Access 97, 2000 and 2003 formats.

Action variables:

Filename: The path and name of the file containing the data.
Data Grid source: The Data Grid source where the data will be copied to.
Table Name: The name of the Table in the database that contains the data that must be loaded.
Password: Fill in your password if your database is protected by a password.

Import DBF or FoxPro

Import a DBF file and put the contents in a Data Grid source.

This action supports DBF and FoxPro formats.

Action variables:

Filename: The path and name of the file containing the data.
Data Grid source: The Data Grid source where the data will be copied to.

Import CSV

Import an Comma Separated Values file and put the contents in a Data Grid source.

This action supports CSV with comma, semi-colon and tab as separators.

Action variables:

Filename: The path and name of the file containing the data.
Data Grid source: The Data Grid source where the data will be copied to.
Separator: The separator used to separate the data columns.

Export to Excel

Export data from a Data Grid source to an Excel file.

The exported file is readable in Excel versions 97, 2000 and 2003.

Action variables:

Filename: The path and name of the file where the data should be saved in.
Data Grid source: The Data Grid source where the data will be copied from.
Overwrite existing file: Select between 'Yes' or 'No' to overwrite an existing file.

Export to Excel 2007

Export data from a Data Grid source to an Excel file in Excel format.

The exported file is readable in Excel version 2007.

Action variables:

Filename: The path and name of the file where the data should be saved in.
Data Grid source: The Data Grid source where the data will be copied from.
Overwrite existing file: Select between 'Yes' or 'No' to overwrite an existing file.

Export to Access

Export data from a Data Grid source to an Access file in Excel format.

The exported file is readable in Access versions 97, 2000 and 2003.

Action variables:

Filename: The path and name of the file where the data should be saved in.
Data Grid source: The Data Grid source where the data will be copied from.
Table Name: The table name that should be used. If left empty, the name "ExportResult" is used.
Overwrite existing file: Select between 'Yes' or 'No' to overwrite an existing file.

Export to DBF

Export data from a Data Grid source to a DBF file.


Action variables:

Filename: The path and name of the file where the data should be saved in.
Data Grid source: The Data Grid source where the data will be copied from.
Overwrite existing file: Select between 'Yes' or 'No' to overwrite an existing file.

Export to CSV

Export a Data Grid source to a Comma Separated Values file.

This action supports CSV files with comma, semi-colon and tab as separators.

Action variables:

Filename: The path and name of the file where the data should be saved in.
Data Grid source: The Data Grid source where the data will be copied from.
Separator: The separator used to separate different data columns in one line of the (text) file.
Overwrite existing file: Select between 'Yes' or 'No' to overwrite an existing file.

Export to SQL Script

Export a Data Grid source to SQL Script text file.

Action variables:

Filename: The path and name of the file where the data should be saved in.
Data Grid source: The Data Grid source where the data will be copied from.
Overwrite existing file: Select between 'Yes' or 'No' to overwrite an existing file.

File System

Copy File(s)

Copies one or more files to another location.

Tip: Indicate multiple files by using wildcards like: c:\myfiles\*.*.

Action variables:

Source: The file(s) that should be copied.
Destination Folder: The folder where the file(s) should be copied to.
Silent: Set silent to 'Yes' to supress confirmation and error prompts.

Move File(s)

Moves one or more files to another location.

Tip: Indicate multiple files by using wildcards like: c:\myfiles\*.*.

Action variables:

Source: The file(s) that should be moved.
Destination Folder: The folder where the file(s) should be moved to.
Silent: Set silent to 'Yes' to supress confirmation and error prompts.

Rename File or Folder

Change the name of a file or folder.

Action variables:

Old name: The existing file or folder that should be renamed.
New name: The new filename or folder name.
Silent: Set silent to 'Yes' to supress confirmation and error prompts.

Delete File

Deletes a file.

Action variables:

Filename: The file (path and filename) that should be deleted.
Silent: Set silent to 'Yes' to supress confirmation and error prompts.

Create Folder

Create a new folder.

Tip: You can create several nested folders at once, i.e. "c:\folder1\folder2" creates the full path indicated including 'folder1' if it did not exist already.

Action variables:

Folder Name: The folder (path) that should be created.
Silent: Set silent to 'Yes' to supress confirmation and error prompts.

Copy Folder

Copies a folder including files to another location.

Action variables:

Source Folder: The folder that should be copied.
Destination Folder: The destination to copy the folder to.
Silent: Set silent to 'Yes' to supress confirmation and error prompts.

Move Folder

Moves a folder including files to another location.

Action variables:

Folder Name: The folder that should be moved.
Destination Folder: The destination to move the folder to.
Silent: Set silent to 'Yes' to supress confirmation and error prompts.

Delete Folder

Deletes an existing folder.

Action variables:

Folder Name: The folder (path) that should be deleted.
Silent: Set silent to 'Yes' to supress confirmation and error prompts.

Get File Information

Retrieves various information about a given file, like: size, creation date, etc.

Action variables:

Filename: The filename that should be analyzed.
Display Name: The filename as displayed by the file system.
File Type: The type as displayed by the file system, like 'Word document'.
Attributes: A string containing the attributes of the file, like: 'A' from the archive attribute.
Attribute code: A number that represents the active attributes of a file.
File size: A number containing the file size of a file in bytes.
File size description: A string that displays the file size rounded to kb, MB or GB.
Creation time: The creation Date of a file.
Last access time: The Date when the file was last accessed.
Last write time: The Date when the file was last modified.
File age in days: The number of days since the file was created and today.

Get File Path Information

Retrieves various information about a the path of a given file, like drive, file extension, etc.

Action variables:

Filename: The filename that should be analyzed.
File drive: The file drive where the file is located.
Dir: The directory the file is located.
Path: The file path to a file.
Short path: The short path (path without spaces and in 8.3 notation) of the full path.
Filename: The filename without the file path.
File extension: The file extension of a file, including the dot.

Email

Send Mail Direct

Deliver mail directly at the receiver's mail server without relaying through an SMTP host.

Tip: Read the more help for embedding images in HTML email.

The minimum properties required to send an e-mail are the "To", "From", "Subject" and "Body" properties.

The "To" property can only be a single email address, valid notations are 'john.doe@someplace.com' or 'John <john.doe@someplace.com>' or '"John Doe" <john.doe@someplace.com>'.

The "Body" property is the plain text part of the message, this can be either plain text or a filename that should be loaded as the body text.

The "HTML Body" property is the HTML part of the message that will be included and can either be HTML text or a local filename.

If the HTML contains pictures (GIF, JPG or PNG) with a local reference, they will be embedded inline.
Example: '<img scr="c:\mypicture.jpg">' will be embedded inline because is has a local reference; '<img scr="http://somedomain/mypicture.jpg">' will NOT be embedded inline.

The "Attachments" property is a comma separated list of local filenames, e.g. 'c:\myfile.doc, c:\myfile2.txt'.

If the "DNS" property is given, that dns is used to auto resolve the mx records, otherwise the first dns from the local system will be used.

The "Result" property contains the result of the action, a message with a specific error or success message.

Action variables:

To: The address of the recipient.
From: The sender's e-mail address.
Subject: The e-mail subject.
Body: The plain text body of the e-mail. Can be either text or a local filename.
Result variable: The result of the action (mail sent, any errors) is written to this variable.
DNS: The DNS used to auto resolve the MX records.
HTML Body: HTML part of the message, either text or a local filename.
Attachments: Comma separated attachment list of local filenames.

Send Mail by SMTP

Send Mail by SMTP will send a plain text or html e-mail via an SMTP host.

Tip: Read the more help for embedding images in HTML email.

The "To", "CC" and "BCC" properties can be a single email address or multiple e-mail addresses separated by a comma, valid notations are 'john.doe@someplace.com, jane.doe@someplace.com' or 'John <john.doe@someplace.com>' or  '"John Doe" <john.doe@someplace.com>, "Jane Doe" <jane.doe@someplace.com>'.

The "Body" property is the plain text part of the message, this can be either plain text or a filename that should be loaded as the body text.

The "HTML Body" property is the HTML part of the message that will be included and can either be HTML text or a local filename.

If the HTML contains pictures (GIF, JPG or PNG) with a local reference, they will be embedded inline.
Example: '<img scr="c:\mypicture.jpg">' will be embedded inline because is has a local reference; '<img scr="http://somedomain/mypicture.jpg">' will NOT be embedded inline.

The "Attachments" property is a comma separated list of local filenames, e.g. 'c:\myfile.doc, c:\myfile2.txt'.

If the "DNS" property is given, that dns is used to auto resolve the mx records, otherwise the first dns from the local system will be used.

The "Result" property contains the result of the action, a message with a specific error or success message.

Optionally a specific SMTP "Port", "Username" and "Password" can be specified for the SMTP connection.

Action variables:

To: The address of the recipient. Multiple addresses are separated by a comma.
From: The sender's e-mail address.
Subject: The e-mail subject.
Body: The plain text body of the e-mail. Can be either text or a local filename.
Host: SMTP server that should be used for the outgoing e-mail.
Result variable: The result of the action (mail sent, any errors) is written to this variable.
CC: Carbon copy recipients. Multiple addresses are separated by a comma.
BCC: Blind carbon copy recipients. Multiple addresses are separated by a comma.
Port: Specific SMTP port that should be used for the connection.
Host username: Username for basic SMTP authentication.
Host password: Password for basic SMTP authentication.
HTML Body: HTML part of the message, either text or a local filename.
Attachments: Comma separated attachment list of local filenames.

Send Mail Raw

Send a raw e-mail message file to a smtp host.

A raw e-mail message file is a text file that contains headers, addresses and content for an e-mail message.
These files are typically found in message queues of mail servers and used by programs as the Microsoft SMTP service.

A simple and minimal raw message file may look like:

TO: john.doe@someplace.com
FROM: jane.doe@someplace.com
SUBJECT: message from jane

Hello John,
Bye Jane.

 
Action variables:

Host: SMTP server that should be used for the outgoing e-mail.
Raw message file: A filepath to a text file containing the raw message.
Result variable: The result of the action (mail sent, any errors) is written to this variable.
Port: Specific SMTP port that should be used for the connection.
Host username: Username for basic SMTP authentication.
Host password: Password for basic SMTP authentication.

System

Run shell command

This action executes a shell command.

For example, using 'notepad.exe' as "Command" property value will bring up Windows notepad editor.

Note: Use quotes when filenames or parameters contain spaces.

Action variables:

Command: The shell command to execute.
Parameters: Any parameters you want to feed to the application.
Show Window: Set the window state of the executing command shell.

Pipe DOS Application

This action allows you to run a DOS application and catch its output in a variable.

Example: 'ipconfig.exe /all' as "Command line" property value will catch ip information output in a variable.

Note: Use quotes when filenames or parameters contain spaces.

Action variables:

Command line: The DOS application including command line parameters.
Output (stdOutOutput): The standard output of the DOS application is returned in text variable.
Errors (stdOutError): The standard error output of the DOS application is returned in text variable.
Show Window: Set the window state of the executing command shell.
Time-out (seconds): When the application is not finished by the time-out it will be killed automatically. '0' means wait for ever.
Success variable: Returns 'Yes' when the application has finished before the time-out, otherwise it will return 'No'.

Get Parameter Value

A Djuggler compiled script can be called with parameters. This action reads a parameter and assigns it to a text variable to be used in the script.

Example: Set "Param name" to '/log' and call the compiled script as 'myscript.exe /log=c:\temp\mylogfile.txt'.

Tip: Use the "Default value" property value to test the parameter when not running as a compiled script.


Action variables:

Param name: The parameter name to use, like '/input'. Call it on the command line with '/input=test'
Param value: A text variable that holds the parameter value given on the command line.
Default value: When no parameter is given on the command line, this value will be used as Param value.

Get System Folder

Returns the path to the special Windows folders, like the Temp folder or My Documents (Personal folder), etc as a text variable.

Action variables:

System Folder Kind: Specify a special folder.
Result variable: A text variable with the complete folder path.

Get System Information

Returns various system information, like Computer name, User name, IP Address, etc as a text variable.

Action variables:

System Information: Specify the system information.
Result variable: A text variable with the system information.

Current Date and Time

Returns the current date and time in a variable.

Tip: Use the "Date from Date variable to Text" or "Time from Date variable to Text" or "Parse Date variable" actions in the 'Variables' group to convert dates and times.

Action variables:

Result variable: The variable that will hold the current Date.

Get Registry Data

Returns a registry value as a text variable.

Action variables:

Hive Key: Select the hive key to use.
Key: The registry key value to use.
Value: The registry value to use.
Registry data: Return variable that holds the registry data.
Success variable: When the registry could be read 'Yes' will be returned otherwise 'No'.