Jump to content
Sign in to follow this  

Start Firefox @SW_HIDE

Recommended Posts


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

Share this post

Link to post
Share on other sites

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.


check that post and you will find your answers


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.