Posted: Wed Mar 11, 2009 11:00 pm
I was trying "window 1", "front window" and couldn't get it to work.
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
Code: Select all
tell application "Safari"
set myURL to URL of front window
set myURL to the result
end tellI 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