From: hengist podd Date: 2009-03-19T03:33:58+09:00 Subject: Re: MacRuby Help Tom Santos wrote: > I'm new to MacRuby and I was hoping to find anyone that could answer a > question regarding it. [...] > I can call the CGPDFPageGetBoxRect just fine but macruby doesn't know > about the kCGPDFMediaBox enum I want to use while making that call. If I > make the call like so: At a guess, you need to capitalise the first letter of the contant name, e.g. KCGPDFMediaBox. HTH has -- Control AppleScriptable applications from Python, Ruby and ObjC: http://appscript.sourceforge.net -- Posted via http://www.ruby-forum.com/.