Skip navigation.
 
mlRe: NSAppleEventDescriptor & Extracting a Date value
FROM : has
DATE : Sat Jan 05 12:27:09 2008

Steve Cronin wrote:

> I need to pull a date out of an NSAppleEventDescriptor.
> The code below is working for all of the other types.
> How do I get the date value?


objc-appscript's AEMCodecs class provides extensive bridging between 
ObjC classes and AE types, including typeLongDateTime. Use as-is - it 
should work on 10.3.9 onwards - or copy the bits you need.

http://appscript.sourceforge.net/objc-appscript.html

HTH

has
--
http://appscript.sourceforge.net
http://rb-appscript.rubyforge.org

Related mailsAuthorDate
mlNSAppleEventDescriptor & Extracting a Date value Steve Cronin Jan 5, 03:09
mlRe: NSAppleEventDescriptor & Extracting a Date value has Jan 5, 12:27