• 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
Entourage -- moving message from one folder to another
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Entourage -- moving message from one folder to another


  • Subject: Entourage -- moving message from one folder to another
  • From: Randall Perry <email@hidden>
  • Date: Sat, 12 Nov 2005 14:11:36 -0500
  • Thread-topic: Entourage -- moving message from one folder to another

I've got this code that reports spam from selected messages in my inbox, to
which I just added the 'move' line. I've tried 'move message theItem' and
'move theItem' both of which generate errors.

Rest of the code works fine, but I can't figure out how to move the message
to a different folder.

Any ideas?



tell application "Microsoft Entourage"
    set theItems to selection
    repeat with theItem in the theItems
        if class of theItem is incoming message then
            set x to source of theItem
            make new outgoing message in folder "Outbox" with properties {to
recipients:spamTo, subject:spamSub, content:x}
        end if
        move message theItem to folder "~spam"
    end repeat
    -- send
end tell



--
Randall Perry
sysTame

Xserve Web Hosting/Co-location/Leasing
QuickTime Streaming
Mac Consulting/Sales

http://www.systame.com/



 _______________________________________________
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: Entourage -- moving message from one folder to another
      • From: Jay Louvion <email@hidden>
  • Prev by Date: Re: 10.4.3 changed what?
  • Next by Date: Re: Entourage -- moving message from one folder to another
  • Previous by thread: Re: 10.4.3 changed what?
  • Next by thread: Re: Entourage -- moving message from one folder to another
  • Index(es):
    • Date
    • Thread