Re: Weird choose from list behaviour
Re: Weird choose from list behaviour
- Subject: Re: Weird choose from list behaviour
- From: Axel Luttgens <email@hidden>
- Date: Tue, 13 Nov 2012 14:12:18 +0100
Le 13 nov. 2012 à 13:00, Brian Christmas <email@hidden> a écrit :
> G'day scripters.
>
> Have I missed out on seeing reports of a problem with the 'Choose from list' command?
>
> I've never had to use it before, but the following works when trying to quit with the Cancel button, until I actually choose an item from the list, then it fails to quit, instead going to the part of the script following the 'else' statement, and uses the first item of the list. It says 'false' but refuses to acknowledge 'false' exists.
>
> Any advice on what I'm doing wrong please?
>
> Regards
>
> Santa
>
> [a script here]
Hello Brian,
I don't understand exactly your description of the issue you are encountering.
So, if you allow, considering this very simplified of your script:
set theAnswer to choose from list {"One", "Two", "Three"}
if theAnswer as text is "false" then
quit me
else
beep 1
end if
could you restate the issue?
TIA,
Axel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden