Tech Tip: Creating a Custom Toolbar Button
October 27th, 2008 Comment on this articleA custom toolbar button allows the user to access a frequently used action or application from within the Laserfiche Client. This example demonstrates adding a toolbar button to launch Microsoft Outlook, but you can add many different applications or scripts.
For example, many users like to have a toolbar button to open a frequently used internal program, such as a customer database, or another Laserfiche program, such as Workflow. Another option is to create a script using the Toolkit, save it as an executable file, and make a custom toolbar button to launch that script.
To create a custom toolbar button:
- Right-click anywhere on the toolbar and select Customize.
- The Customize dialog box will appear.

- In the Toolbars tab, click Custom… and the Custom Toolbar Buttons dialog box will appear. In the image shown, there is already a custom button for the Firefox browser.

- Click Add… and the Toolbar Button Properties dialog box will appear.

- In the Name option, type the name you want to associate with the new custom button.
- In the Command option, type or browse to the path for the application you want the button to open. For example, to create a button to open Outlook, you would input the path to the Outlook.exe file, which launches Outlook.
- In the Icon option, select an icon for the application. You can add any image file you want. Many executable files have a number of icons associated with them; you can select one of these files (such as Outlook.exe) and browse the available icons to choose one.
- Click OK to close the Toolbar Button Properties dialog box and OK to close the Custom Toolbar Buttons dialog box.
- Select the Commands tab, and select the Custom category.
- Drag the new command from the list to a toolbar.

- Link this:
- Print this article
Tags: laserfiche 8


