Jump to content
Sign in to follow this  
bestan

bitcomet with @sw_hide flag

Recommended Posts

bestan

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
MHz

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  

×

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.