tell application "FileMaker Pro"
activate
set nw to get count of windows
open file "Macintosh HD:Users:yvankoenig:Desktop:base Expo.fp7"
repeat
if (get count of windows) > nw then exit repeat (*
exit the loop when the doc's window is open *)
end repeat
display dialog "The window is open"
end tell
Yvan KOENIG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users