Hi,
If the items are unique, how about:
[array indexOfObject:object];
Using a counter is likely be faster though.
John Maisey
www.nhoj.co.uk
www.twitter.com/johnmaisey
www.facebook.com/nhojcouk
Date: Wed, 07 Mar 2012 07:42:17 +1100
From: Prime Coderama prime.coder...@gmail.com
the applications opens will be stored from the
previous session that Terminal.app was opened. If you don't want to see it,
you could check to see if the Terminal.app is running and if it is not close
all windows once you activate it In the NSAppleScript command.
Best wishes
John Maisey
I also don't think this is in the API.
The relevant information is stored in the Info.plist file for each calendar.
The keys are 'EventContainer' and 'TaskContainer', both boolean.
Best wishes
John Maisey
www.nhoj.co.uk
www.twitter.com/johnmaisey
www.facebook.com/nhojcouk
On 23 Feb