Just a quick question as to why this is not working, In the sample.pl of PerlTray, there is a balloon notification, and when i run the executable and select "balloon" or "timer" in effects, it doesnt do anything. Everything else works great.
Here is the sample.pl in PerlTray:
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);
}
EDIT: I have tried posting in the active state community but when I try to post it does not save for some reason.
UPDATE: I have also went through gpedit.msc and made sure all the policies were set to allow the balloon popups. The only other thing i could think is maybe windows 10 handles it a little different, or they are not fully supported yet. Anyways, thanks for reading.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.