Sign in to follow this  
Followers 0
Alterego

Start Firefox @SW_HIDE

2 posts in this topic

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

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


[u]Old Projects:[/u]A3MORGB2Hex[u]Old Functions:[/u]_TimeAdd/_TimeSub_AddComma_BubbleSort _RippleSort "He who does not understand your silence will probably not understand your words." - Elbert Hubbard.

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