Re(2): macosxhints - An AppleScript to email Safari URLs with titles

2003-03-24 Thread Jonathan Greene

Considering you would have to run a script while in PM to hit Safari it
would seem more efficient the other way... just my thought anyway.  You
could probably modify the scripts to work with the already active message
rather than making a new message if this is what you want.  For me, it
seems to be better to add once the URL is there...

-- 
"There is perhaps nothing so bad and so dangerous in life as 
fear."
--Jawaharlal Nehru

on Mon, 24 Mar 2003 11:21:38 -0500 / Christopher Plummer said: 

>On Fri, 21 Mar 2003 13:31:35 -0600, "Wayne Brissette"
><[EMAIL PROTECTED]>, allegedly wrote: 
>
>>http://www.macosxhints.com/article.php?story=20030318202727875#comments
>>
>>So normally I'm all for writing AppleScripts to solve problems. However
>>this is one case where the recent AppleScript to mail a URL from Safari
>>seem crude compared to the javascript solution... (FYI, I used it to send
>>this email).
>
>Thanks again to Wayne and everyone else for all these additions! This one
>is great for originating a new mail from Safari!
>
>I'd like to *start* from a message I'm working on in PM,  "grab" the URL
>of the top window of the default web browser, and paste it at the current
>insertion point of my message. Does anyone have a script that will do that?
>
>Much thanks,
>
>Chris Plummer
>
>===
>** CHRIS'S UNPREDICTABLE and OCCASIONAL Newsletter for Mac Users ** 
>(Not exclusively) For Mac Users in Beautiful Western  Central New Jersey. 
>Published Unpredictably approximately every two weeks!
>Check the UNPREDICTABLE archive - 
>===
>
>
>
>
>




Re(2): macosxhints - An AppleScript to email Safari URLs with titles via Mail

2003-03-22 Thread Jonathan Greene

ah - this is very cool...

I added a Keyboard Maestro command to enable my script, but this actually
is cooler since it can create a message that is open as opposed to saved
in your OutTray.

Here's the code:

javascript:location.href='mailto:?SUB
JECT='+document.title+'&BODY='+escape(location.href) 

Just make a new bookmark in your bookmark bar and then you can trigger
this with whatever Apple+Number coordinates to it.  In my case Apple+2.

--

"An army without culture is a dull-witted army, and a dull-witted army cannot 
defeat the enemy."  Mao Tse-Tung

on Fri, 21 Mar 2003 21:18:47 -0800 / Andy Fragen said: 

>>>http://www.macosxhints.com/article.php?story=20030318202727875#comments
>
>Look farther down the page. The solution Wayne is referring to is the
>javascript one.