Hello group:
I have been having a lot of fun learning the ins and outs of AppleScript. I have found myself tied up with an issue that does not seem to be very well documented, or at least I have failed to find the right answer.
I have been trying to get AppleScript to click on an Alert Window that pops up upon an action.
If you are familiar with Apple Remote Desktop, when you are about to send a command, if ARD defines that sending that command will fail in a few machines, it will pop up a window, saying:
This task will fail.
“XXXXXX” is currently offline
and a “Continue” and “Go back” buttons.
I have tried to get the “Continue” Button pressed by using tab, command-Enter, Option-Enter, Control-Enter, etc… but nothing like that works…
Is there a way to get AppleScript to choose the “Continue Button” ?
I tried getting the Command window to use the
set the bounds of the first window to {20, 20, 400, 600}
so I have a predicted area where this button will appear so I can use cliclick to do it. but no joy…
Any help will be appreciated…
Thanks
HT