URL aus vorderstem Firefox-Tab/Fenster

infach

infach

Aktives Mitglied
Thread Starter
Dabei seit
30.11.2005
Beiträge
185
Reaktionspunkte
1
Hi,
ich will gerne die URL des aktiven Firefox-Tabs/Fenster in Appleskript bekommen - ich weiss, dass Firefox das eigentlich nicht unterstützt, aber
Code:
tell application "Firefox"
	set myFirefox to properties of front window
end tell
gibt:
Code:
{«class pObT»:window, «class pTit»:"MacUser.de community!", «class curl»:"https://www.macuser.de/forum/index.php?", index:1, bounds:{0, 44, 881, 768}, «class pLcn»:{0, 44}, closeable:true, titled:true, modal:false, resizable:false, zoomable:true, zoomed:true, «class pNMo»:true, «class pMMo»:false, floating:false, visible:true}
zurück, und da ist die URL enthalten - nur da ich keine Ahnung von AppleSkript habe, weiss ich nicht, wie ich sie da raus bekomme :D Kann mir jemand helfen?
iNfach.
 
tell application "Firefox" to set myFirefox to curl of front window
 
Tausend Dank, das funktioniert :)
Kannst du kurz erklären was ich da eigentlich mache? Properties? Curl? Oder wo ich Infos dazu finde. Meine Applescript Praxis besteht ausschliesslich aus Cut&Paste - wobei ich fast immer ans Ziel komme :D
 
Zurück
Oben Unten