RE: [us...@lists.monobjc.net] Blocks and Monobjc

2010-06-10 Thread Oscar Blasco
locks life cycle after all. I will further investigate this and let you know. Thanks for the tip. Oscar. 2010/6/9 Oscar Blasco < <mailto:oblasco...@gmail.com> oblasco...@gmail.com> Hello all, I’m currently trying to add a keyboard hooki

[us...@lists.monobjc.net] Blocks and Monobjc

2010-06-09 Thread Oscar Blasco
Hello all, I’m currently trying to add a keyboard hooking function using NSEvent:addGlobalMonitorForEventsMatchingMask method which needs a block as a callback. To be able to define that block I moved that piece of code to a native class in a Cocoa Framework. The framework is wrapped from Mono

[us...@lists.monobjc.net] AppleScripting support for NSApplication

2010-05-28 Thread Oscar Blasco
Hello all, I’m currently trying to expose a property in my NSApplication to the AppleScript world. The idea is just to expose an string property externals applications can set to trigger some action in our software. I haven’t found a way to use Cocoa Categories in Monobjc (to extended a new

[us...@lists.monobjc.net] SynchronizationContext for Cocoa/Monobjc

2009-12-24 Thread Oscar Blasco
, we don't mind if you publish the article or the code directly on the Monobjc page or in whatever place you think could be useful for others. Happy Christmas all, Oscar Blasco Senior Software Developer Video Stream Networks, S.L. Telf. +34 96 5993670 Fax. +