Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: Franco B on September 23, 2008, 02:08:04 am

Title: Running LED Blinky .lwax on startup + cycle .lwax's
Post by: Franco B on September 23, 2008, 02:08:04 am
When I boot up the juke I'm building I want it to run a jukebox app or FE as well as a .lwax (LED Blinky sequence) straight away. Would I need to create some kind of batch file/shortcut and place it in the startup directory? Is it even possible to run LED Blinky in this way?

The other thing I would like to do is to program a few various .lwax's and cycle though them by pressing some miniature buttons. Would it be possible to use some kind of batch file or something (I have no idea about this as you can tell :P) so that when I pressed one of the buttons it would move onto the next sequence.

I was thinking about hacking a USB pad rather than using a keyboard encoder (for cost reasons) and then using Joy2Key to change the Joypad presses into Keystrokes. So if that was the case would it be possible to get LED Blinky to move on to the next sequence by inputting a keystroke like '~' (or generally any keystoke I'm not likely to use in the jukebox app etc).
Title: Re: Running LED Blinky .lwax on startup + cycle .lwax's
Post by: arzoo on September 23, 2008, 08:17:13 am
LEDBlinky has a command line mode which can be used for batch files - check the readme.txt (or help doc). Here's the basic command to run an animation:
  LEDBlinky.exe <animation>.lwax
  LEDBlinky.exe random.lwax

If you want to use a button on your cp to run the command or batch, then you'll need an app like AutoHotKey (http://www.autohotkey.com/).
Title: Re: Running LED Blinky .lwax on startup + cycle .lwax's
Post by: Franco B on September 23, 2008, 08:42:42 am
The man himself :)

Thanks buddy, thats great news. Ill go have a tinker.  :cheers: