i have use the command InsetXMLMenu created a menu and it will invoke a route as follow
proc RotateRefPR { args } {
::TnApp::RotateRef
}
and then
proc ::TnApp::RotateRef {} {
puts "====XXRotateRef_is_tests======="
puts "kkkkkddddd"
}
when i click the menu it show in command window as follow
it seem as the puts content was handed as command,how could solve this problem ?
by the way
when i use command SetOptionBool Journaling TRUE and invoke the menu ,it output the content and command on the same line
how can output them on the different lines ? i have try puts "\n" be the real output content but it doesnt work.