Slash Boxes
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

use Perl Log In

Log In

[ Create a new account ]

rjbs (4671)

  (email not shown publicly)
AOL IM: RicardoJBSignes (Add Buddy, Send Message)
Yahoo! ID: RicardoSignes (Add User, Send Message)

I'm a Perl coder living in Bethlehem, PA and working Philadelphia. I'm a philosopher and theologan by training, but I was shocked to learn upon my graduation that these skills don't have many associated careers. Now I write code.

Journal of rjbs (4671)

Saturday May 29, 2004
03:38 PM

ical glue trouble

[ #18997 ]

Why does this work:
      tell application "iCal"
          tell last calendar
              make new event at end with properties {summary:"foo"}
          end tell
      end tell

But not this:
  use Mac::Glue qw(:glue);

  my $ical = new Mac::Glue "iCal";

  my $calendar = $ical->obj(calendar => gLast);
  print $calendar->prop("title")->get, "\n\n";

      new => 'event',
      at => location('end'),
      with_properties => { summary => "foo" }

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.