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(adsbygoogle = window.adsbygoogle || []).push({});

Could not process unknown packet "1"

This occurs under Mathematica 8 on all platforms.Code (Text):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

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Mathematica; NotebookEvaluate inside CreateDialog

**Physics Forums | Science Articles, Homework Help, Discussion**