Re: New FireFox 1.5 browser -- applescript implementation
Re: New FireFox 1.5 browser -- applescript implementation
- Subject: Re: New FireFox 1.5 browser -- applescript implementation
- From: email@hidden
- Date: Tue, 8 Nov 2005 18:45:07 -0500
> Hey! If you could do that, I wouldn't have used the word "basic"!
:) Well, I guess that is what FireFox needs to do. Just a simple do
javascript applecsript command that moves that javascript functionality
from inside Get URL to the outside. Seems very trivial.
On Nov 8, 2005, at 5:14 PM, jj wrote:
You can already do some basic things with AppleScript and Firefox.
Eg: Get URL "javascript:void(alert(document.location.href));"
So how would you use this ability to create a javascript variable and
return its value? : Get URL "javascript: var a ; a=2+3; return (a);" ?
I can't get this to work or to return any javascript expression
result.
Hey! If you could do that, I wouldn't have used the word "basic"!
Could be some tricky way, such as writing your variable to the window's
title, then retrieving via "«class pTit» of window 1".
But I would use one of the browsers supporting a javascript command
(Safari
and OmniWeb, I think).
jj
--
http://www.macscripter.net/
http://www.osaxen.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden