Firefox 45.0.1 fullscreen

Yann Shukor
Yann Shukor used Ask the Experts™
on
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
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Qlemo"Batchelor", Developer and EE Topic Advisor
Top Expert 2015

Commented:
start /max firefox.exe

Open in new window

as .cmd batch should work.

Author

Commented:
Thanks Qlemo

unfortunately all that does is open a Windows Explorer window
Qlemo"Batchelor", Developer and EE Topic Advisor
Top Expert 2015

Commented:
??? 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

Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Author

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 Advisor
Top Expert 2015

Commented:
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.

Author

Commented:
Exactly my problem
FF doesn't 'remember' the previous state in versions 44 and 45
"Batchelor", Developer and EE Topic Advisor
Top Expert 2015
Commented:
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 ...

Author

Commented:
Not solved

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial