Orientation, Taskpane, Adding a Taskpane Item, Run Script
|

To add a button to run a Script to your Taskpane, from the Taskpane Item Wizard select "Run a Queue" and click Next Button.

Taskpane Image

To go to the tool item wizard, click here for the Help topic "Customising the Taskpane".

Taskpane, Adding an Item, Item Type

Specify the Script to Run

Like in the image shown below, select the Script to be run from the dropdown list.

Specify parameters for the Run Script Wizard

The options are available to select "Show the 'Run Script' wizard?" and "Automatically move through the 'Run Script' wizard?"

Specify any standard parameters

Object ID: optionally specify an Object that the script will use when filtering records.

Specify any other parameters

If this Script has parameters then these can be passed through to the Script by entering in this field e.g. FileName=C:\Test.txt.

Each parameter must be entered on a new row.


Taskpane - Run a Script

Click Next Button.

Other Details

Label your new button accordingly and write a tool tip that will appear when hovering over the button. This tool tip will explain in more depth what the button does.

Taskpane - Other Details - Run a Script

Click Next Button.

Optionally choose an icon to represent the new command from either the dropdown list or import your own image.

If you are importing an image, it will need to be a .ico file.


Taskpane Item - Icon

Click Finish Buttonand you will return to the Taskpane Item form. From here choose where you would like to position the new item using the button strip (shown below) or click OK Button and then OK Button again.

Button Strip

IconDefinition
Add Item Button
Add a new Taskpane Item
Row Delete Button
Delete selected row
Select All
Select all rows
Select None
Select no rows
Select Up
Select all rows above including the current row
Select Down
Select all rows below including the current row
Grid Row Up Button
Move the current row up (Ctrl+Up)
Grid Row Down Button
Move the current row up (Ctrl+Down)
EditCut
Cut the selection to the Clipboard
EditCopy
Copy selection to the Clipboard
EditPaste
Paste from the Clipboard
Reset
Click to reset this Taskpane to the default Items