Safari のウィンドウを指定のサイズに

移行メモ。とりあえず、ウィンドウが一つのときの AppleScript。

tell application "Safari"
	set target_win to window 1 of application "Safari"
	activate
	set bounds of target_win to {x0, y0, x1, y1}
end tell

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>