• 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: How do you get iCal to run an Applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do you get iCal to run an Applescript


  • Subject: Re: How do you get iCal to run an Applescript
  • From: Brian <email@hidden>
  • Date: Wed, 13 Jul 2005 18:33:43 +0200


Le 12 juil. 05 à 18:43, Michelle Steiner a écrit :

While I'm at it, the following script worked in Panther, but not in Tiger:


tell application "Mail"

    if (count of (messages of sent mailbox)) is greater than 0 then

        move messages of sent mailbox to the trash mailbox

    end if

end tell



Hello again,

It's looks like a little bug, this work : 

tell application "Mail"
    if (count of (messages of sent mailbox)) is greater than 0 then
        move (messages of sent mailbox) to mailbox "Trash"
    end if
end tell

It's seem to not "mistaking" with the IMAP trashes (All messages go to the "On my Mac"'s trash).

Brian

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How do you get iCal to run an Applescript
      • From: Michelle Steiner <email@hidden>
References: 
 >Re: How do you get iCal to run an Applescript (From: Matt Neuburg <email@hidden>)
 >Re: How do you get iCal to run an Applescript (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: osacompile decompile
  • Next by Date: Re: Q: 10.4.2 "Do Shell Script" revision & passwords
  • Previous by thread: Re: How do you get iCal to run an Applescript
  • Next by thread: Re: How do you get iCal to run an Applescript
  • Index(es):
    • Date
    • Thread