Firefox 45.0.1 fullscreen

Hi

I used to be able to set Firefox to full screen, then close it using Alt+F4
and when FF was restarted it would open in fullscreen

This no longer works with the current version

I found the followinf script to obtain the same result :
set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "firefox"
WScript.Sleep 2000
WshShell.AppActivate "firefox"
WScript.Sleep 100
WshShell.SendKeys "{F11}"
WScript.Sleep 500

Open in new window

...but it doesn't seem to work on all machines

Any other solutions or tips ?

thanks
yann
Yann ShukorOwnerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
start /max firefox.exe

Open in new window

as .cmd batch should work.
Yann ShukorOwnerAuthor Commented:
Thanks Qlemo

unfortunately all that does is open a Windows Explorer window
Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
??? They "allowed" choices are: Doesn't open anything, opens a DOS prompt, or runs FireFox. But I cannot imagine why it should open Explorer.
I assume you proivded a path, and used double quotes surrounding the path. Try
start /max "Title" "C:\Path\To\firefox.exe"

Open in new window

Your Guide to Achieving IT Business Success

The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.

Yann ShukorOwnerAuthor Commented:
Well, I got it to work, but the result isn't full screen as in F11 full screen
Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
Cross-checked with my Firefox, and it is the same. F11 switches into Fullscreen Mode, which is nothing else than to maximize the window. However, Firefox remembers the last state, and restores that. So if you press F11, close Firefox, restart Firefox, it should be in Fullscreen Mode.
Yann ShukorOwnerAuthor Commented:
Exactly my problem
FF doesn't 'remember' the previous state in versions 44 and 45
Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
Correction: F11 is kiosk mode, different from maximized ... FF 44 keeps the max., but not kiosk mode.
Looks like you need an FF extension to start / switch into kiosk mode ...

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Yann ShukorOwnerAuthor Commented:
Not solved
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Browsers

From novice to tech pro — start learning today.