[twdev] Re: [TW5] TiddlyWiki as an Application Platform for a Powershell GUI/IDE

2016-10-16 Thread Marc J. Cawood
Thanks Jeremy. I'm looking at using the `child_process` module but I don't see any node_modules/ folder in TW Desktop. Could you give me a leg up on how to import a module? Bonus Question: If you could hack a small plugin which shows a button which execs say `ls` and returns (alerts) the

Re: [twdev] [TW5] TiddlyWiki as an Application Platform for a Powershell GUI/IDE

2016-10-16 Thread Jeremy Ruston
Hi Marc > I could use NW.js but then I'd have to build my own UI. My thinking is: > could/should I use TW5 Desktop? If you wish to build a native app based on TiddlyWiki then TiddlyDesktop might be a reasonable place to start. Alternately, you could consider just adding the enhancements you

Re: [twdev] [TW5] TiddlyWiki as an Application Platform for a Powershell GUI/IDE

2016-10-16 Thread Jeremy Ruston
Hi Marc > Thanks Jeremy. I'm looking at using the `child_process` module but I don't > see any node_modules/ folder in TW Desktop. Could you give me a leg up on how > to import a module? TiddlyDesktop doesn’t use node_modules at the moment. You’ll need to research the details of how nw.js

Re: [twdev] [TW5] TiddlyWiki as an Application Platform for a Powershell GUI/IDE

2016-10-16 Thread Marc J. Cawood
Well... naivety is one of my only virtues. The following code works fine in standard nw.js and shows how the runtime is just browser+node: Click Me! I can even get `require('child_process').exec()` working without requiring any modules. So why shouldn't this code run inside TiddlyDesktop?

[twdev] Debugging TiddlyDesktop

2016-10-16 Thread Marc J. Cawood
Anyone able to debug (F12 Dev Tools) TiddlyWikis started with TiddlyDesktop? F12 works from the Main part of TiddlyDesktop but this then launches the actual Wikis and they are not responding to F12 (nor right-click for that matter). Perhaps TW is catching F12? As a workaround, can I launch

Re: [twdev] [TW5] TiddlyWiki as an Application Platform for a Powershell GUI/IDE

2016-10-16 Thread Marc J. Cawood
Oh dear! process is not defined I see the wikis are not running as normal nw.js applications. How are you launching them? -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send

Re: [twdev] [TW5] TiddlyWiki as an Application Platform for a Powershell GUI/IDE

2016-10-16 Thread Jeremy Ruston
Hi Marc > I see the wikis are not running as normal nw.js applications. How are you > launching them? Wiki files are loaded in sandboxed iframes; they don't have access to Node.js features. The main process runs the backstage wiki, a privileged TiddlyWiki that runs in the background and

[twdev] [TW5] TiddlyWiki as an Application Platform for a Powershell GUI/IDE

2016-10-16 Thread Marc J. Cawood
So I've been learning Powershell and it's pretty, well, powerful and, since August, open-source and cross platform. And it's not only for server operators. But enough asides... Powershell is command-line-based and I like making a GUI on top of useful command-lines (as I have done with AWK and

[twdev] Re: "Namespacing" for plugins?

2016-10-16 Thread PMario
Hi David, On Sunday, October 16, 2016 at 2:03:53 AM UTC+2, David Szego wrote: > > I hereby nominate Tobias's excellent ` (backtick) macro and > <> macro as the standard by which we should all wrote our > plugin documentation to, and it should be part of the TW core so we can > just include the

Re: [twdev] [TW5] TiddlyWiki as an Application Platform for a Powershell GUI/IDE

2016-10-16 Thread Marc J. Cawood
A! The old security-kills-functionality. get's me every time. Sniff. -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to