Hello
Using Hazel for the first time to watch folders and send out an email notification when a file arrives in the folder.
What do I need in my Applescript Example below to have the Filename show up in the subject line?
Thanks in advance for any help.
tell application "Mail"
set theNewMessage to make new outgoing message with properties {subject:"Hello from your Mac!", content:"You got a new file in your Downloads folder, girl!", visible:true}
tell theNewMessage
make new to recipient at end of to recipients with properties {address:"EMAILADDRESS@EMAIL.COM"}
send
end tell
end tell