Alcor set this up with AppleScript, yeah.

Already using an (isRunning) type thing in my QS1Pwd plugin, so it shouldn't
be too hard to add.
Even if it's just modifying the Applescript to get that to do it. Probably
not as fast as Obj-C though.

I'll look at what's up with QSAppIsRunning - should work fine if the method
works (or maybe I'll change it to your method)

Maybe I'll look into it. Busy today, working weekend and 1st exam on Monday.
THEN I may have some time!

CalendarStore (The framework I'm now using to get the list of calendars)
will find local, birthday, CalDav, IMAP, Exchange and Subscription cals -
i.e. all.
Nice of Apple to include everything in everything. They haven't done it with
the Address Book plugin yet :(

Not sure about the bltrversion actually. Now I think about it, I never had
to update the date for QS1Pwd.
On the subject of building - have you/anyone else had problems building QS
lately? I tried for like the first time in a few months yesterday and I
couldn't building using Clang 1.0, and also had to turn off LTO (Link time
optimisation) to get it to work.
It is updating the bundle version, but just not the date. Strange...

On 5 November 2010 01:18, Rob McBroom <[email protected]> wrote:

> On Nov 4, 2010, at 10:11 AM, Rob McBroom wrote:
>
> Here's a chunk from the Viscosity plug-in that figures out if an app is
> running (although I suspect you're dealing with AppleScript and not Obj-C).
>
>
> And in case you run across it in other code, yes there is a predefined way
> to do this in Quicksilver:
>
>     if ( QSAppIsRunning(@"com.apple.iCal") ) {}
>
> but I had problems with it. I forget the specifics.
>
> --
> Rob McBroom
> <http://www.skurfer.com/>
>
>

Reply via email to