Posted by member 37809 on 2003-07-16 19:52:34 link

Use bangs wherever something can take an action, which (usually) implies that it can take a bang as a parameter. Think of bangs as functions that were made to tie things together. The syntax where you 'plug in' bangs are dependent on the module(s), but the end of such a configuration line of text is usually a bang and any of its arguments. These places where you can 'plug in' a bang let you do something as a result of some other event.

There are even bang modules, which only provide bangs for you to use elsewhere to control something. For example, geekamp is a popular bang module with bangs to control winamp2.x. Many themes have winamp controls in the form of shortcuts which have geekamp's bangs tied to them. And many users define hotkeys with these bangs for keyboard control of winamp at any time.

Visual modules usually take click actions, just look at any theme's step.rc and you'll figure how to use bangs eventually.

You can also call bangs directly (through a command line module such as lsxcommand, or using Maduin's !.exe or azathoth's bang.exe. This is useful for when you are testing bangs and such or when theming, or if you like typing bangs for some reason :)