Jump to content

Recommended Posts

Posted

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)!

Posted

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)!

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...