Thanks C.dK On Friday, September 6, 2019 at 11:14:09 PM UTC+10, Cd.K wrote: > > Hi Tony, > > Go programs are programs in the language GO. Go is similar to JavaScript > but much faster and must be compiled. The native messaging host of timimi > is in GO. You can get more details here: git timimi documentation: Why > timimi? Go routines <https://ibnishak.github.io/Timimi/> > > The JavaScript background.js is part of the firefox add-on RunWith. > > Both AddOns need to be installed but not the native messaging host (nmh) > of RunWith. Start with timimi to see how it works. Then go further with the > firefox part of RunWith and do the switching of nmh. > > > > Regards > Cd.K > > > On Friday, September 6, 2019 at 3:13:45 AM UTC+2, TonyM wrote: >> >> CD.K >> >> This looks very interesting, but I am not sure how to turn this into a >> reality myself. >> >> I am not sure I understand the following as an example >> >> - What are Go programs >> - Where is the javascript in the second reply >> - to switch von RunWith native messaging host to Timimi. >> >> >> Thanks for sharing this looks like an interesting approach to followup. >> >> Regards >> Tony >> >> On Thursday, 5 September 2019 05:57:03 UTC+10, Cd.K wrote: >>> >>> TonyM >>> >>> Here's the relevant detail to switch von RunWith native messaging host >>> to Timimi. >>> >>> In RunWith's background.js one have to change after the line *"var msg >>> = {"*: >>> >>> >>> var note = { >>> exec: "yes", >>> escript: action[0], >>> eparam: info.selectionText.trim() >>> } >>> // console.log('Cd.K note: %s', JSON.stringify(note)); >>> // console.log('About to run: %s', JSON.stringify(msg)); >>> >>> // var sending = browser.runtime.sendNativeMessage(nmhost, msg); >>> var sending = browser.runtime.sendNativeMessage(nmhost, note); >>> sending.then(onNmResponse, onNmError); >>> >>> >>> Regards >>> Cd.K >>> >>> >>> >>> On Thursday, August 22, 2019 at 2:29:23 AM UTC+2, TonyM wrote: >>>> >>>> Cd.K >>>> >>>> Please do share the details - I am interested. >>>> >>>> Over here I put my argument for using TiddlyDesktop >>>> <https://groups.google.com/d/msg/tiddlywiki/-5SjHCmCT80/MIRm5WtMAAAJ> and >>>> how It handles local resources >>>> >>>> Installing another application (unless you are somehow restricted) is >>>> equivalent to your current dependence on Fire-Fox, two Add ons and the >>>> commands you develop but the TiddlyDesktop lets you do a lot more directly. >>>> >>>> But it's all your choice, I just want to ensure you are well informed. >>>> >>>> Regards >>>> Tony >>>> >>>> >>>> >>>> On Wednesday, August 21, 2019 at 11:42:28 PM UTC+10, Cd.K wrote: >>>>> >>>>> I have now been able to connect the two Firefox add-ons runwith and >>>>> timimi with each other. >>>>> >>>>> I use the native messaging host from timimi and the context menu >>>>> entries from runwith. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>
-- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/4e8a3067-8a30-494d-92bd-addbb5f6a39d%40googlegroups.com.