• 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: Mail.app script -- please test
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mail.app script -- please test


  • Subject: Re: Mail.app script -- please test
  • From: John Delacour <email@hidden>
  • Date: Sun, 10 Aug 2003 01:58:04 +0100

At 7:39 pm -0500 9/8/03, David Durkee wrote:
John,

The script works for me even with the commented out lines left commented out. Using Mail 1.2.5 on OS X 10.2.6.


OK. Thanks David and Michelle. My version is not even behaving as well as yours, it seems.


However, I'll be really surprised if this works or if any attempt to set the properties at make time succeeds. Please test it:


tell app "Mail"
activate
set _mailboxes to {drafts mailbox}
make message viewer with properties {selected mailboxes:_mailboxes}
end



tell app "Mail"
set _mailboxes to {drafts mailbox}
close the window of every message viewer
set _viewer to make message viewer
(******)
-- id of _viewer -- or ANY property
-- delay 1
(******)
set selected mailboxes of _viewer to _mailboxes
end
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Mail.app script -- please test
      • From: Michelle Steiner <email@hidden>
References: 
 >Re: Mail.app script -- please test (From: David Durkee <email@hidden>)

  • Prev by Date: Mail.app script -- please test
  • Next by Date: Re: Mail.app script -- please test
  • Previous by thread: Re: Mail.app script -- please test
  • Next by thread: Re: Mail.app script -- please test
  • Index(es):
    • Date
    • Thread