Hi i found this nice script but dont under stand it so good.
Can somebidy explain
and then my next question is can i use this script on another App.?
;
; ----------------------------------------------------------------------------
;
; ----------------------------------------------------------------------------
Opt("ExpandEnvStrings", 1)
If $CMDLIne[0] = 1 Then
If StringInStr($CMDLine[1], '/name:') Then
$WinName = StringReplace($CMDLine[1], '/name:', '')
While 1
If WinExists($WinName) Then
WinActivate($WinName)
WinWaitActive ($WinName)
WinSetState ($WinName, "", @SW_HIDE)
ExitLoop
EndIf
WEnd
Else
If StringInStr ($CMDLine[1], '\') Then
$WorkingDir = StringReplace($CMDLine[1], "\"&StringRegExpReplace($CMDLine[1], ".*[\\|/]", "", 0), "")
$file = ($CMDLine[1])
Run($file, $WorkingDir, @SW_Hide)
Else
$WorkingDir = ''
$file = ($WorkingDir&'\'&$CMDLine[1])
Run($file, $WorkingDir, @SW_Hide)
EndIf
;~ If FileExists($CMDLine[1]) Then
;~ Run($file, $WorkingDir, @SW_Hide)
;~ EndIf
EndIf
EndIf
; ----------------------------------------------------------------------------
;
; ----------------------------------------------------------------------------