Setting up a script tile
Add new tile
1. Right-click the middle window of ELO Dropzone.
Script tile, set upThe ELO Dropzone context menu appears.
2. Click the Edit mode for personal tiles menu item.
Alternative: Click Edit mode for global tiles to create a global script tile.
Alternative: Click the button with the pencil icon.
ELO Dropzone switches to edit mode. The sand-colored background indicates that you are in edit mode.
3. Open the ELO Dropzone context menu.
4. Click the Add new tile menu item.
A new tile appears.
Information: There are only a few settings that you can make when configuring a script tile. Only the tabs Type, Display, Activation, and Target are available.
Defining a script tile
1. Double-click the new tile.
The Configure tile dialog box appears. The Type tab is open.
2. Click the icon for script tiles.
The script tile type is selected.
View
1. Click the View tab.
The View tab opens.
2. Click in the Name field and enter a name for the script tile.
3. Click the Group field and assign the tiles to the desired display group via the drop-down menu.
4. Click the Description field and enter what you want to use the tile for. The description of a tile is particularly useful when you want to make the tile available to other users in the Tile collection.
5. Click the gray tile to change the tile icon.
The available tile icons appear.
6. Click an icon.
7. Click the color square to change the color of the tile.
The available colors appear.
8. Click a color.
You have defined the tile name, tile icon, and tile color.
Activation
The Activation tab offers additional options for defining tiles. The available options depend on the selected tile type.
You can create keyboard shortcuts for script tiles. The following applies:
- The keyboard shortcut activates the script.
- The search is carried out and the respective contents are transferred as a variable.
Please note: Keep in mind when selecting keyboard shortcuts that some may already be in use by other programs.
You can choose one of the following actions from a drop-down menu when configuring a keyboard shortcut for the script.
- Apply Clipboard contents
- Copy with CTRL+C
- Copy with double-click
- OCR window contents
- Only activate
Apply Clipboard contents
The contents of the Windows Clipboard are applied.
1. Select the menu item Apply Clipboard contents in the drop-down menu of the Activation via keyboard shortcut (search, templates, or scripts) area.
2. Click the field in the Activation via keyboard shortcut (search, templates, or scripts) area.
The cursor blinks in the field.
3. Enter the desired keyboard shortcut.
The keyboard shortcut is shown in the field.
4. Switch to the Target tab.
Optional: Run a database query. The value entered here overrules manual entries in the Direct entry field.
5. Enter the desired script name to the Script call after activation or filing area. Make sure you enter the name of the method and not the file name of the script.
You have now activated the script from the Clipboard.
Copy with CTRL+C
Simulates a copy process with CTRL+C.
1. Select the menu item Copy with CTRL+C in the drop-down menu of the Activation via keyboard shortcut (search, templates, or scripts) area.
2. Click the field in the Activation via keyboard shortcut (search, templates, or scripts) area.
The cursor blinks in the field.
3. Enter the desired keyboard shortcut.
The keyboard shortcut is shown in the field.
4. Switch to the Target tab.
5. Enter the desired script name to the Script call after activation or filing area.
You have now activated the script via CTRL+C.
Copy with double-click
Simulates a copy process with double-click from the current mouse position.
1. Select the menu item Copy with double-click in the drop-down menu of the Activation via keyboard shortcut (search, templates, or scripts) area.
2. Click the field in the Activation via keyboard shortcut (search, templates, or scripts) area.
The cursor blinks in the field.
3. Enter the desired keyboard shortcut.
The keyboard shortcut is shown in the field.
4. Switch to the Target tab.
5. Enter the desired script name to the Script call after activation or filing area.
You have now activated the script via double-click.
OCR window contents
Evaluates the current window contents, e.g. of TIFF or JPG images, using OCR.
1. Select the menu item OCR window contents in the drop-down menu of the Activation via keyboard shortcut (search, templates, or scripts) area.
2. Click the field in the Activation via keyboard shortcut (search, templates, or scripts) area.
The cursor blinks in the field.
3. Enter the desired keyboard shortcut.
The keyboard shortcut is shown in the field.
4. Switch to the Target tab.
5. Enter the desired script name to the Script call after activation or filing area.
You have now activated a keyboard shortcut for scripts via OCR window contents.
Only activate
Enables the defined keyboard shortcut without running a Clipboard action.
1. Select the menu item Only activate in the drop-down menu of the Activation via keyboard shortcut (search, templates, or scripts) area.
2. Click the field in the Activation via keyboard shortcut (search, templates, scripts) area.
The cursor blinks in the field.
3. Enter the desired keyboard shortcut.
The keyboard shortcut is shown in the field.
You have now activated the Only activate search.
Target
You can enter the name of the executing script here.
1. Enter the desired script call to the Script call after activation or filing area.
For security reasons, however, you cannot call arbitrary scripts via ELO Dropzone. As with COM requests, the script must correspond to a predefined naming convention:
JS.<name>
The script files must be located in the script folder of the ELO Java Client.
A script file can include multiple functions for multiple script tiles.
Example
The script call JS.Test activates the following function:
function fromVBS_Test(param) {
workspace.showInfoBox("ELO", param);
}
Please note: Because there is no scroll function in ELO Dropzone, there is a limit to the number of tiles you can create. The number of tiles you can create depends on your screen resolution settings.