Guys,
although it is possible to send mouse-clicks and/or keyboard events to a WinCC OA panel (using a Control DLL), it is not the easiest way and good to maintain. When anyhting changes to the position of your shape, then you'll have to change your code.
I guess that your shape has something like a 'Click' event and now you want to trigegr this event from an external script. I'd say you have two options:
1) The normal click event does a dpSet() which triggers the script code
2) You can now easily set the datapoint yourself thereby 'emulating' the mouse click
Or,
3) Store the code that you want to call in a script library so that you can call from any other panel
getting the dollar codes through the debugegr is not something I'd do. I'd suggest to:
1) Store the dollar codes and their values in a global mapping so that you can read them directly
2) store the values in a hidden shape in your symbol
Note that you can acces any shape in any module (see help file 'Acces shape in otehr panel' )
Good luck
Frenk