The following creates a button to select a notebook to run. When the button is pressed it seems that Mathematica finds the notebook but cannot evaluate it. The following error occurs
Could not process unknown packet "1"
Button["run file 1",
NotebookEvaluate[
"/../file1.nb"]]
This occurs under Mathematica 8 on all platforms.
Any help greatly appreciated, Christina
Button[..., Method->"Queued"]help? – celtschk May 22 '12 at 17:08Button["run file 1", TracePrint @ NotebookEvaluate[ "/../file1.nb"]]– Mr.Wizard May 22 '12 at 17:10"C:/User/Notebooks/file1.nb"or whatever. – Mr.Wizard May 22 '12 at 17:11Button[..., Method->"Queued"]worked. Many thanks celtschk and @Mr.Wizard – Christina May 22 '12 at 17:26