My wandering through AppleScript continues... Trying to send the active
URL in Safari as a new message...
tell application "Safari" to set theSubject to name of document 1
tell application "Safari" to set theContent to URL of document 1
tell application "PowerMail" to make new message with properties
{subject:"theSubject", content:"theContent"}
display dialog " message ready"
I am successfully creating a new message though closed in my OutTray.
The subject and content are literally being created as theSubject and
theContent as opposed to Web Page Name / URL
Anyone know how to fix this? I would prefer that the message window be
open, not closed and that (obviously) that the correct info be placed in
subject and content fields.
Thanks,
JG
--
"It is undesirable to believe a proposition when
there is no ground whatever for supposing it true."
-- Bertrand Russell