I'm finally trying to learn appscript, and I thought I'd write a little system monitor that goes around to my various open applications and logs what files/URLs I'm looking at. For Safari, this is easy:
print app('Safari').windows.first.current_tab.URL() but I can't figure out how to get the current URL for Firefox. There's a bug report at https://bugzilla.mozilla.org/show_bug.cgi?id=427448 which seems to show that you can get the URL with the applescript fragment set url to get <<class curl>> of window 1 as text at least for older versions of Firefox. But how do I write "<<class curl>>" in appscript? Bill _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig