Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I was trying to build a button to create a new document that contained a dynamicaly changing table. In the parent notebook i am using another kernel - not the usual "Local". The problem is that in the created document (using CreateDocument command) the kernel that uses seems to be locked at Local giving no results (or errors).

Does enybody knows how the Created Document can use the kernel of the parent notebook ?

Thanks in advance!

share|improve this question
1  
You can set Evaluator option for the new Cells, is this what you need? –  Kuba Sep 14 '13 at 14:21
    
Yes you are right , i suppose you mean something like that : CreateDocument[dynamicexpression, StyleDefinitions -> CurrentValue[EvaluationNotebook[], StyleDefinitions], Evaluator -> "2"] ? But i have to know also the name of the parent notebook's kernel (here i put it "2") –  tchronis Sep 14 '13 at 14:25
1  
I'm not sure why don't you know that name already? How did you set it and name? To find the name you can use Options[EvaluationNotebook[], Evaluator] –  Kuba Sep 14 '13 at 14:28
    
I want to exploit all kernels of my machine with the same library and i don't like the idea of maintaining 4 different versions... Thank you @Kuba –  tchronis Sep 14 '13 at 14:31

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.