Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Arrange Safari and Opera windows via AppleScript' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Arrange Safari and Opera windows via AppleScript
Authored by: philostein on Apr 29, '10 06:51:01PM
Regarding the Opera script bug, I had the same issue moving windows around for lots of different apps. My solution was to double the code - so, for example, in your script:
tell window 2
	set bounds to {scr_width / 2, 0, scr_width, scr_height}
	set bounds to {scr_width / 2, 0, scr_width, scr_height}
end tell
Unfortunately, it would involve changing a lot of code!

Also, when I ran the Safari script from a different space the windows didn't move. Putting a delay 1 after activating Safari solved that.

I like the way the scripts arrange the windows - optimal for any sized monitor.

Cheers, PhilHints.

[ Reply to This | # ]