Custom Buttons

ASM allows you to add additional buttons to the animal, owner and movement forms. You can use these to integrate to other systems and add useful shortcut commands.

You will need to create a file called ``custom.properties'' in the .asm folder in your home directory.

An example button definition would look something like:

animal.button.1.tooltip = My Button

animal.button.1.action = http://myserver/page.cgi?<<ShelterCode>>

animal.button.1.icon = actions-Medical-24.png

animal.button.1.hotkey = m

The action can either be an HTTP URL (in which case, it will be opened in the internal viewer if appropriate), or a command to execute. Animal or Owner wordkeys can be used as shown to substitute values in the command to run.

The icon has to be one from the ASM res directory. A full list of these can be found at [*].

You can use the owner. prefix for owner buttons and the movement. prefix for movement buttons.

Increment the number after ``button.'' for each button you create in the file.

http://sheltermanager.sf.net