• 13.07.2025, 23:49
  • Registrieren
  • Anmelden
  • Sie sind nicht angemeldet.

 

iNFiNiTE

God

Multi Switch Script Generator

Sonntag, 30. November 2008, 16:38

new version: here!



____________________________________________________

What is it?
Well, the name itself explains it pretty good. With the Muswi Script Generator everybody is able to create (simple) scripts for the Aqua Computer Multiswitch in a drag & drop manner.
Existing already for more then one year i thought it is maybe a good idea to announce this also in the international area ;D

Features
- controls the 8 Led/Amp Inputs of the MS.
- switches the Led/Amp Inputs on/off
- fades the Led/Amp Inputs increasing/decreasing
- assigns the Led/Amp Inputs numeric values
- switches the relay on/off
- switches the Led/Amp Inputs on/off (time based)

Usage
1. Choose the desired option.
2. Change the settings (only settings with the checked "use" checkbox are enabled!)
3. Click on "Zum Skript hinzufügen".
4. Repeat 1-3 until the desired script is finished.
5. Click on "Skript erstellen". If the script should run continuously, check the "Skript kontinuierlich wiederholen" checkbox.
6. A file called "skript.cs" should be created in the generators directory.

Important:
- currently the generator is partly in German, but I think everybody should be still able to use it. If there is a highly demand from Non-German users, I will make an English only version.
- created scripts have to be stored in the Aquasuite or any other directory where usb.dll and myTranslationClasses.dll are available.
- at this moment the generator needs the "vorlage.cs" file, so make sure it is in the same directory as the generator executable!
- .NET Framework 2.0 is required.

Translations:
- "Zum Skript hinzufügen" -> "add to script"
- Erstelle Skript" -> "create script"
- "Skript kontinuierlich wiederholen" -> "run script continuously"
- "Dauer (ms) zwischen den fading schritten" -> "delay (in ms) between the fading steps"
- "haken bei "Skript kontinuierlich wiederholen" nicht vergessen!" -> "dont forget to check the "run script continuously" checkbox"
- Relais -> relay




Download
MuswiSkriptGen-0.2.0.rar
example script made by Benny
blinking script made by Benny
knightrider script made by Benny

messi

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »infinite« (29. April 2009, 20:54)

Y0Gi

God

Re: Multi Switch Script Generator

Sonntag, 30. November 2008, 18:30

Warum benutzt du für on/off keine Checkbox? Das bietet sich für was boolsches stark an (vorsichtig ausgedrückt).

Und ich hoffe doch, du hast eine eigene Widget-Klasse, von der du die abgebildeten 16 Instanzen ableitest und erzeugst nicht alles redundant?

iNFiNiTE

God

Re: Multi Switch Script Generator

Sonntag, 30. November 2008, 19:07

yogi, since we are in an English forum, your post should be also in English ;)

Zitat von »Y0Gi«

Warum benutzt du für on/off keine Checkbox? Das bietet sich für was boolsches stark an (vorsichtig ausgedrückt).

I don’t think it matters whether you use a checkbox or those radio buttons. I chose the radio buttons over the checkbox because it is clear that only "on" or "off" could be activated. for check boxes you are able to check both. of course you could insert some code so that only one checkbox can be checked, but why should I do that if radio buttons fulfill my requirements?

Zitat von »Y0Gi«


Und ich hoffe doch, du hast eine eigene Widget-Klasse, von der du die abgebildeten 16 Instanzen ableitest und erzeugst nicht alles redundant?

yeah, right.

Y0Gi

God

Re: Multi Switch Script Generator

Sonntag, 30. November 2008, 20:53

A checkbox exactly has two states: on and off.

Your screenshot however shows two radio buttons in each panel that firstly aren't visually grouped together and secondly, presuming that they are indeed grouped and since the panels are not deactivated, clearly show off a third state: none of 'em is selected. So after startup, your application has multiple places that result in an undefined state.

*If* you've had followed GUI creation guidelines, both users and the application itself shouldn't be irritated, but using checkboxes from the start would have prevented you from stepping in those traps altogether.

iNFiNiTE

God

Re: Multi Switch Script Generator

Sonntag, 30. November 2008, 21:13

you are right, there could be some visual improvement, i will remind that for a future version.