Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Thu Nov 14, 2019 7:10 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Global Keyboard Hook
PostPosted: Wed Jan 30, 2013 3:47 pm 
Offline
User avatar

Joined: Tue Mar 04, 2008 1:20 pm
Posts: 95
In Windows I can create a global keyboard hook using a DLL, how would this be accomplished
on the Mac?

Thanks for any info :D

_________________
iMac 2011, OSX Mountain Lion 10.8.1, Real Studio 2012r2.1


Top
 Profile  
Reply with quote  
 Post subject: Re: Global Keyboard Hook
PostPosted: Wed Jan 30, 2013 4:12 pm 
Offline

Joined: Thu Jan 26, 2012 5:55 pm
Posts: 14
I am also wondering how to do this without plugins.
Not that I have anything against MBS, in fact, I own it, I'd just rather do it natively.

At this point, is it better to use cabon events or cocoa?
I can't even find carbon event docs on Apples site anymore, does that mean it's no longer supported?


Top
 Profile  
Reply with quote  
 Post subject: Re: Global Keyboard Hook
PostPosted: Wed Jan 30, 2013 4:34 pm 
Offline
User avatar

Joined: Wed May 10, 2006 2:42 pm
Posts: 2985
Location: Germany
CarbonHotKeyMBS is good for hotkeys.
NSEventMonitorMBS may also help you.
And CarbonMonitorEventsMBS is also a way.

WindowsKeyFilterMBS works on Windows, by the way.


maybe you simply try our examples for the plugins?

http://www.monkeybreadsoftware.de/realbasic/

Greetings
Christian

_________________
See you in Orlando, Florida for Real World 2013
More details and registration here:
http://www.realsoftware.com/community/realworld.php


Top
 Profile  
Reply with quote  
 Post subject: Re: Global Keyboard Hook
PostPosted: Wed Jan 30, 2013 4:50 pm 
Offline
User avatar

Joined: Tue Mar 04, 2008 1:20 pm
Posts: 95
MonkeybreadSoftware wrote:
CarbonHotKeyMBS is good for hotkeys.
NSEventMonitorMBS may also help you.
And CarbonMonitorEventsMBS is also a way.

WindowsKeyFilterMBS works on Windows, by the way.


maybe you simply try our examples for the plugins?

http://www.monkeybreadsoftware.de/realbasic/

Greetings
Christian



Thanks, but I am not interested in third party plug-ins. :D

_________________
iMac 2011, OSX Mountain Lion 10.8.1, Real Studio 2012r2.1


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group