• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Apple Mail column widths change every day
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apple Mail column widths change every day


  • Subject: Re: Apple Mail column widths change every day
  • From: "Luther B. Fuller" <email@hidden>
  • Date: Mon, 21 May 2018 08:36:23 -0500

On May 20, 2018, at 4:45 PM, Robert Poland wrote:

> Columns From, Date Received, Subject, Mailbox…
> Has anyone tried to control the column widths in the classic view of Apple
> Mail?
> Is there a fix?

Here's some scripting I use with Mail ...

>       tell application "Mail"
>               activate
>               try
>                       set frontViewer to (some message viewer whose index is
> 1)
>               on error
>                       error "A message viewer window must be open and
> frontmost in Mail."
>               end try
>               visible columns of frontViewer
>               if {date sent column} is not in the result then
>                       set visible columns of frontViewer to (the result &
> {date sent column})
>               end if
>               set sort column of frontViewer to date sent column
>               set sorted ascending of frontViewer to false
>               --
>               set updatePrefs to false
>               set acntList to accounts as list
>               repeat with anAcnt in acntList
>                       if not (move deleted messages to trash of anAcnt) then
> set updatePrefs to true
>                       if (empty trash frequency of anAcnt) ≠ -1 then set
> updatePrefs to true
>                       if (empty sent messages frequency of anAcnt) ≠ -1 then
> set updatePrefs to true
>                       if updatePrefs then exit repeat
>               end repeat
>               if not updatePrefs then return -- the mailbox behaviors are
> correct and do not need to be changed
>               --
>               set acntNameList to name of accounts as list
>               quit
>       end tell


I have not tried to change the column widths in Mail, but you can try you insert
such a command and see if it works. It may be similar to a Finder column
width command ...

        tell application "Finder"
                ...
                                set width of column name column of list view
options of winRef to 300

Hope this helps.






 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Apple Mail column widths change every day
      • From: Robert Poland <email@hidden>
References: 
 >Apple Mail column widths change every day (From: Robert Poland <email@hidden>)

  • Prev by Date: PDF Watermark Issue
  • Next by Date: Re: PDF Watermark Issue
  • Previous by thread: Apple Mail column widths change every day
  • Next by thread: Re: Apple Mail column widths change every day
  • Index(es):
    • Date
    • Thread