Sign in to follow this  
Followers 0
bestan

bitcomet with @sw_hide flag

2 posts in this topic

i cannot start bitcomet.exe hidden, by the following script. it starts normally. maximize minimize wont work either :

Run ("C:\bitcomet\bitcomet.exe", "", @SW_HIDE)

when i change it this way;

Run ("C:\bitcomet\bitcomet.exe")
Winwait("BitComet")
WinSetState("Bitcomet","",@SW_HIDE)

it does work but the window still appears a couple of seconds. i set the winwaitdelay opt to 1 but nothing changed.

is there a way to start it completely hidden?

Share this post


Link to post
Share on other sites



Some executables will accept the Run() optional flag, then some will not. This is a decision for the executable, not AutoIt.

Consider if possible to use WinMove(), to move the installer off screen if wanting unseen install, then use Control*() functions on the controls.

The 1st window shown would be unavoidable.

:D

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  
Followers 0