"Create Task From Message" Script Not Populating Body - CanSomeone Help?

P

Prometheus

The script ³Create Task From Message² is not populating the body of the task
form with the contents of the message. I have pasted the script below. Being
as ignorant about AppleScript as they come, I don¹t know what or where to
modify.

(I am using Entourage 2004, OS X 10.3.5, on a PowerBook 1.5.)

Help would be much appreciated.
(*
Create task from Message

Copyright (c) Microsoft Corporation. All rights reserved.
*)

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
end repeat

-- if there was only one message selected, then open that new task
if (count of selectedMessages) = 1 then open newTask
end tell
 
P

Prometheus

The ³Create Event From Message²² and ³Create Note From Message² scripts I
have DO populate the body.
 
B

Barry Wainwright

The script ³Create Task From Message² is not populating the body of the task
form with the contents of the message. I have pasted the script below. Being
as ignorant about AppleScript as they come, I don¹t know what or where to
modify.

(I am using Entourage 2004, OS X 10.3.5, on a PowerBook 1.5.)

Help would be much appreciated.

Is it possible that this is a problem with messages that you have already
edited? If so, can you try again with an unedited message and see if that
works.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top