Differences between revisions 2 and 3
Revision 2 as of 2008-11-15 13:59:38
Size: 186
Editor: localhost
Comment: converted to 1.6 markup
Revision 3 as of 2009-05-21 13:14:12
Size: 186
Editor: 185-238-173-209
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
You can get the current URL of the current window from Camino with the following appscript: You can get the current URL of the current window from Safari with the following appscript:

You can get the current URL of the current window from Safari 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.