_______________________________________________ lively-kernel mailing list [hidden email] http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel |
Hi Re 1: I think the functions on the world may just not be serialized usually, but it works for me if you do $world.addScript(function onFocus(evt) { alertOK("World focus") if (!this.isFocusable()) { this.blur(); return }; lively.morphic.Morph.prototype._focusedMorph = this; }) Re 2: The Shortcuts documentation says you can add links with CMD+K Re 3: I did that once for PartsBin screenshots. This issue describes how it can be done: https://github.com/LivelyKernel/LivelyKernel/issues/248 Hope that helps, Tim
_______________________________________________ lively-kernel mailing list [hidden email] http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel |
Only just realized that Robert put a module in for 3 some time ago: https://github.com/LivelyKernel/LivelyKernel/commit/31870348b9c1b5450294b4658fef142c44fd1988 It seems you should be able to just use lively.morphic.Preview.renderMorphToNewImage(morph, {}, callback) From: [hidden email] Sent: Monday, May 26, 2014 9:27 AM To: [hidden email], [hidden email] Hi Re 1: I think the functions on the world may just not be serialized usually, but it works for me if you do $world.addScript(function onFocus(evt) { alertOK("World focus") if (!this.isFocusable()) { this.blur(); return }; lively.morphic.Morph.prototype._focusedMorph = this; }) Re 2: The Shortcuts documentation says you can add links with CMD+K Re 3: I did that once for PartsBin screenshots. This issue describes how it can be done: https://github.com/LivelyKernel/LivelyKernel/issues/248 Hope that helps, Tim
_______________________________________________ lively-kernel mailing list [hidden email] http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel |
Tim, Many thanks. -- Rick On Mon, May 26, 2014 at 12:39 AM, <[hidden email]> wrote:
_______________________________________________ lively-kernel mailing list [hidden email] http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel |
Free forum by Nabble | Edit this page |