Main > Software Forum
A "fake" front end
Zathras:
I just posted about this in the projects announcements forum in my Jukebox project thread but it was an idea I hadn't seen elsewhere so I thought someone here might like to poke holes in it too. :)
I am working on a jukebox on a Win98 machine running VMJ and a XM PCR. I was able to get VMJ running with the wrapper but I have yet to get any of the XM applications to cooperate.
BUT I have always thought that a full frontend would be overkill for just two applications. So I started looking for alternatives and happened upon Hotkey Plus Which allows you to launch applications from a key stroke with or without a modifier (win, alt, ctrl).
I tried it out and it works great so I am thinking of deleting all desktop Icons, hiding the taskbar and having a wallpaper that says "Press left for xm and right for vmj."
Then to exit just set up a key (or keys) to alt-f4 to exit. Which brings me to my first question - can you run one button to two inputs on a keyboard encoder (i'll be running a keywiz)?
The main problem I can think of with this setup is it is possible to open both applications - but in worse case scenerio you just exit both and re-open the one you want.
Another option to just pressing one button to launch the apps would be to have a button set up that is programmed to "alt." You could setup hotkey to have Alt+left or right lauch the corresponding application and then just have a button programmed for F4 on top. That would keep me from having two keys on one button and not having a single button that opens an app which could be pressed accidentally....
Am I missing anything obvious here? Or any other ideas to accomplish the same thing?
Thanks!
Lilwolf:
btw, VERY cool program if it works well. I will try it out (java doesn't like launching true dos applications that access hardware... so I can't easily configure my encoder).
Anyway, yes you can set more then one key to a button press. Ground -> both buttons will work fine.
I will try it out when I get home tonight
Zathras:
That is good to know - I thought it was the case but I had never tried it.
Now I am thinking two dedicated launch app buttons and an exit button would be simplist for the masses.
Tiger-Heli:
--- Quote from: Zathras on June 09, 2004, 01:49:02 am ---BUT I have always thought that a full frontend would be overkill for just two applications. So I started looking for alternatives and happened upon Hotkey Plus Which allows you to launch applications from a key stroke with or without a modifier (win, alt, ctrl).
--- End quote ---
OT, but you can do this in WinXP without a separate program by making a shortcut and editing the shortcut properties (I know you're using Win98, just a point of interest).
--- Quote ---Then to exit just set up a key (or keys) to alt-f4 to exit. Which brings me to my first question - can you run one button to two inputs on a keyboard encoder (i'll be running a keywiz)?
--- End quote ---
Not sure if this will work for you or not -
Programming one KeyWiz Input to Alt and one to F4 is no problem.
(You will need to launch the KeyWiz app at boot up to load the new config, but that's just one line in your autoexec.bat file.)
Wiring a button to both inputs is not a problem (you are losing one keyWiz input, but no problem.)
What I am not sure is: The program is looking for "Alt followed by F4" and I think you might randomly get "Alt followed by F4" or "F4 followed by ALT" or "F4 and ALT at the same instant".
It would be easy to test and I would be curious as to the result.
--- Quote ---Another option to just pressing one button to launch the apps would be to have a button set up that is programmed to "alt." You could setup hotkey to have Alt+left or right lauch the corresponding application and then just have a button programmed for F4 on top. That would keep me from having two keys on one button and not having a single button that opens an app which could be pressed accidentally....
--- End quote ---
Thinking outside the <juke>box here (sorry for the bad pun): Having ALT held down doesn't result in a stuck key or beeping error - it might be possible to program the KeyWiz to use Alt for an input and "short" this input, basically the same as wiring the button held down.
Test this by trying to run the VMJ and XM apps with the alt key held down, but I'm not real hopeful.
--- Quote ---Am I missing anything obvious here?
--- End quote ---
Not that I can see.
--- Quote --- Or any other ideas to accomplish the same thing?
--- End quote ---
You might be able to use Howard Casto's generic wrappers http://www.oscarcontrols.com/lazarus/wrappers.html to end the programs with the Escape key rather than an Alt-F4 combination.
Zathras:
I've tried the wrapper and while it works with VMJ the XM applications just don't work well with it (one doesn't exit and the other doesn't have focus and runs in the background behind the black background).
The Alt-F4 thing is interesting - I mentioned it to a guy here at work and he said one thing to try if it doesn't work all the time is that 30cm of wire is equivalent to one nanosecond - so perhaps put the F4 wire on a few extra feet of wire would be enough to make it work reliably.