Comments on: Apple Remote Cocoa Source http://www.martinkahr.com/2006/03/16/apple-remote-cocoa-source/ hot bits and bytes Sun, 18 May 2008 10:50:07 +0000 http://wordpress.org/?v=2.2.1 By: martin http://www.martinkahr.com/2006/03/16/apple-remote-cocoa-source/#comment-50 martin Sun, 07 May 2006 17:58:39 +0000 http://www.martinkahr.com/2006/03/16/apple-remote-cocoa-source/#comment-50 <p>You are just a couple of days away to impress your boss.:-)</p> <p>Stay tuned. A first beta of an app to do that is in the line and will be out next week.</p> You are just a couple of days away to impress your boss.:-)

Stay tuned. A first beta of an app to do that is in the line and will be out next week.

]]>
By: Ron http://www.martinkahr.com/2006/03/16/apple-remote-cocoa-source/#comment-49 Ron Sat, 06 May 2006 17:01:00 +0000 http://www.martinkahr.com/2006/03/16/apple-remote-cocoa-source/#comment-49 <p>I am not a programmer, but is there a way to make this work with PowerPoint?</p> <p>That would be a great demo for my boss who has a PC... :)</p> I am not a programmer, but is there a way to make this work with PowerPoint?

That would be a great demo for my boss who has a PC… :)

]]>
By: martin http://www.martinkahr.com/2006/03/16/apple-remote-cocoa-source/#comment-45 martin Mon, 01 May 2006 16:18:32 +0000 http://www.martinkahr.com/2006/03/16/apple-remote-cocoa-source/#comment-45 <p>Congratulations for your new release and thanks a lot for the credits. I'll put your link on the new forthcoming download page. An updated version of the source code is in the final testing phase and out really soon.</p> Congratulations for your new release and thanks a lot for the credits. I’ll put your link on the new forthcoming download page.
An updated version of the source code is in the final testing phase and out really soon.

]]>
By: Sans http://www.martinkahr.com/2006/03/16/apple-remote-cocoa-source/#comment-44 Sans Mon, 01 May 2006 06:24:06 +0000 http://www.martinkahr.com/2006/03/16/apple-remote-cocoa-source/#comment-44 <p>Hi Martin! I released new version of my movie player - Movie Time with support for Apple Remote: http://www.sansworks.com/beta.html . Thank you very much for the hard work and for releasing sources for free!</p> Hi Martin! I released new version of my movie player - Movie Time with support for Apple Remote: http://www.sansworks.com/beta.html . Thank you very much for the hard work and for releasing sources for free!

]]>
By: martin http://www.martinkahr.com/2006/03/16/apple-remote-cocoa-source/#comment-43 martin Fri, 28 Apr 2006 11:00:39 +0000 http://www.martinkahr.com/2006/03/16/apple-remote-cocoa-source/#comment-43 <p>Thanks a lot in advance for any credits :) I'm planning an update to the source in the next couple of days. I'll try some things to find out the remote id.</p> <p>I will also start to manage a list of links to products, free tools, ... that are providing support for the Apple Remote. If you have written such an app or know of such apps please drop me a line (as a comment or by mail).</p> Thanks a lot in advance for any credits :) I’m planning an update to the source in the next couple of days. I’ll try some things to find out the remote id.

I will also start to manage a list of links to products, free tools, … that are providing support for the Apple Remote. If you have written such an app or know of such apps please drop me a line (as a comment or by mail).

]]>
By: Robert http://www.martinkahr.com/2006/03/16/apple-remote-cocoa-source/#comment-42 Robert Fri, 28 Apr 2006 10:20:10 +0000 http://www.martinkahr.com/2006/03/16/apple-remote-cocoa-source/#comment-42 <p>Hi Martin,</p> <p>I found your source code on cocoadev-wiki and I am impressed. Especially, because I was looking for exact that kind of code.</p> <p>I am the developer of iRed (www.filewell.com/iRed), a software to be used with the USB- or LAN module IRTrans (www.irtrans.com). With iRed you may control your Mac by Infrared, as well as control your HiFi/Video/etc devices by IR.</p> <p>However, you need the IRTrans to really make iRed useful until now. Entering "The IR Port"! Using your source code I will enhance iRed to be controllable by Apple Remote without further hardware needed. iRed supports calling AppleScripts based on incoming "triggers", so nearly everything is possible. I've just released a "keystroke action", which makes it very simple to send a keystroke to a specific application or to the current one.</p> <p>I am optimistic to get a first version with IR port support out in some days. I'll keep this blog in touch with my progress.</p> <p>Well, one question remains: how to get the ID of the sending Apple Remote? Any hints?</p> <p>Thank you so much for your source code - you've deserved a free license for sure :)</p> Hi Martin,

I found your source code on cocoadev-wiki and I am impressed. Especially, because I was looking for exact that kind of code.

I am the developer of iRed (www.filewell.com/iRed), a software to be used with the USB- or LAN module IRTrans (www.irtrans.com). With iRed you may control your Mac by Infrared, as well as control your HiFi/Video/etc devices by IR.

However, you need the IRTrans to really make iRed useful until now. Entering “The IR Port”! Using your source code I will enhance iRed to be controllable by Apple Remote without further hardware needed. iRed supports calling AppleScripts based on incoming “triggers”, so nearly everything is possible. I’ve just released a “keystroke action”, which makes it very simple to send a keystroke to a specific application or to the current one.

I am optimistic to get a first version with IR port support out in some days. I’ll keep this blog in touch with my progress.

Well, one question remains: how to get the ID of the sending Apple Remote? Any hints?

Thank you so much for your source code - you’ve deserved a free license for sure :)

]]>
By: martin http://www.martinkahr.com/2006/03/16/apple-remote-cocoa-source/#comment-32 martin Tue, 18 Apr 2006 07:37:47 +0000 http://www.martinkahr.com/2006/03/16/apple-remote-cocoa-source/#comment-32 <p>There is no way to link a button of the remote to the button of your app. You have to implement the delegate method "appleRemoteButton:pressedDown" and set the instance with the method "setDelegate" on the AppleRemote instance. In order to "simulate" a press on a button in the program you can use the method <a href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/ObjC_classic/Classes/NSObject.html#//apple_ref/occ/instm/NSObject/performSelectorOnMainThread:withObject:waitUntilDone:" rel="nofollow">performSelectorOnMainThread:withObject:waitUntilDone</a>. This method has to be called on the controller instance to which the button of the interface is binded.</p> There is no way to link a button of the remote to the button of your app. You have to implement the delegate method “appleRemoteButton:pressedDown” and set the instance with the method “setDelegate” on the AppleRemote instance.
In order to “simulate” a press on a button in the program you can use the method performSelectorOnMainThread:withObject:waitUntilDone.
This method has to be called on the controller instance to which the button of the interface is binded.

]]>
By: Hmmm..... http://www.martinkahr.com/2006/03/16/apple-remote-cocoa-source/#comment-31 Hmmm..... Mon, 17 Apr 2006 20:32:52 +0000 http://www.martinkahr.com/2006/03/16/apple-remote-cocoa-source/#comment-31 <p>How do you link a button on the remote to a button in the program. I do not usually do alternative inputs in my code, so I cannot find out how to link to anything other than the "startListening," and "stopListining" actions. Thanks in advance.</p> How do you link a button on the remote to a button in the program. I do not usually do alternative inputs in my code, so I cannot find out how to link to anything other than the “startListening,” and “stopListining” actions. Thanks in advance.

]]>
By: Chris http://www.martinkahr.com/2006/03/16/apple-remote-cocoa-source/#comment-28 Chris Mon, 03 Apr 2006 12:54:30 +0000 http://www.martinkahr.com/2006/03/16/apple-remote-cocoa-source/#comment-28 <p>Very impressive, Martin. Very impressiv.</p> Very impressive, Martin. Very impressiv.

]]>
By: martin http://www.martinkahr.com/2006/03/16/apple-remote-cocoa-source/#comment-26 martin Thu, 30 Mar 2006 06:06:13 +0000 http://www.martinkahr.com/2006/03/16/apple-remote-cocoa-source/#comment-26 <p>You are right. I tried that on a MBP. That's interesting. That would mean that the Intel Frontrow has more functionality than the PowerPC one (or the added the feature explicitly for the MBP only)</p> You are right. I tried that on a MBP. That’s interesting. That would mean that the Intel Frontrow has more functionality than the PowerPC one (or the added the feature explicitly for the MBP only)

]]>