I have created two separate apps. They both use NodeWebKit to create a .exe for use on Windows computers.
I would like to be able to share data between the two apps. Instead of combining the two apps I think it would be easier to simply output data from one and read it with the other...
I would also like it to be fast enough that I can create triggers in one app and have them picked up in the other app.
App 1: press button to set (webstorage?) variable to 0 or 1
App 2: while variable is 0 do A, while variable is 1 do B
Is there a way to do this? Through JSON or AJAX or Webstorage or something? I need to pass a trigger and a number but if I can pass one I can figure out the other...
Both apps are running at the same time on the same computer... Is Webstorage Local or Session available as the same thing between both apps or does each app create its own instance and you can't share the data?
Thanks!