robismyname Posted November 20, 2013 Share Posted November 20, 2013 GUICtrlSetData ( controlID, data [, default] ) Not sure how to interpret red bold text in the script below. Any help is appreciated. $TestProgress = GUICtrlCreateProgress(665, 460, 200, 20) GUICtrlSetColor(-1, 32250) GUICtrlSetData($TestProgress, 35) . . . . GUICtrlSetData($TestProgress, 100) . . . . GUICtrlSetState($TestProgress,$GUI_Hide) If GUICtrlRead($LTE4)=1 Then RUNWAIT($QDir&"NoiseProfilingTool.exe HP_LTE_4_Main.xml run") ;RUNWAIT($QDir&"NoiseProfilingTool.exe HP_LTE_4_Aux.xml run") EndIf GUICtrlSetData($TestProgress, 10) If GUICtrlRead($LTE7)=1 Then RUNWAIT($QDir&"NoiseProfilingTool.exe HP_LTE_7_Main.xml run") ;RUNWAIT($QDir&"NoiseProfilingTool.exe HP_LTE_7_Aux.xml run") EndIf GUICtrlSetData($TestProgress, 10) If GUICtrlRead($LTE17)=1 Then RUNWAIT($QDir&"NoiseProfilingTool.exe HP_LTE_17_Main.xml run") ;RUNWAIT($QDir&"NoiseProfilingTool.exe HP_LTE_17_Aux.xml run") EndIf GUICtrlSetData($TestProgress, 20) If GUICtrlRead($LTE2)=1 Then RUNWAIT($QDir&"NoiseProfilingTool.exe HP_LTE_2_Main.xml run") ;RUNWAIT($QDir&"NoiseProfilingTool.exe HP_LTE_2_Aux.xml run") EndIf GUICtrlSetData($TestProgress, 10) If GUICtrlRead($LTE5)=1 Then RUNWAIT($QDir&"NoiseProfilingTool.exe HP_LTE_5_Main.xml run") ;RUNWAIT($QDir&"NoiseProfilingTool.exe HP_LTE_5_Aux.xml run") EndIf GUICtrlSetData($TestProgress, 20) If GUICtrlRead($LTE13)=1 Then RUNWAIT($QDir&"NoiseProfilingTool.exe HP_LTE_13_Main.xml run") ;RUNWAIT($QDir&"NoiseProfilingTool.exe HP_LTE_13_Aux.xml run") EndIf GUICtrlSetData($TestProgress, 5) Link to comment Share on other sites More sharing options...
Danyfirex Posted November 20, 2013 Share Posted November 20, 2013 $TestProgress is the Progress control ID. We can say that your Progress bar can be filled with 100 water glass. so in this case GUICtrlSetData($TestProgress, 10) you are filling with 10 water glass. I hope you understand. sorry for my bad english... saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut 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