Jump to content
Sign in to follow this  
Alterego

Start Firefox @SW_HIDE

Recommended Posts

Alterego

does this line of code start firefox in a hidden state for anyone?

Run(@ProgramFilesDir & "\Mozilla Firefox\firefox.exe",@WorkingDir,@SW_HIDE)

It just launches normally for me. This works, though:

$title = WinGetTitle('Firefox')
WinSetState($title,'',@SW_HIDE)

Share this post


Link to post
Share on other sites
buzz44

this was in another post, i think valik said it best

Explorer doesn't honor the SW_MINIMIZE flag. There is no guarantee that any program will actually honor the flag. It is simply a hint that "I would like to start this program in this state if I can". Its up to each individual program as to whether or not it wants to honor it.

http://www.autoitscript.com/forum/index.ph...wtopic=9160&hl=

check that post and you will find your answers


qq

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  

×