NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Any of the GUI toolkits (Score:1)
Any of the GUI toolkits that are available from CPAN?
- Wx ...
- Tk
- Win32::GUI
Should all work either out of the box or after a simple "cpan" invocation. I haven't used the latter toolkit, though.
Re: (Score:2)
J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
Re: (Score:2)
For simple jobs where the gui is incidental and doesn't dominate the application, I'd probably agree on Win32::GUI is you can deal with it.
Growl (Score:1)
This sounds like something growl would be a decent match for. I have not used it myself but Growl::GNTP should let you send notifications to growl from perl.
Re: (Score:2)
Hmm, Growl looks like it's going to solve a number of my problems. Unfortunately I simplified my original question and I'm not sure Growl alone will be up to that task. But I think I owe you lunch for showing me this!
J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
Re: (Score:2)
Thank you very much for this suggestion. Growl turned out to be perfect for a LOT of things I want to do.
J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
Do you even need a toolkit? (Score:2)
periodically pop up alerts on my machine
do you even need a GUI toolkit? It seems to me like a plain MessageBox [microsoft.com] API call is all you need.
That is, unless you want the script to continue running while the message is shown. In that case, you could set up a simple window with The GUI Loft [darserman.com]. Oldie, but probably good enough.
And I've never seen a service with a GUI, I'm not sure if it will behave nicely.
Re: (Score:2)
Actually I think I'll probably input a couple of things into the dialog box, so it's more than just a message box.
But I'm unclear on what you're suggesting ... write XS code? Or is there some standard way to call MessageBox from Perl? I'm pretty ignorant. :)
J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
Re: (Score:2)
I said
And I've never seen a service with a GUI, I'm not sure if it will behave nicely.
and today I found this blog post: Do you still use the MessageBox API in your Windows Service? (Or do you display any type of User Interface?) [msdn.com]
and it says:
It goes on to give a generic solution (plus a simple solution for just a messagebox), but it's anything but trivial.
But