Hmm, I'm making a little progress, got stuck with this one though:
$state = WinGetState("iGuidance","")
If BitAnd($state, 0) Then
Run("iGuidance.exe")
EndIf
If BitAnd($state, 1) Then
WinSetState("iGuidnace","", @SW_MAXIMIZE)
EndIf
The first EndIf doesn't work as I guess the value of $state does not equal to 0?
Thanks.



LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks