Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/18/2024 in all areas

  1. You should correct this. There's something wrong with your capabilities string. I think "desiredCapabilites" is deprecated. Try switching to "Capabilities".
    1 point
  2. ioa747, As they say, "My bad!" I was looking at the exported reg key and NOT the actual reg key itself. My sincerest apologies here, ioa747!! Please forgive me! How do I check the actual "REG_SZ" value of the _UpdateKey() function? For example: ""HKEY_LOCAL_MACHINE\Software\Native Instruments\Guitar Rig 5", "InstallVST64Dir", "REG_SZ", "C:\RML\SAC\VST_PlugIns\Ampsim\"
    1 point
  3. correction ;--------------------------------------------------------------------------------------------------------- Func _RegKeyExist($sKeyname) RegRead($sKeyname, "") Local $err = @error ConsoleWrite("$err=" & $err & @CRLF) If $err = 1 Then MsgBox($MB_SYSTEMMODAL, "_RegKeyExist", "The registry key" & @CRLF & $sKeyname & @CRLF & "NOT Exist.") Return False EndIf MsgBox($MB_SYSTEMMODAL, "_RegKeyExist", "The registry key" & @CRLF & $sKeyname & @CRLF & "Exist.") Return True EndFunc ;==>_RegKeyExist ;---------------------------------------------------------------------------------------------------------
    1 point
  4. ShellExecute('ms-photos:viewer?fileName={Your image path here}') or if your default app for certain file extension is already MS Photos you can simply use ShellExecute('{Your image path here}') PS: brackets above mark a placeholder, you don't need them
    1 point
  5. Hey @redLabel & @UEZ, thanks so much, with your help I got what i was missing: RegEnumVal() is what i needed and actually does the job. Here is what I have now and that is the solution: For $i = 1 to 100 $var = RegEnumVal("HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", $i) if @error <> 0 Then ContinueLoop MsgBox(4096, $var, RegRead("HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", $var)) Next
    1 point
×
×
  • Create New...