lsakizada Posted June 22, 2009 Posted June 22, 2009 I have a script that doing search with the bellow RunWait command. when this command is running, I want to run splash screen or progress bar to show that the application is busy. Do you have any idea what can I do here? I do not care the method (not only splash or progress )but just to show that the application is busy in a decent way. RunWait(@ComSpec & ' /c ' & 'dir "' & "c:\" & "*" & '" ' & 0 & ' /b' & 1 & ' > "' & "" & '"', '', @SW_HIDE) Be Green Now or Never (BGNN)!
nguyenbason Posted June 22, 2009 Posted June 22, 2009 Get a loading avi from internet and: $AviWait = GuiCtrlCreateAvi("aviname.avi","1",$x,$y,$w,$h) GuiCtrlSetState($AviWait,1) RunWait(@ComSpec & ' /c ' & 'dir "' & "c:\" & "*" & '" ' & 0 & ' /b' & 1 & ' > "' & "" & '"', '', @SW_HIDE) GuiCtrlDelete($AviWait) Display a loading avi while the command is running. After it finished delete the avi UnderWorldVN- Just play the way you like it
lsakizada Posted June 22, 2009 Author Posted June 22, 2009 Get a loading avi from internet and: $AviWait = GuiCtrlCreateAvi("aviname.avi","1",$x,$y,$w,$h) GuiCtrlSetState($AviWait,1) RunWait(@ComSpec & ' /c ' & 'dir "' & "c:\" & "*" & '" ' & 0 & ' /b' & 1 & ' > "' & "" & '"', '', @SW_HIDE) GuiCtrlDelete($AviWait) Display a loading avi while the command is running. After it finished delete the avi Thanks nguyenbason, I am checking it now. I think this will work for me. I will try to embed it into task bar. Be Green Now or Never (BGNN)!
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