root/branches/licq/website/UTILITIES.HOWTO

Revision 4124, 1.2 kB (checked in by emostar, 4 years ago)

Initial revision

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
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# %% a percent symbol
29# %# user will be prompted for input, for each %# a User#.Title field must be
30#    present containing a description of the item, and a User#.Default field
31#    may be present indicating the default value for the item (it may contain
32#    any of the above % expressions)
33Command = cmd %1@%i %e %2
34User1.Title = Remote user name
35User1.Default = %f
36User2.Title = File name
37# This could equivalently be omitted
38User2.Default = none
39#----------------------------
Note: See TracBrowser for help on using the browser.