Marc,
there is no build-in functionality to connect a SwyxIt! button with some behaviour of your ECR script. You have to do an easy workarround: DTMF.
So what you need to do is to setup a dummy user with a certain extension (e.g. 123), configure three speed dials on the skin (X, Y, Z) and let them all call this extension *plus* some fourth number, a so called post dialing digit.
This is how to do the easy one of the both to be done jobs, configureing the client.
The taff job is the ECR script ...
First of all you need to know that ECR resp. SwyxWare does not provide you with persistent variables, meaning a value you store into one certain variable will be lost once the script is finished (i.e. the call is disconnected). So, you need to store the information of the current path (A, B, C) to be taken for calls on the main number somewhere else (Windows Registry, Textfile, Database). Personally I allways prefer databases, but if you are not that familiar with it, you can also make use of text files.
Take a look on the bottom of the follwing page. There you'll find examples on how to deal with databases and textfiles within call routing script:
Next step is to get the "post dialing digit" that has been dialed by the speed dial key. There's a build-in GSE function available for this. Take a look into the following forum thread for details:
With this you should be able to setup the X, Y, Z resp. A, B, C information into the storage of your choice (textfile, database).
As a last step you need to define an ECR script on the user having the main number that reads the stored path information (A, B or C) from the storage and routes the call accordingly.
Well, as you see you need to extend some functionality to the GSE script by using some own VBScript code. This is because there are so many different tasks one could think of doing with the GSE it is simply impossible to provide ready made GSE blocks for everything. The beauty of the GSE is, that you can easily extend it's functionality.
Take a look on the first link I have given in this posting. There you'll find a number of examples of how to make use of own vbscript code.
You wrote that you are relatively new to SwyxWare. Make yourself comfortable with the GSE and it's blocks. Ask your reseller or distributor for some ECR training. Swyx also provides Basic ECR training as also an ECR for Developers training.
Hope this helps,
Tom.