AngelSL Posted August 26, 2007 Share Posted August 26, 2007 (edited) How do I make a non-ending progress bar?EG. <the top> Edited August 26, 2007 by AngelSL Link to comment Share on other sites More sharing options...
JustinReno Posted August 26, 2007 Share Posted August 26, 2007 I'm not sure but what are the little two goat things at the bottom of the screenshot? Link to comment Share on other sites More sharing options...
AngelSL Posted August 26, 2007 Author Share Posted August 26, 2007 Desktop mate. Link to comment Share on other sites More sharing options...
JustinReno Posted August 26, 2007 Share Posted August 26, 2007 ah, i see. I think i've seen it, OHH, i think i have it in autoit 123, let me check. UGH never mind Link to comment Share on other sites More sharing options...
martin Posted August 26, 2007 Share Posted August 26, 2007 How do I make a non-ending progress bar?Const $PBS_MARQUEE = 0x8$Progress1 = GUICtrlCreateProgress(144, 32, 150, 17, BitOR($PBS_MARQUEE,$WS_BORDER)) Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
Achilles Posted August 27, 2007 Share Posted August 27, 2007 (edited) Const $PBS_MARQUEE = 0x8 $Progress1 = GUICtrlCreateProgress(144, 32, 150, 17, BitOR($PBS_MARQUEE,$WS_BORDER)) In more detail:Const $PBS_MARQUEE = 0x8 GuiCreate('', 700, 100) $Progress1 = GUICtrlCreateProgress(50, 10, 600, 80, $PBS_MARQUEE) GuiSetState() AdLibEnable('_Progress', 30);This number sets the speed of the progress While 1 Switch GuiGetMsg() Case -3;Same as $GUI_EVENT_CLOSE Exit EndSwitch WEnd Func _Progress() GuiCtrlSetData($Progress1, '') EndFunc Edited August 27, 2007 by Piano_Man My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
AngelSL Posted August 27, 2007 Author Share Posted August 27, 2007 The helpfiles don't show anythin with 0x8. Care to explain? Link to comment Share on other sites More sharing options...
martin Posted August 27, 2007 Share Posted August 27, 2007 The helpfiles don't show anythin with 0x8. Care to explain?Piano_Man's script demonstrates how to do what you want. The progress bar has to have a style called $PBS_MARQEE which is defined as the value 0x8. $PBS_MARQUEE isn't in the help file ASAIK, and neither is it in guiconstants.au3 so you need to either include the lineConst $PBS_MARQUEE = 0x8as Piano_Man did, or just use the value 0x8 in the style parameter when you create the progress bar.In case I misunderstood your question, 0x8 means hex value 8. Eg 0x1A is 1A in hex which is 26 in decimal. 0x8 is actually 8 in decimal but it's just a convention that these constants have hexadecimal values. This is partly because it makes it easier in various situations. For example, values are often given which are powers of 2 because they need to be combined. So if $A = 0x100 and $B = 0x10 and $C = 0x1 then it is easy to tell that 0x11 includes $A and $B but not $C. Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
AngelSL Posted August 27, 2007 Author Share Posted August 27, 2007 How do I increase the erm.. length of the flow? Link to comment Share on other sites More sharing options...
Achilles Posted August 27, 2007 Share Posted August 27, 2007 How do I increase the erm.. length of the flow?If your using my example just make that type in the "Adlibenable()' statement longer. My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
AngelSL Posted August 28, 2007 Author Share Posted August 28, 2007 I mean like increase the length of the green flowing progress bar thingabob whatever its called. Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted August 28, 2007 Moderators Share Posted August 28, 2007 I wrote this a while back.Marquee Style Progress Control Link to comment Share on other sites More sharing options...
MCP Posted September 12, 2007 Share Posted September 12, 2007 Thank you. Greatly appreciated. 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