473,473 Members | 1,523 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Looking for win32 notification options

true911m
92 New Member
Hi all,

I'm new here on the perl side (spent some time playing with python awhile back).

I started using perl as an administrative tool just a couple months ago on my work LAN because I'm using some open source packages (WPKG and Unattended) that are both written in perl, and I need to make some basic alterations. In the meantime I've discovered tons of piecemeal tasks that are so much easier than trying to wrangle the CMD processor to get the jobs done.

What I'm searching for right now is a flexible notification technique. When WPKG installs or changes software (at machine startup), it runs the installs "silently" with no user interaction, because my users cancel things all the time. However, it also makes the machine sluggish while it's running, and to be fair I'd like to notify the user when it's running and when it's finished so they know when not to fight it.

So far I've discovered the Win32::MsgBox and similar functions in Win32::GUI and Tk, but they don't meet all my criteria:

- the notification should be clearable by the user (button or click), but not _require_ that the user clear it. I'd like to be able to close the "Install has started" window under program control as well, and replace it with an "Install is now finished" notification.

- I'd prefer that the technique not require additional perl modules (I'm using the current ActiveState install for Windows [how do you get that version number, anyway?]) and I'd like to avoid rolling out a bunch of new lib files just to get this functionality this early in the game; let's see what all these existing tools can do first.

- unlike that last statement, I'm not averse to rolling out a lightweight executable to get the job done and calling it, if someone has a "favorite tool" that really fits the bill; I'm an old hand at that side of the administration at this point.

- not required, but really ideal, would be a mechanism to manipulate the notification balloons instead of the box in the middle of the screen. More elegant, the user can ignore it if they're on a roll, but gets the message out.

Finally, I hope I'm within guidelines here... I'm definitely wanting a native perl technique to try here, but open to alternate solutions.

Thanks for your input!
Feb 6 '10 #1
2 2281
ecocode
1 New Member
Hi,

You should take a look at http://search.cpan.org/~mattn/Growl-.../Growl/GNTP.pm

It is a client for the GNTP (Growl) which does exist for Windows or Mac (and I think Linux too)

There's a link on the page to the Growl for Windows application.

Hope this helps
Feb 6 '10 #2
true911m
92 New Member
Thanks, I've been playing with this. Looking at growl had me stumble across Snarl, which is similar in concept, more oriented to Win32 and not GNTP-targeted.

Both of these look great onscreen and get just what I want, but they're both user-centric (no lockdown or admin control so messages appear the way I need them), and each has an additional perl module as well, although some less-robust command line options are available as well.

This did give me a chance to play with ppm a bit - wow, what a great tool - but it's still a multiple-step rollout to get either of these in place on workstations.

I may go with one of these, but I'll be trying whatever options I find in the next few weeks, so anyone please chime in if you have other suggestions.
Feb 7 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Nicolas Lehuen | last post by:
Hi, Is it me, or does anyone else get significantly better pystone results under Cygwin versus the standard Win32 build ? CYGWIN 1.5.6 + python 2.3.3-1 : $ time python...
1
by: Brian Beck | last post by:
As far as I can tell, both maintainers of the Windows builds of Python-LDAP haven't updated in about a year. This doesn't exactly make the builds ancient or obsolete, but it would be nice to start...
2
by: RL | last post by:
Hello Perl gurus, 1. I have a web page where I can push a button (dospawn.html). 2. This button calls a CGI script (spawnboss.cgi) 3. spawnboss.cgi calls a forking perl script (forkme.pl) 4....
0
by: Terry | last post by:
Hi all, I am helping someone to investigate a problem with a perl tool that we are using. The problem is completely random and it does not produce any errors. The tool is supposed to encrypt...
5
by: GEL | last post by:
Hi, I want to open a new browser window, let the user use that window for several minutes, and when they close, I'd like to change the page displayed in the original window. According to...
1
by: Yoav | last post by:
I am using os.popen3 to call a console process and get its output and stderr. However on Win32 (and not OS X) I also get the Errno message. It's printed to the screen, which I wish to keep clean....
1
by: siliconpiNOSPAM | last post by:
Hi, I have a C# test program (setup as a console application) that runs a bunch of other programs like IE / etc. I run this program from a command window, the other windows cover the command...
12
by: pigeonrandle | last post by:
Hi, Is it possible to hook another application's WM_MOVE messages using c#? There seems to be some argument as to what messages you can hook and whether you can listen in on other app's messages...
0
by: =?Utf-8?B?Q29saXZpZXI=?= | last post by:
If anyone can help me with this I would really appreciate it: I have an assembly into which I have linked a manifest file as a Win32 resource. This is necessary since I want to use a class in this...
2
by: Bob Altman | last post by:
Hi all, A friend of mine is an experienced MFC programmer. He as recently gotten ".Net Religion", but he can't find a good reference book that presents basic Windows Forms programming...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.