View Full Version : Sliserver - PerlTray

2007-01-08, 10:03
Can someone help me?

I'm trying to make a SystemTray application with slimserver and the PerlTray tool (ActivateState). the problem is that the application runs in the background but the icon doesn't appear in the SystemTray area.

The code for this is so simple, that it should works, but it doesn't.

use PerlTray;

sub PopupMenu {
return [["ActiveState", "Execute 'http://www.ActiveState.com'"],
["Exit", "exit"],

2007-01-08, 10:52
Quoting lampis <lampis.2k3pub1168275901 (AT) no-mx (DOT) forums.slimdevices.com>:

> use PerlTray;
> sub PopupMenu {
> return [["ActiveState", "Execute 'http://www.ActiveState.com'"],
> ["Exit", "exit"],
> ];
> }

from just this, looks as if nothing is calling PopupMenu in order to
execute what you want. Try adding:


at the end of your code.

2007-01-08, 10:59
Also, run the script from an open command prompt so that you can see
any errors that come up.