Bring to front aplication app scada

Maximiliano Irrazabal 1 Reputation point
2023-01-09T16:08:11.4+00:00

hello everyone

I am working with a siemens scada Wincc. By means of a script from the scada I open a HMI, I do this with the Sm@rtClient application.

The problem I have is that if the operator does not close the Sm@rtClient screen, it remains behind the runtime. I need to leave that application always in front when the operator opens it.

Thank you very much in advance

script________

Sub OnClick(Byval Item)

'VBS117

Dim objWshShell
Set objWshShell = CreateObject("Wscript.Shell")

objWshShell.Run "C:\SmartClient.exe / 10.12.183.76 /password 1234 /notoolbar",1

End Sub

277512-image.png

Community Center | Not monitored
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.