Page 2 of 2

Posted: Wed Mar 11, 2009 11:00 pm
by Philhold
I was trying "window 1", "front window" and couldn't get it to work.

Code: Select all

tell application "Safari"
	set myURL to URL of front window
	set myURL to the result
end tell
I wonder when it became "document 1".

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

Posted: Wed Mar 11, 2009 11:11 pm
by gyroscope
I wonder when it became "document 1".
Perhaps post Rev2.8 or2.9? Still, it works, that's the main thing!

:)