SubFlow Posted August 19, 2019 Posted August 19, 2019 Hi, I tried to make a progressbar with metro gui and that don't work at all can someone help me ? Func emulator() If _Metro_CheckboxIsChecked($Checkbox1) Then ElseIf _Metro_CheckboxIsChecked($Checkbox2) Then $emulator_link = 'http://d1khghy4erd2oa.cloudfront.net/ndp-32wkjr6zn/Memu-Installer.exe' EndIf $Download = InetGet($emulator_link,@ScriptDir & "\temp\emulator.exe") $File_Size = InetGetInfo($emulator_link,1) $Current_Size = InetGetInfo($Download,0) _Metro_SetProgress($Progress1,$Current_Size / $File_Size * 100) MsgBox(0,'',$Download & " | " & $File_Size & " | " & $Current_Size / $File_Size * 100 ) EndFunc
SubFlow Posted August 19, 2019 Author Posted August 19, 2019 Oups wrong code Func emulator() If _Metro_CheckboxIsChecked($Checkbox1) Then ElseIf _Metro_CheckboxIsChecked($Checkbox2) Then $emulator_link = 'http://d1khghy4erd2oa.cloudfront.net/ndp-32wkjr6zn/Memu-Installer.exe' EndIf $Download = InetGet($emulator_link,@ScriptDir & "\temp\emulator.exe") $File_Size = InetGetInfo($emulator_link,1) While Not InetGetInfo($Download,2) $Current_Size = InetGetInfo($Download,0) _Metro_SetProgress($Progress1,$Current_Size / $File_Size * 100) WEnd EndFunc
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