Talk About Network

Google





Mac > Mac Programmer > Re: How to put ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 5 Topic 956 of 1043
Post > Topic >>

Re: How to put up reminder popup from Perl?

by matt@[EMAIL PROTECTED] (matt neuburg) Jul 31, 2007 at 10:35 PM

fishfry <BLOCKSPAMfishfry@[EMAIL PROTECTED]
> wrote:

> I'm an experienced Unix, C and Perl developer. I'd like to be able to
> set a reminder for a certain date and time that causes a window to pop
> up at that time, regardless of what else I'm doing.
> 
> So far all I can think of is finding some reminder or calendar program
> that accepts AppleScript; then using Perl and the Mac::AppleScript 
> module to control it.
> 
> Any other suggestions? Are there any calendar or reminder utilities that
> have a Perl or C API? Or if I go the AppleScript route, what calender or
> reminder utilities would be suitable?

It isn't quite clear what you want.

If you just want a reminder to appear regardless of what else you're
doing, you don't need to be *any* kind of developer; iCal is on your
computer and will do this for you. And there are many other reminder
programs.

If you want to reinvent that wheel and *write* something that performs
this function, then, yes, clearly you need to supply some interface. One
simple built-in way would be to call AppleScript, which can put up a
dialog; on how to call AppleScript from Perl, man osascript (or see my
book, which has some examples).

m.
-- 
matt neuburg, phd = matt@[EMAIL PROTECTED]
 http://www.tidbits.com/matt/
Tiger - http://www.takecontrolbooks.com/tiger-customizing.html
AppleScript - http://www.amazon.com/gp/product/0596102119
Read TidBITS! It's free and smart. http://www.tidbits.com
 




 5 Posts in Topic:
How to put up reminder popup from Perl?
fishfry <BLOCKSPAMfish  2007-07-31 19:57:57 
Re: How to put up reminder popup from Perl?
matt@[EMAIL PROTECTED] (  2007-07-31 22:35:39 
Re: How to put up reminder popup from Perl?
fishfry <BLOCKSPAMfish  2007-08-01 22:58:48 
Re: How to put up reminder popup from Perl?
David Phillip Oster <o  2007-08-02 09:05:36 
Re: How to put up reminder popup from Perl?
David Phillip Oster <o  2007-08-01 09:29:31 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Wed Jan 7 19:56:05 PST 2009.