I’m attempting to run Firefox in a “kiosk” mode using an addon HideScrollBars and it’s native
full screen mode. This works fine until I send it another page to load via AppleScript.
tell application "Firefox"
open location "http://xxxx.com"
end tell
The page loads fine but takes it out of full screen mode showing all the top menus.
Any way to force it to stay in full screen mode using AppleScript or maybe some other addon
I missed?
tell application "Firefox"
open location "http://www.YOUR-WEBSITE.com"
end tell
delay 1
tell application "Firefox" to activate
tell application "System Events"
tell process "firefox"
perform action "AXPress" of menu "View" of menu bar 1
delay 0.2
perform action "AXPress" of menu item "Enter Full Screen" of menu "View" of menu bar 1
end tell
end tell