How to check if a checkbox button is true or false?
Posted: Fri Jan 06, 2012 2:59 pm
I've create a button as Checkbox and named it 'bTXTDatei'.
On a script of a push button I like to check, if 'bTXTDatei' is True or False like this:
Where is my mistake. How can I check, if the Checkbox is set/true or unset/false?
Best regards from Switzerland
On a script of a push button I like to check, if 'bTXTDatei' is True or False like this:
Code: Select all
on mouseUp
if button "bTXTDatei" is true then -- here is the problem, that is always FALSE
-- use .txt as extension
else
-- use .vcf as extension
end if
end mouseUp
Best regards from Switzerland