Re: Firefox window title
Re: Firefox window title
- Subject: Re: Firefox window title
- From: Jeffrey Berman <email@hidden>
- Date: Sat, 13 Nov 2004 15:25:12 -0600
On 11/13/04 8:51 PM, michael breidenbruecker <email@hidden> wrote:
> Can anyone help me to get the title from a window in firefox...
>
> http://www.last.fm displays the name of songs that are currently played in
> the title of a little html player window. I am using romeo on my phone to
> control the player (html window) via bluetooth... The only problem i m
> having is how to get the title of the window, to display the song currently
> played...
Michael:
Try the following:
tell application "Firefox" to get «class pTit» of window 1
(In case it does not print correctly on the mailing list, the punctuation
marks before and after "class pTit" should be left and right guillemet
characters, which you get on a Macintosh keyboard with option-\ and
option-shift-\.)
You can see other properties available from a Firefox window with the
command:
tell application "Firefox" to get properties of window 1
-Jeffrey Berman
_______________________________________________
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