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 *var msg = {
section*:
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/523231a8-8836-4805-9937-07e8ae612e00%40googlegroups.com.