Re: [MacRuby-devel] DictionaryServices

2010-05-24 Thread Craig Williams
Hi ecin, This appears to be working. framework '/System/Library/Frameworks/CoreServices.framework/Frameworks/DictionaryServices.framework' word = 'History' word_len = DCSGetTermRangeInString(nil, word, 0); res= DCSCopyTextDefinition(nil, word, word_len) puts "Definition for

[MacRuby-devel] DictionaryServices

2010-05-23 Thread ecin
I'd like to use Dictionary Services (http://developer.apple.com/mac/library/documentation/UserExperience/Reference/DictionaryServicesRef) to look up definitions in a MacRuby app, but am having a hard time figuring out exactly what I need to require in order to access its functions, as framework