Jump to content

Progress Bar Help


sandman
 Share

Recommended Posts

By this I mean not to just show what is set in the script to show percentage, but the actual progress of a loading action.

Anyone know?

[center]"Yes, [our app] runs on Windows as well as Linux, but if you had a Picasso painting, would you put it in the bathroom?" -BitchX.com (IRC client)"I would change the world, but they won't give me the source code." -Unknownsite . blog . portfolio . claimidcode.is.poetry();[/center]

Link to comment
Share on other sites

By this I mean not to just show what is set in the script to show percentage, but the actual progress of a loading action.

Anyone know?

Like show it inside the progress bar??

Link to comment
Share on other sites

No.. I mean like showing the actual progress.. for example.. of downloading a file or loading a program.

Not using GUICtrlSetData(), because that is a fixed percentage. I want an actual percentage.

[center]"Yes, [our app] runs on Windows as well as Linux, but if you had a Picasso painting, would you put it in the bathroom?" -BitchX.com (IRC client)"I would change the world, but they won't give me the source code." -Unknownsite . blog . portfolio . claimidcode.is.poetry();[/center]

Link to comment
Share on other sites

No.. I mean like showing the actual progress.. for example.. of downloading a file or loading a program.

Not using GUICtrlSetData(), because that is a fixed percentage. I want an actual percentage.

GUICtrlSetLimit: 100

GUICtrlRead: The progress bar

Link to comment
Share on other sites

Well I use this for downloading

Func Download($url,$path,$name)
   $size = InetGetSize($url)
   If $size == 0 Then Return -1
   ProgressOn("Downloading",$name)
   InetGet($url, $path, 1, 1)
   While @InetGetActive
      $i = @InetGetByteRead / $size * 100
      ProgressSet( $i, $i & " percent")
      Sleep(100)
   WEnd
   ProgressSet(100 , "Done", "Complete")
   sleep(500)
   ProgressOff()
EndFunc
Edited by Shevilie

Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit

Link to comment
Share on other sites

For the loading part, i dont think thats duable since autoit can not know what the program is loading etc etc... except if the program itself sends data and says hey im 30% done loading

Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...