AppleScript for new window placement

12 views
Skip to first unread message

zeon

unread,
Nov 23, 2011, 4:21:46 AM11/23/11
to Mailsmith Talk
Can anyone help with an applescript for placing a new message window
in the middle of a screen?

For some reason Mailsmith has decided to open every new message window
at the far left and the full length of my screen. I cannot find the
command to put it back to where it used to be.

Thanks for any help.

zeon

unread,
Nov 23, 2011, 8:34:50 AM11/23/11
to Mailsmith Talk
Well, I can answer my own question:

tell application "Mailsmith"
set bounds of front window to {867, 404, 1671, 1123}
end tell

and I have added this line to my stationery scripts.

(slowly learning AppleScript... but still wondering why Mailsmith
changed the window position)

Rich Siegel

unread,
Nov 23, 2011, 10:17:32 AM11/23/11
to mailsmi...@googlegroups.com
On Wednesday, November 23, 2011, zeon <zeon.ma...@123mail.org> wrote:

> For some reason Mailsmith has decided to open every new message window
> at the far left and the full length of my screen. I cannot find the
> command to put it back to where it used to be.

Window -> Save Default Window

R.
--
Rich Siegel Mailsmith Maintainer
<sie...@mailsmith.org> <http://www.mailsmith.org/>

Jason Davies

unread,
Nov 25, 2011, 5:10:54 AM11/25/11
to mailsmi...@googlegroups.com
Used to be that if you open a window, move it, close, it remembered where it was as the default. But I am a lurker as IMAP is unavoidable in my work so perhaps it has changed?

Sent from my iPad

> --
> You received this message because you are subscribed to the Google Groups "Mailsmith Talk" group.
> To post to this group, send email to mailsmi...@googlegroups.com.
> To unsubscribe from this group, send email to mailsmith-tal...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/mailsmith-talk?hl=en.
>

Zeon

unread,
Nov 25, 2011, 5:33:44 AM11/25/11
to mailsmi...@googlegroups.com
You are right. Rich Siegel pointed me in the right direction a
couple of days ago (for which belated thx Rich)

Zeon

unread,
Nov 25, 2011, 6:34:18 AM11/25/11
to mailsmi...@googlegroups.com
Thanks (belatedly) Rich
Reply all
Reply to author
Forward
0 new messages