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 
1 Utilities are simple commands which can be spawned from licq and passed
2 various parameters from the selected user.
3 Utilities are installed simply by copying the <name>.utility file into
4 {prefix}/share/licq/utilities and restarting licq.
5
6 Here 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
12 Window = 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)
34 Command = cmd %1@%i %e %2
35 User1.Title = Remote user name
36 User1.Default = %f
37 User2.Title = File name
38 # This could equivalently be omitted
39 User2.Default = none
40 #----------------------------
Note: See TracBrowser for help on using the browser.