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 - The Fusion of Science and Community**

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

Loading...

Similar Threads - Mathematica NotebookEvaluate inside | Date |
---|---|

Mathematica Cannot do the integral of the Hyper-geometric function? | Mar 11, 2018 |

Mathematica Cannot Plot This Function in Mathematica | Feb 26, 2018 |

Mathematica While Loop in Mathematica | Feb 25, 2018 |

Mathematica Mathematica Real Part | Feb 24, 2018 |

Mathematica If statement inside a Do loop | Apr 9, 2017 |

**Physics Forums - The Fusion of Science and Community**