Am I nuts or does BBEdit use the MetaCard engine for it's
scripting language? If anyone owns a copy, take a look at pg
255 for their example on how to add a confirmation to the quit
command.
on menuselect(menuname, itemname)
if menuname = "File" and itemName = "Quit" then
display dialog "Are you sure you wish to Quit?" �
button {"Yes", "No"} default button {No"}
if the button returned of the result is "No" then
return true
else
return false
end if
end if
end menuSelect
That looks a lot like an XTalk language to me...
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.