- #1
ChristinaJ
Gold Member
- 35
- 1
The following creates a button window to select a notebook to run. When a button is pressed Mathematica finds the notebook but cannot evaluate it. The following error occurs
Could not process unknown packet "1"
This occurs under Mathematica 8 on all platforms.
Any help greatly appreciated,
Christina
Could not process unknown packet "1"
Code:
CreateDialog[
DialogNotebook[{Column[{TextCell[
Row[{Style["I would like to ...", FontWeight -> Bold]}],
"Text"],
Row[{Button["run 1",
NotebookEvaluate[
"/../file1.nb"]],
Button["run 2",
NotebookEvaluate[
"/../file2.nb"]],
Button["run 3",
NotebookEvaluate[
"/../file3.nb"]]}], Button["Done", DialogReturn[]]}]}]];
Any help greatly appreciated,
Christina