Command line options for Safari
I have a script that opens a Safari window by doing essentially the following:
open -a safari http://www.apple.com
According to the man page for open, I can add more args to this that would get picked up by Safari, as follows. Of course the man page for open can't indicate what such args might be or even if Safari pays any attention to them:
open -a safari http://www.apple.com --args arg1 arg2 ...
Are there any such args one can usefully pass to Safari in this way? Specifically, I'd like the command to be able to control the size of the window that is opened, perhaps as follows:
open -a safari http://www.apple.com --args h=300 w=400
Thanks.
open -a safari http://www.apple.com
According to the man page for open, I can add more args to this that would get picked up by Safari, as follows. Of course the man page for open can't indicate what such args might be or even if Safari pays any attention to them:
open -a safari http://www.apple.com --args arg1 arg2 ...
Are there any such args one can usefully pass to Safari in this way? Specifically, I'd like the command to be able to control the size of the window that is opened, perhaps as follows:
open -a safari http://www.apple.com --args h=300 w=400
Thanks.
Mac Mini Core 2 Duo 1.8GHz, Mac OS X (10.6.6)