Open PDF in full screen from the command line
I've found a way. Does anyone know a simpler way?
tell application "Preview"
activate
end tell
tell application "System Events"
key down {command}
key down {shift}
keystroke "f"
key up {shift}
key up {command}
end tell
I wish I could do simply "osascript -e 'application "Preview" to fullscreen'
.