Hi Tereza

That explains nothing, but could perhaps be an ad hoc solution (since I cannot 
reproduce the problem, I cannot test it). Try to modify your script as follows:

function YesOrNo pQuestion, pDefaultAnswer
  set the dialogData to empty -- to be sure
  set the Question of stack "AskYesOrNo"  to pQuestion
  set the DefaultAnswer of stack "AskYesOrNo" to pDefaultAnswer
  modal "AskYesOrNo"
  wait until the dialogData <> empty    
  return the dialogData
end YesOrNo

... I cross my fingers

Jacques

******************************************
Prof. Jacques Hausser
Department of Ecology and Evolution
Biophore / Sorge
University of Lausanne
CH 1015 Lausanne
please use my private address:
6 route de Burtigny
CH-1269 Bassins
tel/fax:        ++ 41 22 366 19 40
mobile: ++ 41 79 757 05 24
E-Mail: [email protected]
*******************************************

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to