Tips & Tricks > Using standard remotes with SongShowPlus

 


jhaarer
7/7/2005 7:47:01 AM

Remote control devices generally send the PgDn and PgUp keys to advance to the next slide or return to the previous. Unfortunately, SongShow does not use the standard PgDn and PgUp keys for going to the next or previous slide.. The solution I’ve implemented and works great is to use a free program called AutoHotKey (http://www.autohotkey.com/). It is an extremely powerful scripting program that allows the user to write scripts to do all kinds of things. In this situation, my script simply checks to see if SongShow is the active window and translates the PgUp and PgDn keys that standard remotes send to the + or – that SongShow wants. If SongShow is not the active window, as is the case if SongShow has started a PowerPoint using the PowerPoint program, then the script simply passes the PgUp and PgDn keys on unchanged. If you download and install the program, here is the script that I wrote:

 

$PgDn::

IfWinNotActive, SongShow Plus

{

            Send, {PgDn}

            return

}

Send, {NumpadAdd}

return

 

$PgUp::

IfWinNotActive, SongShow Plus

{

            Send, {PgUp}

            return

}

Send, {NumpadSub}

return

 

If you have installed the program, simply copy and past the above script text into a text document that has the filename extension of .ahk—for example, I named mine SongShowPlus Key Mapping.ahk. You won’t see anything happen when you double click the file except that a green “H” icon shows up in the system tray. I then put a shortcut to the file in the All Users Startup folder.

 

If you don’t want to install the AutoHotKey program on your SongShowPlus computer, you can compile your script into an executable program that can be run on the SongShowPlus computer without installation.


Reid
7/7/2005 1:29:29 PM
Thanks for the great tip!  That is something that I have been asked on more than one occasion.  I am glad I have a legitimate response now! 

osborn4
7/7/2005 3:08:53 PM
Yes, but will the new "User-customizable interface" allow us to map the + and - to page up/page down or left and right mouse clicks?

Inquiring minds want to know....

dreece
7/8/2005 12:56:46 AM
Posted By osborn4 on 07/07/2005 3:08 PM
Yes, but will the new "User-customizable interface" allow us to map the + and - to page up/page down or left and right mouse clicks?

Inquiring minds want to know....

That depends if it rises to the top of the Interactive Wish List .

Actually, I think that I will discuss the whole page-up/page-down issue on a future blog.  I know it's been a topic of discussions and inquiries many-a-time.

hebessica
8/8/2005 3:49:46 PM

HOWDY!
We use a remote control called RemotePoint RF that allows the user to program the keystroke that each button performs.  So, I can program PgUp/PgDn as well as + and - to each button.  The other great thing is that I can save different profiles so that I can use different RP setups for different events.
The only problem: RF stands for Radio Frequency so if you have a lot of Radio Signal in your area, you may have to change the RF channel within RemotePoint.  It's an easy fix.  If you get RF interference from outside sources, your mouse will "drift" all over the screen, but, again, it is an easy fix-just a few switch changes and all is well.
Hope this helps!
Jess


Papa Terry
1/20/2006 12:48:45 AM
Thanks for this information!  I followed the instructions and it works, but not perfectly so far.  The "hide slide" button does not work and when running a PPt slideshow from within SSP the Esc key on keyboard does not end the slideshow; I have to click to the end of the show to get out of it.  Any further help you can offer?  Muchly appreciated, friend!
 Terry

Papa Terry
1/20/2006 12:55:52 AM
Sorry, my previous post was with regard to the script writing that jhaarer explains on 7/7/05.
It worked except the Hide Key and Esc from slideshow does not work.
Thank you,
Papa Terry

jhaarer
1/20/2006 9:30:53 PM
By "hide slide" button, I'm assuming you mean to display a black screen. In Powerpoint, this is done with the B key or the period key. The problem is that, as far as I know, Songshow doesn't pass these to PowerPoint. If, when a PowerPoint is started from Songshow, you click on the PowerPoint button on your task bar to give PowerPoint focus or make it "active" so that it receives the keystrokes, the buttons to display black or ESC will be passed on to PowerPoint and work. Do note that in my limited tests, Songshow did not respond well to having PowerPoint disappear when the ESC key was pressed.

If you look in the help file for the AutoHotKey program, you will find the WinActivate,[WinTitle] command. This could be used to activate Powerpoint when the B or period is pressed before passing on the key. You might want the script to check to see if both Songshow and PowerPoint are running and Songshow is the active window before changing focus to PowerPoint. You might also want to change focus back to Songshow after sending the key.

I'm sorry I don't have time to do more with this now--this is a very busy time for me. My remote only has three buttons: forward, reverse, and laser pointer. If you do add to the script, please share it with the group.

JeffH
10/4/2006 6:36:22 AM
I don't see this one on the wish list?  could you point me to it cuz we could use this

osborn4
10/4/2006 10:12:55 AM
It's not currently in the voting. You will need to submit this as a "new" request.

That link is toward the bottom of the Wish List page.

jimpurtle
10/30/2006 4:06:06 PM
This is in reference to Papa Terry's request for a black screen key.

My presenter remote has a "blackout display" button which, after some experimentation with my Auto Hot Key script, I discovered is tied to the period key "." on the main keyboard (not the numpad period). SongShow Plus' black screen toggle is the numpad "/" key. So I changed the Auto Hot Key script that jhaarer supplied at the top of this thread to include a black-screen function. If you're using jhaarer's script, right-click the Auto Hot Key icon in the task tray (a white letter H on a green background) and click "Edit This Script." Then copy the following and paste in place of jhaarer's original script. Make sure to save.

$PgDn::

IfWinNotActive, SongShow Plus

{

Send, {PgDn}

return

}

Send, {NumpadAdd}

return



$PgUp::

IfWinNotActive, SongShow Plus

{

Send, {PgUp}

return

}

Send, {NumpadSub}

return



$.::

IfWinNotActive, SongShow Plus

{

Send, {.}

return

}

Send, {NumpadDiv}

return



downeyflo
11/12/2006 9:12:37 AM
Our remote sends Left and Right arrow commands to move (not PgUp and PgDown). It was an easy change to replace PgUp with Left and PgDown with Right.

Thanks for the great tip!

pdfwc
1/30/2008 8:44:55 AM
I tried this but may have done something wrong.  After I saw the green H I moved the ahk script into all users but when I loaded SSp I still cant detect the remote.  Could someone help me?

iamgap
1/30/2008 10:17:49 PM

AHK (AutoHotKey) is a really cool program. I use it to input repeated text and keyboard shortcut commands as a part of my work duties. Whenever I add a new "script", I have to right-click the AHK icon (in the system tray) and select reload script. This causes AHK to load the new commands into memory. Logoff and back on, or rebooting will do the same thing.

The one thing you have to be carfule about, is the AHK runs on which ever item/window is active. If you click the Start Menu button while AHK is running a script, watch out. I keep notepad in my quick-launch just for times like this.

The basic level at which I run AHK, it sends keyboard commands to the OS, as if someone was typing on the keyboard (about 250 WPM???). I have found that not all commands work as they are supposed to, so I test them in a notepad to make sure, before using them in the intended program.


To post messages to the forums you must be signed in to a user account.
An error has occurred. This application may no longer respond until reloaded. Reload 🗙