Code: Select all
tell application "Safari"
set myURL to URL of front window
set myURL to the result
end tell
I had a similar problem persuading Filemaker Pro 8.5 to import emails using an Applescript that worked fine in Filemaker Pro 6. Oddly it continued to work in the converted .fp7 file until I edited something else in the script.
Cheers
Phil