Differences between revisions 1 and 2
Revision 1 as of 2008-06-19 19:32:12
Size: 186
Editor: hwvpn-janssen86
Comment: describe how to use appscript to get the current Safari URL
Revision 2 as of 2008-11-15 13:59:38
Size: 186
Editor: localhost
Comment: converted to 1.6 markup
No differences found!

You can get the current URL of the current window from Camino with the following appscript:

import appscript
print appscript.app("Safari").windows.first.current_tab.URL()

MacPython/Safari (last edited 2009-05-21 13:14:12 by 185-238-173-209)

Unable to edit the page? See the FrontPage for instructions.