10/1/2008 1:59 PM | |
Posts: 487 Rating: (44) |
Excellent post. Rated 5 * for it. |
Last edited by: JMJ at: 10/1/2008 1:59 PM |
|
10/1/2008 3:27 PM | |
Posts: 37 Rating: (0) |
Thanks, it works perfect! |
6/18/2010 11:15 AM | |
Joined: 1/4/2010 Last visit: 3/19/2024 Posts: 650 Rating: (40)
|
By the way there is also a FAQ: http://support.automation.siemens.com/WW/view/en/29069169 |
Regards |
|
This contribution was helpful to1 thankful Users |
6/18/2010 11:22 AM | |
Posts: 60 Rating: (12) |
Interestingly the FAQ is nearly exactly the same code we all just posted above Looks like this is the only way to do it. |
6/18/2010 12:09 PM | |
Posts: 65 Rating: (1) |
Hi how about write this code in VBS Thanks |
7/6/2010 10:11 AM | |
Posts: 45 Rating: (4) |
Hello all, Unfortunately I couldn't made it with VB but I used the C script inside hidden object and trigred it throgh VB script. Thanks to evrybody for help |
12/23/2011 3:38 AM | |
Posts: 291 Rating: (68) |
Hi HMZ, As I know, it's possible to minimize WinCC RT Window via VBS taking use of "Tasks" object of Word Applicaton or WMI. But both of them spend time in detecting running processing & related hWnd. So I would like to suggest you to use another alternative way. Step 1: Just copy the attached "showdesktop.scf" to the root of your WinCC project folder. Step 2: And write the followings for your VB-Script. '-------------------------------------------------------------------------------------- Sub ShowDesktop(Byval Item) Dim objWshShell Set objWshShell = CreateObject("Wscript.Shell") objWshShell.Run HMIRuntime.ActiveProject.path & "\showdesktop.scf" Set objWshShell = Nothing End Sub Merry X'mas!! Komi '--------------------------------------------------------------------------------------
AttachmentMinimize_WCCRT.zip (392 Downloads) |
9/2/2019 1:19 PM | |
Joined: 3/14/2010 Last visit: 4/14/2024 Posts: 359 Rating: (5) |
Hi everyone ! My question is the same like from Sytupit 1st idea works in my WinCC RT BUT after that I cann't get to WinCC RT back, because I cann't open the Windows task bar where the icon of opend WinCC RT is. In WinCC CS I locked all key short cuts - CNTR+ALT+DEL ; - ALT+TAB ; - CNTR+ESC ; - ALT+ ESC ; because of the security policy requirements. How can I get to WinCC RT back ? How to make the Windows task bar visible ? |
Last edited by: Alex3110 at: 09/02/2019 13:36:28Last edited by: Alex3110 at: 09/02/2019 13:39:18 |
|
9/2/2019 2:47 PM | |
Joined: 9/19/2009 Last visit: 4/19/2024 Posts: 458 Rating: (81) |
Hi See if this can help you https://support.industry.siemens.com/tf/ww/en/posts/library-vb-net-c-com-vbscript-wincc/187312/?page=0&pageSize=10 1.-
2.-
Do the woks.... Max WinCC and HideTaskbar Regards |
If my answer help you, use the Thanks or Rate Button, It is free of charge :-) |
|
9/2/2019 5:06 PM | |
Joined: 9/19/2009 Last visit: 4/19/2024 Posts: 458 Rating: (81) |
Hi Alex There isn´t two options, this is the sequence, sorry If I don´t explain very well. So, for testing try this with severals button and you will see it.
By the way, if you have minimize WinCC and you are in your desktop, you can have another shortcut to maximices WinCC Regards
|
Last edited by: *PHS* at: 09/02/2019 17:07:00If my answer help you, use the Thanks or Rate Button, It is free of charge :-) |
|
9/21/2020 11:48 AM | |
Posts: 2 Rating: (0) |
When we give this function as event on button then what value we have to put in Item column.. |
Follow us on