Jump to content

bitcomet with @sw_hide flag


Recommended Posts

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?

Link to comment
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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...