On 27-11-2002 19:00, "Allen Watson" <[EMAIL PROTECTED]> wrote:
> I believe there is a script, "Create Task from Message", that comes with
> Entourage. Look in your scripts menu, or on the MacTopia web site if it isn't
> already on your system. It creates a task with the message content as a note
> in the task. It does not flag the message, but it could be easily adapted to
> do so by adding a single line to set the flagged status, for example:
>
> tell application "Microsoft Entourage"
>
> -- get the currently selected message or messages
> set selectedMessages to current messages
>
> -- if there are no messages selected, warn the user and then quit
> if selectedMessages is {} then
> display dialog "Please select a message first and then run this script."
> with icon 1
> return
> end if
>
> repeat with theMessage in selectedMessages
>
> -- get the information from the message, and store it in variables
> set theName to subject of theMessage
> set theCategory to category of theMessage
> set thePriority to priority of theMessage
> set thecontent to content of theMessage
>
> -- create a new task with the information from the message
> set newTask to make new task with properties {name:theName,
> content:thecontent, category:theCategory, priority:thePriority}
>
> -- create a link between the message and the new task
> link theMessage to newTask
> set flagged of theMessage to true
> end repeat
>
> -- if there was only one message selected, then open that new task
> if (count of selectedMessages) = 1 then open newTask
> end tell
> --
> Microsoft MVP for Entourage/OE/Word (MVPs are volunteers)
> Allen Watson <[EMAIL PROTECTED]> Entourage FAQ site:
> <http://www.entourage.mvps.org/> <http://www.entourage.mvps.org/>
> AppleScripts for Outlook Express and Entourage:
> <http:[EMAIL PROTECTED]/Scripts/>
> <http:[EMAIL PROTECTED]/Scripts/>
> Entourage Help Pages: <http://www.entourage.mvps.org/>
> <http://www.entourage.mvps.org/>
Alright Allen, thanks for your help!
I wanna know if I understand your script correctly: the script puts the text
of the email message in the "notes"-part of the task?
If this is so, I probably wasn't precise enough in describing what I'd
really want... What I'd *really* want is that the reminder shows whatever
text I type in the "notes"-part of the 'follow-up' window.
-- Paul van den Hooven (OSX10.2.2, Office vX10.1.1)
--
To unsubscribe:
<mailto:[EMAIL PROTECTED]>
archives:
<http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/>
old-archive:
<http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>