Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'An AppleScript to email Safari URLs with titles via Mail' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
An AppleScript to email Safari URLs with titles via Mail
Authored by: lrosenstein on Aug 13, '03 06:04:55PM

You can also get the document title with JavaScript:

tell application "Safari"
set doc to a reference to document 1
set page_title to do JavaScript "document.title" in doc
end tell

The same goes for the selected text (using "getSelection()"), which is what I like to do.



[ Reply to This | # ]