the other thread was locked unfortunately :/
just letting people know, it seems the litestep.exe has the same argument length restrictions that bang.exe has.
which is a real bugger.
how might i go about writing the info to a file and including it? ie. what module command do i use?
surely vbscript can write to file.
see xlabel text escape sequences.
yea it can, in face my script already writes about a dozen files. just wondering how to update the label.
uhmmm...didn't you read the post from Rabid that said it would have the same limitation?
Download my chameleon_1.1 theme. You don't have to install it - just take a look. It's got a lot of scripted weather label stuff (text and graphics), lua for the "theme" side and vbscript to handle the xml parsing and writing to "include" files. The vbscript stuff is mainly in the "weatherNotDLL" folder, although there are a few helpers in the VBS folder. Lua scripts are in both the Config folder and WeatherNotDLL. They're split up because I set it up so as to keep the weather data-grabbing separate from the theme components; that way it can easily be ported to another theme, or placed in a "personal" folder for use with all themes.
#define MAX_BANGCOMMAND 64 // length of !bangcmd name
#define MAX_BANGARGS 256 // length of arguments
The argument length is enforced when a bang command is executed from LM_BANGCOMMAND message handler and for any bang command that was registered from a module which is loaded as threaded.
Since any bang command executed from the command line or from an external process must use WM_COPYDATA (which in turn uses LM_BANGCOMMAND), they are limited to MAX_BANGARGS char count.
ok, thanks for the clarification. it all works now, tho im just writing to a file and using xlabel line() to read it. does the job tho. thanks.