Writing an annoying popup window

Hi,

I work for Xerox.
As a new guy, I was recently pranked by the resident Solaris guru.:cool:
This is a celebrated event. I must now prank back in an equally flawless fashion.

I wish to get back to him by writing a script that will generate an annoying popup randomly, a small window that appears and disapears when he click on it, and that is always running, even after a reboot.

Since I must support DocuSP, a rip for our production printers, this is also a good way to initiate myself into Unix. We run on Solaris 10 here. I have been educated as a programmer, so I know the basics.

Can someone point me to an example of what I am trying to accomplish?

Any help in this devious endeavor would be appreciated :smiley:

Orchus

For proof of true adn good intention, I give my direct line: 416.733.6738.

Xmessage (available as a package from Sunfreeware - Freeware Open Source Software for Sun Microsystem's Solaris ) combined with cron(1) and/or at(1) and a wrapper script using the ${RANDOM} variable from ksh(1) or bash(1) would provide the components for what you wish to achieve. I trust the intended recipient has a good sense of humour!