• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: New FireFox 1.5 browser -- applescript implementation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: New FireFox 1.5 browser -- applescript implementation (From: jj <email@hidden>)

  • Prev by Date: Re: do shell script "sort" not working
  • Next by Date: RE: Who has that property?
  • Previous by thread: Re: New FireFox 1.5 browser -- applescript implementation
  • Next by thread: Re: New FireFox 1.5 browser -- applescript implementation
  • Index(es):
    • Date
    • Thread