> Does anyone know of a script that can do this? I'd like to start with text
> selected in a Safari window, and create a new note in Entourage, if possible
> with the URL in the note.
Kirk,
Safari's AppleScript dictionary doesn't seem to support "the selection" to
grab just highlighted text. If you don't object to copying the selection to
the clipboard, something like the following would work:
-----
tell application "Safari" to set theURL to URL of document of window 1
set noteBody to theURL & return & return & (the clipboard)
set noteName to text returned of (display dialog "Enter a name for the new
note..." default answer "Web clipping")
tell application "Microsoft Entourage" to make new note with properties
{name:noteName, content:noteBody}
-----
HTH,
Bill
--
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/>