Misschien vind je het handig om je te abonneren op de frEdSCAPEs RSS feed
de nieuwste posts.
Soms is er wel eens een feature in Windows waar Macademici jaloers op zijn. Zo ontbreekt het maximize-window commando/knopje. Vooral bij Safari heb ik daar zo af en toe behoefte aan.
Gelukkig is daar wat aan te doen
Sla de volgende AppleScript code als “Set SafariWindow Full Screen.scpt” (of een andere naam naar eigen keuze) op in de map ~/Library/Scripts/Safari Scripts/
tell application “Finder” to get the bounds of the window of the desktop
tell application “Safari”
set the bounds of the front window to {0, 22, (3rd item of theresult), (4th item of the result)}
set zoomed of front window to true
end tell
Klik het Script icoon in de menubalk en ga naar Safari Scripts > Set SafariWindow Full Screen en klaar is Kees.

N.B. Mocht er in de menubalk geen Script icoon zichtbaar zijn, zet die dan aan met behulp van de AppleScript Utility.



Posts



Je kunt ook het volgende javascript opnemen als adres van een bookmark:
javascript:self.moveTo(0,0);self.resizeTo(screen.availWidth,screen.availHeight);
Via een item op de bookmarkbar kan ik nu door een muisklik het scherm maximaliseren
Dank voor je tip Hans!