Display Dialog With one time option

Hello,
I am looking into a way to display a dialog box with a one time check box, such as “do not show again” or “display at launch”
Does anybody as a clue on how to?

Thanks

A good example is from Onix

here : http://preview.tinyurl.com/3g2fruu

AppleScript itself cannot do that.
You can, however, use Pashua to produce a dialog with such a checkbox.

If you want to use AppleScript only you could write a script which runs some of its code only at its first run:

property firstRun : false

if firstRun is false then
	-- your first_time code here
	set firstRun to true
end if

-- always_run code here

You’d have to use something like this with a Pashua script as well.

I’ll take a look at Pashua

Thanks a lot, Really appreciated.