Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/30/2011 in all areas

  1. For this task I would recommend Melba23s excellent ...
    1 point
  2. Maybe do not use SetACL.exe altogether and give this a try?
    1 point
  3. Try using Number() around the value from the regread, when you read it from the registry it is reading it as a string.
    1 point
  4. You could circumbobulate and obambulate around this topic, but it would be a case of acrasia. You are better off aucupating... Let's face it, any dictionary is going to be macilent, given that our language is motatorious. It's all rather ostrobogulous... (pandiculates due to delassation). I imagine this would be a good topic for a deipnosophist though
    1 point
  5. DirCopy() is a blocking function, it returns only when the copy operation has finished 100% (or failed ). If you want to implement progress feedback you'll have to do it on your own. Melba23's excellent comes in handy there ... #include <guiconstantsex.au3> #include <progressconstants.au3> ; #include <array.au3> #include <recfilelisttoarray.au3> GUICreate("My GUI Progressbar", 220, 100, 100, 200) $progressbar = GUICtrlCreateProgress(10, 30, 200, 20) GUICtrlSetColor(-1, 32250); not working with Windows XP Style $button = GUICtrlCreateButton("Start", 75, 70, 70, 20) GUISetState() Do $msg = GUIGetMsg() If $msg = $button Then GUICtrlSetData($button, "Stop") $a_Files = _RecFileListToArray(@WindowsDir & "Help", "*", 1, 1, 0, 1) ; _ArrayDisplay($a_Files) For $i = 1 To $a_Files[0] GUICtrlSetData($progressbar, ($i / $a_Files[0])*100) FileCopy(@WindowsDir & "Help" & $a_Files[$i], @ScriptDir & "Help" & $a_Files[$i], 9) Next GUICtrlSetData($button, "Start") EndIf Until $msg = $GUI_EVENT_CLOSE
    1 point
×
×
  • Create New...