• 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: jj <email@hidden>
  • Date: Tue, 08 Nov 2005 23:14:24 +0100
  • Thread-topic: New FireFox 1.5 browser -- applescript implementation

>>> 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

  • Follow-Ups:
    • Re: New FireFox 1.5 browser -- applescript implementation
      • From: email@hidden
References: 
 >Re: New FireFox 1.5 browser -- applescript implementation (From: email@hidden)

  • Prev by Date: Unknown reason for applciation crash
  • Next by Date: Re: Adding additional headers to new outgoing Mail message?
  • 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