Re: Safari: getting name of document
Re: Safari: getting name of document
- Subject: Re: Safari: getting name of document
- From: Oz Springs <email@hidden>
- Date: Sat, 30 Aug 2003 17:38:32 +0100
At 11:32 -0400 30/8/03, Rob Jorgensen wrote:
>
>
What happens if you move the FileMaker Developer block outside of the Safari block?
>
>
tell application "Safari"
>
set theURL to URL of the front document
>
set theName to name of front window
>
set theText to text of the front document
>
end tell
>
tell application "FileMaker Developer"
>
set field "gURL" to theURL
>
set field "gName of Source" to theName
>
set field "gText of Source" to theText
>
end tell
>
>
-- Rob
Thanks Rob et Jean-Marie
This works, but what still surprises me is that I did not separate out the blocks in the earlier script and it had worked.
Kind regards
Oz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.