controling option menu in runtime?

Rui Caldas's icon

hello

how can i send a message to controling the options in the window menu in runtime?

i need to auto enable the "all windows active" option!

tkx!

Rui Caldas's icon

ok tkx any way!!!

i alredy find the solution

;
max setoption allwindowsactive 1