Can anyone tell me if there’s a way via Applescript to hide the address bar and menu bar in Internet Explorer and Safari?
Hi there,
I think this may help, this is for Safari:-
tell application "Safari" to activate
tell application "System Events"
tell process "Safari"
click menu item " Address Bar" of menu "View" of menu bar 1
end tell
end tell
This should work for you.
Make sure there are 3 spaces in front the ’ Address Bar’ item on the ‘click menu item’ line. If there aren’t you get an error.
I found the ‘UI Element Inspector’ handy for checking this. If you do a search for it you should be able to find a link.
Not sure if someone can help me with a query. How can I tell if the ‘Address Bar’ is visible or not in Safari?
Thanks
Nick
Thanks Jacques, I’ll give it a try.
Regards,
Nick
Hi Jacques,
I’ve given that a try and all I’m getting is False, even with the address bar on?
I’m using Safari 1.3.2, not sure if that makes a difference?
Any help would be appreciated,
Thanks
Nick
Hi Jacques,
Thanks for the reply
I’ll give the new code a try and let you know how I get on.
Yeah, I definitely didn’t have the status bar on.
Thanks again Jacques,
Nick