
Uploaded my version ot TWXProxy to grimy's.
Don't know if it is worth while but I have uploaded a tweaked version of TWXProxy to grimy's.
I have added a cosmetic change to the setup menu that I find usable and added a couple of new commands first and foremost this is alpha code it has had about 2 hours testing to see if it works.
There are now 2 new commands in the scripters library in this version.
I added a shell command that will allow you to run an external command or window to do whatever
you want, through the scripting framework. Consider this to be alpha software and hold your flames for the next release if EP decides to include it into the next release.
I am a coder not a tester that can decide what the documentation should be.
The first command that I'd like to talk about is the MOD command
Seems that ParrotHead had a problem with dates and asked for help.... I implemented this solution by
stealing code from the divide routine and taking out the real/extended/floating point error check that Xide/EP had in there and substituted the MOD command instead of the divide command.
The next thing I added is something that has a potential for trouble. IMHO the security model for windows leaves a lot to be desired and if I have exposed a way for someone from outside your computer to run malicious programs then I apologize in advance.
The command will run any command that you can run under windows... In essence it takes the parameters of <command to run> <arguments to same> and then has no security whatsoever
as who is doing the execution. I want to throw this out because I believe that if through the script you could start another program and get some feedback or even if someone invented a way to talk to another program through the clipboard or other such way it could open up a whole new arena for tradewars that could get more people involved in scripting.
The command I added is named shell and it takes 2 parameters
The First parameter is the name of the program you want to run.
The Second is the parameters/arguments that you want to pass to the program you want to run.
Due to a brain fart I didn't test it out fully. YOU MUST HAVE 2 PARAMETERS
But the second parameter can be a null string so this would work
shell "notepad.exe" "" would open notepad with a blank file.
If this is something that the community doesn't want then let me know. I'll I'm doing is throwing out ideas and the ones that are good are usually the ones that I forget about. That's my story and I'm sticking to it.