<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>Le 8 août 2013 à 08:01, Damián Avila a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">In this way, I get the a copy of the cell but it is not executable…</span></blockquote><br></div><div><br></div><div>Yes it is, Shift-Enter is just not bound to it. </div><div>Shift-Enter is handled by IPython.notebook and is bound to execute selected cell</div><div><br></div><div>As notebook object does nt know of your cell, you are just sending the execute request to the wrong cell.</div><div><br></div><div>adding this : </div><div><br></div><div>window.ccell = cell;</div><div><br></div><div>and then ccell.execute() in JSconsole works.</div><div><br></div><div>-- </div><div>M</div><br></body></html>