Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/28/2024 in all areas

  1. mr-es335

    Simplifying Search Results

    NIne, Again...."WOW!", "Double WOW!"...and even, "Tripple WOW!" I would gladly give a portion of my anatomy to be able to think the way in which some of you think! Maybe such "thinking processes" are pretty mundane for you...but not so...to me anyhow. Such "cranial deprivation" issues are never more evident than when it comes to "arrays". • I remember a cute tid-bit abut a young programmer who, upon his first time hearing about arrays, thought that this conversation was all about "financial incentives"! Anyhow, None-x-Nine=Nine! Thank you so, very, very much for your assistance and your examples. Both are very much appreciated and are indeed provocative! PS: A closing snippet for you: "A teacher takes a hand, opens a mind, and touches a heart."
    1 point
  2. Nine

    Simplifying Search Results

    Something like this : #include <Array.au3> #include <Constants.au3> #include <WinAPIFiles.au3> _WinAPI_Wow64EnableWow64FsRedirection(False) ; since some files/folder are in windows folder Local $sResult = CheckIfSrcDataExists() MsgBox($MB_SYSTEMMODAL, "Results!", $sResult) Func CheckIfSrcDataExists() Local $aPath[] = ["C:\Program Files\Common Files\Native Instruments", _ "C:\Program Files\Native Instruments", _ "C:\RML\SAC\VST_PlugIns\Ampsim", _ "C:\RML\SAC\VST_PlugIns\Ampsim.ini", _ "C:\Users\Dell\AppData\Local\Native Instruments", _ "C:\Users\Dell\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\Guitar Rig 5.lnk", _ "C:\Windows\System32\msvcp120.dll", _ "C:\Windows\System32\msvcr120.dll", _ "C:\Windows\SysWOW64\msvcp120.dll", _ "C:\Windows\SysWOW64\msvcr120.dll", _ "E:\Text\Native Instruments"] _ArrayColInsert($aPath, 1) For $i = 0 To UBound($aPath) - 1 $aPath[$i][1] = FileExists($aPath[$i][0]) ? "Yes" : "No" Next Return _ArrayToString($aPath, " ") EndFunc ;==>CheckIfSrcDataExists ps. I may watch that movie sometime
    1 point
×
×
  • Create New...