Interchange Developer Resource


[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date ][Interchange by thread ]

Re: [ic] Howto make a usertag



"Bernino Lind" <lind@catpipe.net> writes:

> Hello,
> 
> Im searching for the documentation of howto make a usertag. I cant find that
> in the IC docs. Am I simply lame to figure out where it hides, or is it
> simply not there...please post a link.
> 
> What is it about ?: Say for example I want to do a brand new usertag
> available that for example shows the output of a whois command...howto do
> that ?
> 
> Or if someone could post the process of howto create a usertag...?

There are enough examples still in ICROOT/usertag and ICROOT/lib/UI/usertag.

He is a cute little one from my kitchen:

UserTag randpic Routine <<EOR
sub {
	my @pics = UI::Primitive::list_pages (1, '.jpg', 'images/front');
	return $pics[int(rand(scalar @pics))];
}
EOR

Ciao
        Racke

-- 
Racke happily hacks Interchange and maintains Debian packages like Courier.

For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users


Search for: Match: Format: Sort by: