Hey I am trying to select a File using the FileOpenDialog, which then is converted to a variable which i want to use later. My code looks like this:
$code = FileOpenDialog ("Select File",@DesktopDir,"Executables (*.exe)",1+2) Case $restart EndSwitch If $bCheck Then If Not ProcessExists($var) And Not ProcessExists("asd.exe") Then ShellExecute($code) EndIf EndIf
To explain it more detailed:
I want to let the user set the File to restart, if 2 Processes arent running. For that, i got an Inputline in KODA, where you would have to type the name of the first process, being $var, and a button for the FileOpenDialog to select the File which shall be started in $code.
(Sorry for my bad English ;( i'm german.)