contents

support

home page

forum

Toolbar (User Bar)

There are two toolbars in Ac Browser Plus, one is called simply a 'Toolbar' and the other one 'User Bar', only the latter may be modified.

This 'Userbar' (which by default consists of only one or a few buttons) can contain programs, folders, Ac Scripts, as well as sub-bars. To add new or modify existing commands (buttons) right-click it and choose 'change...'.  You'll see a dialog window, allowing you change the toolbar. Press 'New Command' to create a new button (the dialog window 'Command Edit' is described below), or if you want to remove/move up or down existing commands, press an appropriate button.

See also:

Command Edit

After choosing 'Edit' or 'New command' in Commands setup, you will be presented with the following dialog box:

 

Title: This is a title of the command, it will be displayed as a tooltip.

Icon:  You can leave 'system default' option checked, in this case the command will have a default system icon (which works only if the command points to an exe file), or, you can uncheck this option, and select an item from the list.

Select command type: There are two types of commands available:

Command type 1: Internal command.

AcB's internal command, like e.g. 'clipboard.copy path' - which is an equivalent of 'edit | paths to clipboard' menu command.

Command type 2: Execute file\folder. You can enter a path to an application (.exe) which will be open when you will click the button. Alternatively, this may also be a path to a folder, in this case, AcB will open the folder.

Additionally to this type of command, you can specify parameters, or rather parameters template. $P will be replaced with currently selected file path, and $N will be replaced with currently selected file name. In the example above, 'notepad.exe' is to be executed, and there is "$P" (path) as a parameter. This means, that if have e.g. 'c:\some folder\some file.txt' selected (under the cursor) then if you will click our example button Ac Browser Plus will open:  c:\windows\notepad.exe "c:\some folder\some file.txt" (yes, it's is good to use double quotes when using paths as parameters).

Command type 3: Ac Script. Here you can enter Ac Script. More: Ac Scripts ('Open in Ac Script Editor' button opens a tool which makes creating scripts easy).

Sub-bars

By clicking 'New sub-bar' you can create subbars and add them as a new button to the currently opened toolbar. This new sub-bar will appear as a menu below main toolbar.

Technical information

User bar in Ac Browser Plus is based on a folder consisting of ".accommand" files. And subfolders simply represent sub-bars, and so on. This is exactly the same way AcB stores information about the 'Scripts' or 'Favorites' menus. This means, that if there is something you can't do with the 'Command setup' tool, you can always open a folder responsible for storing you toolbar, this folder is located in "UserBar" folder, which can be found in program's installation folder (most probably in "C:\Program Files\Ac Browser Plus") - you will have to restart AcB after modifying toolbars in this way).   More about about this method of storing commands and menu structures here: folder based GUI.

 

Copyright Konrad Papala; [ACB::Help Online]