root/trunk/licq/doc/UTILITIES.HOWTO

Revision 4526, 1.2 kB (checked in by erijo, 2 years ago)

Removed svn:keywords from all files that don't need it. May make your
checkout a tiny bit faster :)

  • Property svn:eol-style set to native
Line 
1Utilities are simple commands which can be spawned from licq and passed
2various parameters from the selected user.
3Utilities are installed simply by copying the <name>.utility file into
4{prefix}/share/licq/utilities and restarting licq.
5
6Here is an example utility file:
7
8#----------------------------
9[utility]
10# Options here are TERM for xterm, LICQ for output only internal viewer, or
11# GUI for a program's own window
12Window = GUI
13# Commands can take various % expressions:
14# %e email
15# %i ip
16# %p port
17# %n full name
18# %f first name
19# %l last name
20# %a alias
21# %u uin
22# %w webpage
23# %h phone number
24# %c cellular phone
25# %s full status string
26# %S short status string with no spaces
27# %o last seen online
28# %O online since
29# %% a percent symbol
30# %# user will be prompted for input, for each %# a User#.Title field must be
31#    present containing a description of the item, and a User#.Default field
32#    may be present indicating the default value for the item (it may contain
33#    any of the above % expressions)
34Command = cmd %1@%i %e %2
35User1.Title = Remote user name
36User1.Default = %f
37User2.Title = File name
38# This could equivalently be omitted
39User2.Default = none
40#----------------------------
Note: See TracBrowser for help on using the browser.