Jump to content
Sign in to follow this  
lsakizada

What method to display 'Busy' with RunWait

Recommended Posts

lsakizada

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

Share this post


Link to post
Share on other sites
nguyenbason

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

Share this post


Link to post
Share on other sites
lsakizada

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

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.