james28909 has asked for the wisdom of the Perl Monks concerning the following question:
EDIT: I have tried posting in the active state community but when I try to post it does not save for some reason.use PerlTray; our @anim = qw(icon1 icon2 icon3 icon4); sub show_balloon { Balloon("This is the message", "Balloon Title", "Error", 15); } sub PopupMenu { return [["*ActiveState", "Execute 'http://www.ActiveState.com'"], ["MessageBox", sub { MessageBox("This is a $_!") }], ["Effects", [["Animate", 'SetAnimation("0:20", $freq, @anim)'] +, ["*Ballon", \&show_balloon], ["Timer", 'SetTimer(":2.500")'], ["Icon1", sub {SetIcon($_)}], ["Icon2"], ]], ["--------"], ["o Fast :50", \$freq], ["x Medium :100"], ["o Slow :200"], # ["o Fast", '$freq = 50', $freq==50], # ["o Medium", '$freq = 100', $freq==100], # ["o Slow", '$freq = 200', $freq==200], ["--------"], ["_ Unchecked", ""], ["v Checked", undef, 1], ["v Checked", \$check], ["--------"], [" E&xit", "exit"], ]; } sub ToolTip { localtime } sub Timer { SetTimer(0); Balloon("Timer triggered Message", "The Balloon", "Info", 5); } sub TimeChange { Balloon(scalar localtime, "System Time Changed", "Info", 5); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: PerlTray and Windows 10 (Balloon notifications and timer not working)
by Anonymous Monk on Aug 16, 2015 at 21:21 UTC | |
by james28909 (Deacon) on Aug 16, 2015 at 21:39 UTC | |
by Anonymous Monk on Aug 20, 2015 at 07:12 UTC | |
by james28909 (Deacon) on Aug 20, 2015 at 12:19 UTC | |
by Anonymous Monk on Aug 21, 2015 at 02:25 UTC | |
|