To add a button to run a Script to your Taskpane, from the Taskpane Item Wizard select "Run a Queue" and click .
To go to the tool item wizard, click here for the Help topic "Customising the Taskpane".
Like in the image shown below, select the Script to be run from the dropdown list.
The options are available to select "Show the 'Run Script' wizard?" and "Automatically move through the 'Run Script' wizard?"
Object ID: optionally specify an Object that the script will use when filtering records.
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.
Click .
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.
Click .
Optionally choose an icon to represent the new command from either the dropdown list or import your own image.
Icon | Definition |
---|---|
![]() | Add a new Taskpane Item |
![]() | Delete selected row |
![]() | Select all rows |
![]() | Select no rows |
![]() | Select all rows above including the current row |
![]() | Select all rows below including the current row |
![]() | Move the current row up (Ctrl+Up) |
![]() | Move the current row up (Ctrl+Down) |
![]() | Cut the selection to the Clipboard |
![]() | Copy selection to the Clipboard |
![]() | Paste from the Clipboard |
![]() | Click to reset this Taskpane to the default Items |