On Jan 23, 2012, at 2:31 AM, Emmanuel LEVY wrote:
There was once a clause in AppleScript about allowing user interaction or not, I suppose you confirm it's no use here?
Yesterday, I modified my report to show this ...
ignoring application responses
-- ignores a Fix/Delete Alias dialog,
-- but does not ignore the password dialog
-- for an encrypted disk image file.
open aliasFileAlias
-- If the original item is on an image disk,
-- the image disk is mounted
-- and the window of the original item is opened.
-- If this fails, no error is passed to this script,
-- but the Fix/Delete dialog appears in the Finder.
end ignoring
Interaction with the password Dialog is necessary, here. The problem is the Fix/Delete Dialog.
I also discovered that you can't 'activate' the Finder to show the Fix/Delete Dialog (in case it's hidden behind some windows) because the Finder is 'busy' displaying the Fix/Delete Dialog.