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: (69) |
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 (520 Downloads) |
9/2/2019 1:19 PM | |
Joined: 3/14/2010 Last visit: 9/4/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 |
|
Follow us on