How to add buttons from this forum to your toolbars

Sample buttons and complete toolbars.

How to add buttons from this forum to your toolbars

Postby leo » 06 May 2007, 01:01

Some of the posts in this forum contain entire toolbars, in .dop files, which you simply download and double-click to load up. Those are easy enough.

Other posts contain one or more individual buttons, rather than a full toolbar. These buttons are posted as blocks of XML like the example below. (Don't worry, you don't need to know anything about XML.)

Code: Select all
<?xml version="1.0"?>
<button display="both" separate="yes">
   <label>Install Font</label>
   <icon1>#otherplugins</icon1>
   <function type="normal">
      <instruction>Copy INSTALLFONT</instruction>
   </function>
</button>

(What the button does isn't important for this explanation but, if you are wondering, it installs any selected font files into your system.)

Here's how to take the code box above and turn it into a button in a toolbar or menu:

  • Step 1

    In your web browser, select everything in the code box and copy it to your clipboard.

    Image
  • Step 2

    Switch to Opus and enter Customize mode via the menu: Settings -> Customize...

    Image

    The Customize dialog will open and your toolbars and menus may change appearance slightly.

  • Step 3

    Find the place where you want to put the new button in your toolbars or menus, then right-click that place and select Paste.

    Image

    The button will have been added to your toolbar or menu.

  • Step 4 (optional)

    While in Customize mode you can move and edit your buttons and menus:

    • To move buttons simply drag them around.
    • To create a separator bar between two buttons, drag one slightly away from the other until a marker appears.
    • To change the appearance of a button, for example to remove the label or put the label in a different place, right-click the button and select Edit.
  • Step 5

    Click OK in the Customize dialog to exit Customize mode and save your changes.

    The new button is now ready to use.
User avatar
leo
Admin
 
Posts: 14449
Joined: 07 Nov 2004, 01:30
Location: London, UK
OS: Windows 7 64-bit
Opus: Illuminati

Postby michaelkenward » 28 May 2009, 05:14

If, for any reason, this does not seem to work, it may be because there is an error in the XML code you are trying to paste.

If there is, then the "Paste" function may not be available to you.

It fell over on me because I tried to paste a button that did not start with the correct code:

<?xml version="1.0"?>

That is the first line in the example in the message above.

With luck that line will survive whatever this bulletin board software does to mess things up.
MK
DOpus 9.5.4.0.3806.x86
Windows 7 Home Premium | Vista Business 32-bit | Athlon 64 X2 Dual Core 5400+ | 4.0 GB Memory | NVIDIA GeForce 8600 GT
User avatar
michaelkenward
 
Posts: 260
Joined: 19 Apr 2008, 02:40

Re: How to add buttons from this forum to your toolbars

Postby Ghost7 » 28 Apr 2010, 20:24

You can also right-drag.
Use the right mouse button to click and drag the files/folders to where you want. When you let go of the right button, it will ask what you want to do (including cancel).
Ghost7
 
Posts: 14
Joined: 23 Apr 2010, 19:19
OS: Windows 7 64-bit
Opus: Directory Opus 9.x


Return to Buttons & Toolbars