Marlo Posted October 9, 2008 Share Posted October 9, 2008 Hello people! I am currently in the process of designing a script that downloads multiple files all at once but i've hit a snag. I want to make a GUI that has a vertical scrollbar that when moved will reveal / hide the progress bars. (alot like the firefox download window) But i cant see anything in Autoit that will allow me to do this. Is this even possible? Click here for the best AutoIt help possible.Currently Working on: Autoit RAT Link to comment Share on other sites More sharing options...
andybiochem Posted October 9, 2008 Share Posted October 9, 2008 Hello people! I am currently in the process of designing a script that downloads multiple files all at once but i've hit a snag. I want to make a GUI that has a vertical scrollbar that when moved will reveal / hide the progress bars. (alot like the firefox download window) But i cant see anything in Autoit that will allow me to do this. Is this even possible? Maybe not exactly what you are after, but try something like this: expandcollapse popup#include <GUIConstants.au3> #Include <GuiListView.au3> Opt("GUIOnEventMode", 1) $Form1 = GUICreate("Form1", 307, 150, 295, 212) GUISetOnEvent($GUI_EVENT_CLOSE,"close") $ListView1 = GUICtrlCreateListView("File|Download Progress", 8, 8, 289, 130) _GUICtrlListView_SetColumnWidth($ListView1,0,100) _GUICtrlListView_SetColumnWidth($ListView1,1,169) GUICtrlCreateListViewItem("Sony RootKit.exe|*",$ListView1) GUICtrlCreateListViewItem("FunnyVid.avi|*",$ListView1) GUICtrlCreateListViewItem("AutoIt Beta.zip|*",$ListView1) GUICtrlCreateListViewItem("etc|*",$ListView1) GUICtrlCreateListViewItem("etc|*",$ListView1) GUICtrlCreateListViewItem("etc|*",$ListView1) GUICtrlCreateListViewItem("etc|*",$ListView1) GUICtrlCreateListViewItem("etc|*",$ListView1) GUICtrlCreateListViewItem("etc|*",$ListView1) $progress = "*" GUISetState(@SW_SHOW) While 1 Sleep(1000) For $i = 0 to 9 _GUICtrlListView_SetItemText($ListView1,$i,$progress,1) Next $progress &= "*" WEnd Func close() Exit EndFunc - Table UDF - create simple data tables - Line Graph UDF GDI+ - quickly create simple line graphs with x and y axes (uses GDI+ with double buffer) - Line Graph UDF - quickly create simple line graphs with x and y axes (uses AI native graphic control) - Barcode Generator Code 128 B C - Create the 1/0 code for barcodes. - WebCam as BarCode Reader - use your webcam to read barcodes - Stereograms!!! - make your own stereograms in AutoIT - Ziggurat Gaussian Distribution RNG - generate random numbers based on normal/gaussian distribution - Box-Muller Gaussian Distribution RNG - generate random numbers based on normal/gaussian distribution - Elastic Radio Buttons - faux-gravity effects in AutoIT (from javascript)- Morse Code Generator - Generate morse code by tapping your spacebar! Link to comment Share on other sites More sharing options...
Kip Posted October 9, 2008 Share Posted October 9, 2008 A listview doesn't have progress bars. Take a look at my scrollbar UDF in my signature. MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
andybiochem Posted October 9, 2008 Share Posted October 9, 2008 (edited) Take a look at my scrollbar UDF in my signature.Wow, superb! Yup, I'd do it with Kip's UDF if I were you!see below...lol Edited October 9, 2008 by andybiochem - Table UDF - create simple data tables - Line Graph UDF GDI+ - quickly create simple line graphs with x and y axes (uses GDI+ with double buffer) - Line Graph UDF - quickly create simple line graphs with x and y axes (uses AI native graphic control) - Barcode Generator Code 128 B C - Create the 1/0 code for barcodes. - WebCam as BarCode Reader - use your webcam to read barcodes - Stereograms!!! - make your own stereograms in AutoIT - Ziggurat Gaussian Distribution RNG - generate random numbers based on normal/gaussian distribution - Box-Muller Gaussian Distribution RNG - generate random numbers based on normal/gaussian distribution - Elastic Radio Buttons - faux-gravity effects in AutoIT (from javascript)- Morse Code Generator - Generate morse code by tapping your spacebar! Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted October 9, 2008 Share Posted October 9, 2008 A listview doesn't have progress bars.Take a look at my scrollbar UDF in my signature.Doesn't they? .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now