Not logged in. · Lost password · Register
Forum: Features request RSS
DoubleG #1
Member since Jan 2009 · 2 posts
Group memberships: Members
Show profile · Link to this post
Subject: Hotkeys?
First off, thanks for a great tool to control Winamp remotely - very nice work.

I have two ideas, that are somewhat related:
I'm not even sure if this is possible, but it would be nice to have the interface (on the "controlling" end) be able to respond to hotkeys (i.e. "B" for next, etc. - like Winamp does)

The 2nd is to have the interface respond to an IR remote - currently I have Winamp set up to use Windows Media Center remote commands via a plug-in (which simply just interprets the remote commands as hotkeys)  The same functionality for the Browseamp interface would be very cool.

Thanks again.
Henry (Administrator) #2
Member since Jan 2003 · 865 posts · Location: Munich Germany
Group memberships: Administrators, Members
Show profile · Link to this post
So you need a remote control for the remote control... ok...
However, this is possible with some JavaSrcipt you can use in every Browseamp skin. found some useful ressources.
Idiomatic #3
Member since Mar 2010 · 2 posts
Group memberships: Members
Show profile · Link to this post
In reply to post #1
For anyone that wants hotkeys try the following:

1) Save the following as bamp.js. Change (MYIPADRESS:MYPORT) to your target computer.
var args = {};

var objIEA = new ActiveXObject("InternetExplorer.Application");
if( WScript.Arguments.Item(0) == "pause" ){
if( WScript.Arguments.Item(0) == "next" ){
if( WScript.Arguments.Item(0) == "prev" ){
if( WScript.Arguments.Item(0) == "vol50" ){
if( WScript.Arguments.Item(0) == "vol100" ){
if( WScript.Arguments.Item(0) == "vol10" ){
objIEA.visible = false;
while(objIEA.readyState != 4) {}

2) Create shortcuts like the following. Change the part in the quotes to point to the bamp file you made. And change the bit at the end to the control you want. pause,vol100,w/e (refer to the .js file):
C:\Windows\System32\wscript.exe "C:\Users\Username\Documents\bamp.js" pause

3)You can give the shortcuts icons and add them to a toolbar (quicklaunch w/e) OR you can use a hotkey program such as to allow you to use them with hotkeys.

Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Page created in 194.8 ms (114.2 ms) · 53 database queries in 110.5 ms
Current time: 2020-05-25, 04:42:24 (UTC +00:00)