Title: Script help
To make my Visor even cooler, I have tried to create a script using the 'Create Note from Message' to make a script that would take notes in a certain category (’Mail Out’) and create a message from that, but I am not too hot in AppleScript programming can anybody help me?
Also any suggestions to how you could have the email address in the note, and get the script to pick it up and put it as the sender?
TIA
Nicolai
tell application "Microsoft Entourage"
--checks that note hasn’t been send already
select (every note whose category is "Mail Out" and (link of note) is []) <--don’t know if this is correct?
set selectedNotes to current notes <-- for some reason this wouldn’t compile?
repeat with theNote in selectedNotes
-- get the information from the note, and store it in variables
set theSubject to name of theNote
set theCategory to category of theNote
set theContent to content of theNote
-- create a new message with the information from the note
set newMessage to make new message with properties {subject:theSubject, category:theCategory, content:theContent}
-- create a link between the message and the new note
link theNote to newMessage
-- Opens message(s) so you can enter an email address
open newMessage
end repeat
end tell
--
Read more about me on http://www.amter.com/
About my latest film http://www.avatar-movie.com/
- Script help please Nicolai Amter
- Script help please John M Young
- Re: Script help please Allen Watson
