Jump to content

Sonny

Members
  • Posts

    5
  • Joined

  • Last visited

Profile Information

  • Location
    Earth

Sonny's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Zone97, Like the blind man said, "I can't see that happening". If you want this to work, you need to focus on MouseClick, ControlSend, [/size][size=4]WinActivate[/size][size=4]. Here's a tip, you have to copy the PROCESSLIST.BIN file to the temp directory before running the .com file completely. Once that's done, you just re-package it. Sonny
  2. Zedna, Surprisingly, you helped me find the answer. I guess I needed a kick-in-the-pants to get the brain juices flowing. It works great now. Sonny
  3. Richard, Starting msconfig from GUI is definitely needed in Win 7 to restart the computer in Safe Mode. I personally use the GUI as a remote tool which gets sent to the clients PC. I am unable to press f8 on reboot, hence the need for msconfig. If you know of a way to reboot into Safe Mode using Autoit scripts, please share. Sonny
  4. Hello, I currently have a Gui with download links, that will download files and show an external box with the progress. I have updated the GUI with a progress control built-in, and would like to have the download progress show there instead. I have included the current code, as well as an image of the current progress bar. The built-in gui is set to 100 for ease in locating. Thanks in advance, Sonny $mnuCCleaner = GUICtrlCreateMenuitem("CCleaner", $mnuDownloads) ;button to click Case $msg = $mnuCCleaner $url = "http://download.piriform.com/ccsetup302.exe" _downloadSplash($url) Func _downloadSplash($url, $open = 1) ; Dim $dims, $software, $size ;get down of package from url $software = StringSplit($url, "/") $dims = UBound($software) $dims = $dims - 1 ;get size $size = InetGetSize($url) ;download package InetGet($url, @DesktopDir & "" & $software[$dims], 1, 1) ProgressOn ("Download Progress", "Downloading " & $software[$dims], "",-1,-1,BitOr(2, 16)) While @InetGetActive $currentsspercent = (100 * @InetGetBytesRead) / $size ProgressSet($currentsspercent, "Please Wait ... Bytes: " & @InetGetBytesRead) Sleep(250) Wend ProgressSet(100 , "Done", "Download Complete") sleep(500) ProgressOff() If $open = 1 Then Run(@DesktopDir & "" & $software[$dims]) Else MsgBox(0, "Finished", "Your download has finished and " & @CRLF & "is on the current desktop." & @CRLF & @CRLF & @InetGetBytesRead & " bytes total") EndIf EndFunc
  5. KISS FileWrite(@ScriptDir & "\cmd\runmsconfig.bat", '@echo off' & @CRLF & 'start msconfig') sleep(500) Run(@ScriptDir & "\cmd\runmsconfig.bat", @ScriptDir)
×
×
  • Create New...