6/21/2006 9:02 AM | |
Posts: 1084 Rating: (72)
|
Hi, Have a look at this FAQmaybe the solution (or at least part of it) is listed in one of the listed topics. withregards, Ikkezelf |
6/21/2006 9:45 AM | |
Posts: 65 Rating: (3) |
Hi, How to do it?? Any example?? Regards Schreyer |
6/21/2006 9:52 AM | |
Joined: 9/27/2005 Last visit: 11/27/2007 Posts: 1398 Rating: (151)
|
I would probably use a C script. GetParentPicture function will get the name of the window that contains the picturewindow (faceplate)object. You could then use this to get the dimensions of the picturewindow. There is an FAQ that shows how to use the GetParentPicture function. NOTE: This FAQ is not exactly what you need ! The FAQ shows how to set the picturewindow size. You would need to use the GetLeft and GetTop functions to read the co-ordinates instead. However I think it shows enough to get you started. FAQ -> http://support.automation.siemens.com/WW/view/en/14564771 Let us know if you need more help with this. |
6/21/2006 10:16 AM | |
Joined: 9/27/2005 Last visit: 11/27/2007 Posts: 1398 Rating: (151)
|
And here is a quick example of how you can get the co-ordinates of the picturewindow. I am simply outputting the co-ordinates to the debug window. You would just need to pass these to the PrtScr function instead. Hope this helps Salma Attachmentpictures.zip (430 Downloads) |
Follow us on