CAsba,
this is NOT what Richmond tried to tell you with his example of a "selfmade" dialog!
Maybe you want to take another look at his example!
I presume you are working on Windows, which explains why your script does indeed work out of the box, that is what Jacque told you in her post.
You should really read all of our answers and
ASK if something is not clear enough and you don't understand.
If you don't then we are wasting our time.
Code: Select all
answer question "You have entered the business name as:" ... with "YES" or "NO"
We cannot modify the LC dialog boxes like you tried to do in your example.
Even if we could, your "set the traversalon..." will be executed AFTER the dialog has already been closed again, so we would need to apply our modifactions BEFORE we issue "answer ..."
Code: Select all
answer "whatever..."...
set the traversalon of btn "YES" to true
set the traversalon of btn "NO" to true
The LC ASK and ANSWER dialogs are opened as MODAL, which means everything in the script will stop and wait until the dialogs have closed by clicking OK, CANCEL or any of these buttons in the dialogs.