home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Products
IR Server Suite (IRSS)
Guide: IRSS & Apple Remote
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="gechu" data-source="post: 690438" data-attributes="member: 108422"><p>In this post I´ll describe how to:</p><p>- use your computer both as a media center and "usual" computer both at the same time</p><p>- increase functionality of Apple Remote</p><p>- target unfocused applications</p><p>- seamless remote control integration between Windows Media Center and the external player set up in Media Browser</p><p></p><p></p><p>The Apple Remote can be paired up with any eHome compatible IR receiver/transeiver. I´m very happy with TwistedMelon Mantra TR1. I use it in Windows 7 x64.</p><p></p><p>The Apple Remote is both a blessing and a curse. It looks really nice with its minimalistic set of buttons. The bad news is that you´ll get quite limited because you can only assign one "System wide" button configration at a time. And you do want "System wide" keys set up in Translator if you plan on using your computer for more than one thing at a time. Like one person watching TV, and another browsing the web. Then you want to be able to send "zap channel" commands to your TV application even though the TV application isn´t in focus.</p><p></p><p>To target an unfocused window you have to use the Window Message interface in Traslator. It can be quite tricky to figure out how to compose different commands. I´ve used Google and a little Microsoft utility called Spy++. I use it to log all commands sent to a particular application. Window Messages expects values in decimal, but often when you find values they´re in hex. Use Windows calculator to translate between hex and decimal.</p><p></p><p>Here are some useful links:</p><p><a href="http://www.autohotkey.com/docs/misc/SendMessageList.htm" target="_blank">List of Windows Messages</a></p><p><a href="http://msdn.microsoft.com/en-us/library/dd375731(v=vs.85).aspx" target="_blank">Virtual-Key Codes (Windows)</a></p><p></p><p></p><p>The Apple Remote has 7 buttons. And as mentioned, it is desirable to be able to target unfocused windows by placing commands in the "System wide" profile. That would give us the posiblity to remotely send only 7 different commands using this remote. Not very functional!</p><p></p><p>One solution is to sacrefice one button by binding it to a "switch button configuration" function. To do that translator have to be restarted with the "-config" argument targeted at a new configuration file. To cycple between multiple configration files "chaning" them together is one option. Chaning them together can look like this:</p><p></p><p> config1 contains a "switch to config2" command</p><p> config2 contains a "switch to config3" command</p><p> config3 contains a "switch to config1" command</p><p></p><p>To accomplish chain-loading I use VB scripts to load a new configration. Using the WshShell object I can run applications hidden from the user, in either sequential or parallell mode.</p><p></p><p></p><p>In the attached package I´ve included two three scripts:</p><p></p><p> dscaler.vbs</p><p> windows_media_center.vbs</p><p> MPC.vbs</p><p></p><p>dscaler.vbs works flawlessly! But I haven´t figured out how to set up to target an unfocused Windows Media Center.. So windows_media_center requires focus to work.</p><p></p><p>MPC.vbs contains very similar functionality but requires a little explaination. In my setup I use Windows Media Center with the Media Browser plugin. In Media Browser I can specify that I want to use an external player. Instead of directly adding the reference to Media Player Classic - Home Cinema (my preferred external player), I added a VB script which:</p><p></p><p>1. kill transaltor</p><p>2. load it with a new configuration</p><p>3. load MPC-HC</p><p>4. when done, kill translator again</p><p>5. and focus is back to Media Browser</p><p></p><p>You´ll have to change MPC-HC Options > player > keys to match this setup (format: "command" > "app command")</p><p></p><p> Exit > BROWSER_BACKWARDS</p><p> Play/Pause > MEDIA_PLAY_PAUSE</p><p> Stop > MEDIA_STOP</p><p> Jump Forward (medium) > MEDIA_FAST_FORWARD</p><p> Jump Backwards (medium) > MEDIA_REWIND</p><p> Volume Up > VOLUME_UP</p><p> Volume Down > VOLUME_DOWN</p><p> Volume Mute > VOLUME_MUTE</p><p></p><p></p><p>To get it all working you´ll probably have to remap all commands in transaltor to match your remote control. And some file references will also have to be changed in the included scripts.</p><p></p><p>The package also contains an Autohotkey script called OSD.ahk. I use it to inform the user which configuration has been loaded. Download and install Autohotkey. To compile it simply right-click a select "compile".</p><p></p><p>Here is the package that contains configuration files and scripts:</p><p><a href="http://dl.dropbox.com/u/5227529/IRSS_apple_remote_package.zip" target="_blank">http://dl.dropbox.com/u/5227529/IRSS_apple_remote_package.zip</a></p><p></p><p></p><p>Enjoy!</p></blockquote><p></p>
[QUOTE="gechu, post: 690438, member: 108422"] In this post I´ll describe how to: - use your computer both as a media center and "usual" computer both at the same time - increase functionality of Apple Remote - target unfocused applications - seamless remote control integration between Windows Media Center and the external player set up in Media Browser The Apple Remote can be paired up with any eHome compatible IR receiver/transeiver. I´m very happy with TwistedMelon Mantra TR1. I use it in Windows 7 x64. The Apple Remote is both a blessing and a curse. It looks really nice with its minimalistic set of buttons. The bad news is that you´ll get quite limited because you can only assign one "System wide" button configration at a time. And you do want "System wide" keys set up in Translator if you plan on using your computer for more than one thing at a time. Like one person watching TV, and another browsing the web. Then you want to be able to send "zap channel" commands to your TV application even though the TV application isn´t in focus. To target an unfocused window you have to use the Window Message interface in Traslator. It can be quite tricky to figure out how to compose different commands. I´ve used Google and a little Microsoft utility called Spy++. I use it to log all commands sent to a particular application. Window Messages expects values in decimal, but often when you find values they´re in hex. Use Windows calculator to translate between hex and decimal. Here are some useful links: [url=http://www.autohotkey.com/docs/misc/SendMessageList.htm]List of Windows Messages[/url] [url=http://msdn.microsoft.com/en-us/library/dd375731(v=vs.85).aspx]Virtual-Key Codes (Windows)[/url] The Apple Remote has 7 buttons. And as mentioned, it is desirable to be able to target unfocused windows by placing commands in the "System wide" profile. That would give us the posiblity to remotely send only 7 different commands using this remote. Not very functional! One solution is to sacrefice one button by binding it to a "switch button configuration" function. To do that translator have to be restarted with the "-config" argument targeted at a new configuration file. To cycple between multiple configration files "chaning" them together is one option. Chaning them together can look like this: config1 contains a "switch to config2" command config2 contains a "switch to config3" command config3 contains a "switch to config1" command To accomplish chain-loading I use VB scripts to load a new configration. Using the WshShell object I can run applications hidden from the user, in either sequential or parallell mode. In the attached package I´ve included two three scripts: dscaler.vbs windows_media_center.vbs MPC.vbs dscaler.vbs works flawlessly! But I haven´t figured out how to set up to target an unfocused Windows Media Center.. So windows_media_center requires focus to work. MPC.vbs contains very similar functionality but requires a little explaination. In my setup I use Windows Media Center with the Media Browser plugin. In Media Browser I can specify that I want to use an external player. Instead of directly adding the reference to Media Player Classic - Home Cinema (my preferred external player), I added a VB script which: 1. kill transaltor 2. load it with a new configuration 3. load MPC-HC 4. when done, kill translator again 5. and focus is back to Media Browser You´ll have to change MPC-HC Options > player > keys to match this setup (format: "command" > "app command") Exit > BROWSER_BACKWARDS Play/Pause > MEDIA_PLAY_PAUSE Stop > MEDIA_STOP Jump Forward (medium) > MEDIA_FAST_FORWARD Jump Backwards (medium) > MEDIA_REWIND Volume Up > VOLUME_UP Volume Down > VOLUME_DOWN Volume Mute > VOLUME_MUTE To get it all working you´ll probably have to remap all commands in transaltor to match your remote control. And some file references will also have to be changed in the included scripts. The package also contains an Autohotkey script called OSD.ahk. I use it to inform the user which configuration has been loaded. Download and install Autohotkey. To compile it simply right-click a select "compile". Here is the package that contains configuration files and scripts: [url]http://dl.dropbox.com/u/5227529/IRSS_apple_remote_package.zip[/url] Enjoy! [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Products
IR Server Suite (IRSS)
Guide: IRSS & Apple Remote
Contact us
RSS
Top
Bottom