Jump to content

Leaderboard

Popular Content

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

  1. ZiggyStardust, Why do you keep opening multiple threads on the same subject? I asked you here why you had started a second thread about this very question and was seemingly ignored - and now I find you starting a third. As you are well aware, you have previous form on this to boot and yet here you are doing it all over again. So could you please explain why you feel this urge to post the each of your questions multiple times? M23
    1 point
  2. I can help you, but you might not like it. Here's my advice, put the crack pipe away, go to sleep for a day, and come back with a comprehensible autoit question.
    1 point
  3. JohnOne

    Slider control problem

    First thing I would try is giving that control $WS_EX_TOPMOST extended style. EDIT:or perhaps GUICtrlSetState($VideoPos2, $GUI_ONTOP)
    1 point
  4. Use _FileListToArray to get all of the files in the folder. Use _FileReadToArray to read the text file. Loop through the array from the file list, and then do an _ArraySearch on the array from the text file. Here's a demo. #include <File.au3> #include <Array.au3> Global $aTextFileList $aFileList = _FileListToArray(@MyDocumentsDir) _FileReadToArray("MyFileList.txt", $aTextFileList) For $I = 1 To $aFileList[0] If _ArraySearch($aTextFileList, $aFileList[$I]) = -1 Then ConsoleWrite("!File " & $aFileList[$I] & " isn't in the text file" & @CRLF) EndIf Next
    1 point
  5. I had this lying around >> Func _7Zip_Extract($sZipFile, $sDestinationFolder = @ScriptDir, $sPassword = "") If FileExists($sZipFile) = 0 Then Return SetError(1, 0, 0) EndIf If StringRight($sDestinationFolder, 1) <> "\" Then $sDestinationFolder &= "\" EndIf If FileExists($sDestinationFolder) = 0 Then DirCreate($sDestinationFolder) EndIf If $sPassword <> "" Then $sPassword = "-p" & '"' & $sPassword & '" ' EndIf If FileExists(@ScriptDir & "\" & "7za.exe") = 0 Then FileInstall("7za.exe", @ScriptDir & "\" & "7za.exe", 0) EndIf Return RunWait('7za.exe' & ' x "' & $sZipFile & '" ' & $sPassword & "-y -o" & '"' & $sDestinationFolder & '"', "", @SW_HIDE) EndFunc ;==>_7Zip_Extract
    1 point
×
×
  • Create New...