• 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: Marcus Rodrigues <email@hidden>
  • Date: Tue, 29 Jul 2003 10:50:47 -0300

OK, but where the script is stopping is in the save attachments part, the select unread part, as well as the print part works fine..

Any clue?

Thx =-)


On Tuesday, July 29, 2003, at 07:22 AM, John Delacour wrote:

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.


o#? Marcus Rodrigues o#?
iBook 600 - Combo - Jaguar
CC4nsul do Brasil Apple Clube - Caxias do Sul
ichat: marcusrodrigues
mailto:email@hidden
http://homepage.mac.com/marcusrodrigues
_______________________________________________
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.

References: 
 >Re: Mail Scripting GUI (From: John Delacour <email@hidden>)

  • Prev by Date: Keep lines
  • Next by Date: Finder Scripting: Looking inside packages
  • Previous by thread: Re: Mail Scripting GUI
  • Next by thread: pppd (was Re: Locating A Menu Item)
  • Index(es):
    • Date
    • Thread