• 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 Scripting GUI
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mail Scripting GUI


  • Subject: Re: Mail Scripting GUI
  • From: John Delacour <email@hidden>
  • Date: Tue, 29 Jul 2003 11:22:51 +0100
  • Mac-eudora-version: 6.0a29

At 4:22 pm +0800 29/7/03, email@hidden wrote:

I have ammended the script but has not tried it. Check if it works. I would like to know too. ;)

What's the point of posting a script you haven't tried?!

Your syntax does not work in my version of Mail. This does -- I've tried it! -- BUT it will only work if the message viewer already contains the messages you want to select, because, like many things in Mail's aete, it's broken.



tell application "Mail"
activate
set ls to messages of mailbox "In" of account 1 whose read status is false
repeat with m in ls
delay 1
set selected messages in message viewer 1 to {m}
end repeat
end tell


JD


.
_______________________________________________
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 Scripting GUI
      • From: Marcus Rodrigues <email@hidden>
References: 
 >Re: Mail Scripting GUI (From: email@hidden)

  • Prev by Date: Re: Mail Scripting GUI
  • Next by Date: Re: Locating A Menu Item
  • Previous by thread: Re: Mail Scripting GUI
  • Next by thread: Re: Mail Scripting GUI
  • Index(es):
    • Date
    • Thread