This is what I use. If there is a window, it gets clicked. If there is not, nothing happens.
>The box in question is caused by Quark and is nothing more than a
>warning (missing Xtension) I could do without (if only Quark had put
>something like "never interact" in the dictionary like some
>Adobe apps).
*************************
ignoring application responses
open thisFile do auto picture import no remap fonts no use doc prefs yes
end ignoring
delay 5
tell application "System Events" to keystroke return
**************************
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
This email sent to email@hidden