Bill Cheeseman <
email@hidden>
Date: Wed, Jun 29, 2016 at 10:49 AM
To: "ASUL (AppleScript)" <
email@hidden>
Subject: Re: Scripting the Notes app
Yes,
AXConfirm is correct. The reason is that the search field is not a button, although in your script you named its variable 'aButton'. It is in fact a text field, and AXConfirm is equivalent to pressing return in a text field. For me, both AXConfirm and 'click'
work correctly and reliably, and AXClick won't even compile.