• 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
Rep : Mail scripting…
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Rep : Mail scripting…


  • Subject: Rep : Mail scripting…
  • From: awaw <email@hidden>
  • Date: Mon, 31 Mar 2008 11:48:33 +0200

Let me show your post to the others… (CC: ...)

Thanks once more.
_______

Début du message réexpédié :
Thanks for this example which is running also in my context.
It's a new basis to continue my learning…

Gérard

Le 31 mars 08 à 10:12, Philip Aker a écrit :
On 08-03-27, at 02:59, awaw wrote:

I notice also some strange "things" with Mail.
For example :
In my Mail application (v 3.2), I have organized my mail boxes (folders -"mailbox" for Mail- where my rules extract messages) and I have some sub-folders in them in accordance to the domain.
It's impossible in scripts to access to that sub-folders.

tell application "Mail"
activate
set mbox to "nubian/scripting"
set sel to missing value
tell mailbox mbox
set msgs to every message whose read status is false
if ((count of msgs) is greater than 0) then set sel to item 1 of msgs
end tell
if (exists sel) then open sel
end tell


Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@



 _______________________________________________
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

  • Prev by Date: Re: Mail scripting…
  • Next by Date: Re: Mail rule applescript and displaying alert
  • Previous by thread: Re: Running a script from a function key
  • Next by thread: Outline View in AppleScript Stuido
  • Index(es):
    • Date
    • Thread