hellogoodbye Posted February 23, 2007 Share Posted February 23, 2007 i want to make it where it reads the progress bar starts at 100 going down by 10 and it then adds a amount to it if a button is pressed this is a part of my script: While 1 $msg = GUIGetMsg() Select Case $msg = $happy_button $readhappy = GUICtrlRead($ProgressHappy) $prgresshappy_button = $readhappy+20 For $i = 100 To 0 Step -10 GUICtrlSetData($ProgressHappy,$i) GUICtrlSetData($ProgressHunger,$i) GUICtrlSetData($ProgressBordem,$i) GUICtrlSetData($ProgressBlader,$i) Sleep(1000) Next If GUICtrlRead($ProgressHappy) = 0 Then button() ExitLoop EndIf EndSelect WEnd EndFunc Link to comment Share on other sites More sharing options...
Bert Posted February 23, 2007 Share Posted February 23, 2007 the helpfile has a example that shows what you need. It is pretty strait forward. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
hellogoodbye Posted February 23, 2007 Author Share Posted February 23, 2007 (edited) would i use GUICtrtSetData? because when i do that the progress bar window would be frozen at around 40% and when i press the button (the button is on a different window) ALL the progress bars will go to 100% and it doesnt do it again. And it does the same thing for the script above(its a part of a script it doesnt show the button window func). What i want is just to have it where i press 1 button (on different window) and 1 progress bar (out of about 4) will be read and it will +20 to w/e the % or where ever the progress bar is. Edited February 23, 2007 by hellogoodbye Link to comment Share on other sites More sharing options...
toothyXdip Posted February 24, 2007 Share Posted February 24, 2007 wow i have almost exactly the same problem *Here* ---╔╦═╗╔╗'''╔╗╔═╦═╗╔╦═╗---╝╠═╣╝║'''║╝╝'''║'''╝╝║'''║......║'''║'''║'''║'''''''''║'''''''''║'''║---╔╩═╩═╩═╩═══╩═╦═╩═╩══╦══════╗''''╔╩════════════╩══╗╔══╩══╗╔══╝ ''''╝''''''''''''''''''''''''''''''''''''''''''''''''║║'''''''''''''''║║ ''''''''''''''''''''''''''''''''''''''''''''''╔══╝╚══╗''''''║║''''''''''''''''''''''''''''''''''''''''''''''╚══════╝''''''╚╝ Link to comment Share on other sites More sharing options...
hellogoodbye Posted February 24, 2007 Author Share Posted February 24, 2007 what would i search in the help file ???? Link to comment Share on other sites More sharing options...
Shevilie Posted February 24, 2007 Share Posted February 24, 2007 First make a script that can make the progress bar from 100 to zero... then post that 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 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