>Try this:

>nw.Window.open("D:/purr-data-clean/win32_inno/build/doc/1.manual/x3.htm");


Works, but i don't have “file edit view put media ...” in that window. On my previous example i added "_self" to window.open.

>Hopefully the page will still load.  But even if it's broken, right-click on the window and open devtools.


>Now try:

>var pdgui = nw.require("./pdgui.js");


>If that works you should be able to do this:


>pdgui.pdsend("pd dsp 1");


Works, dsp turns on.

>> It displays there on the patch but I cant put [objects] over it.


>There's no way to do anything like that yet.


>> This is not the best example as x3.htm has almost none CSS, but you get the idea of how cool the patch could be.


>I understand what you're getting at.  There are definitely a lot of possibilities here.


Yes indeed.

Salutti,

Lucarda.


Mensaje telepatico asistido por maquinas.



From: Jonathan Wilkes <jancsika@yahoo.com>
Sent: Thursday, January 26, 2017 1:23 AM
To: Lucas Cordiviola; Alexandre Torres Porres; pd-list@lists.iem.at
Subject: Re: [PD] Purr Data rc4
 
> To continue on the html+css thing:



> I can load html into a new patch with:

> window.open("D:/purr-data-clean/win32_inno/build/doc/1.manual/x3.htm","_self")

> Relative path don't work.

Unfortunately I'm having trouble loading local files on my Chromebook.

Try this:
nw.Window.open("D:/purr-data-clean/win32_inno/build/doc/1.manual/x3.htm");

Hopefully the page will still load.  But even if it's broken, right-click on the window and open devtools.

Now try:
var pdgui = nw.require("./pdgui.js");

If that works you should be able to do this:

pdgui.pdsend("pd dsp 1");

> It displays there on the patch but I cant put [objects] over it.

There's no way to do anything like that yet.

> This is not the best example as x3.htm has almost none CSS, but you get the idea of how cool the patch could be.

I understand what you're getting at.  There are definitely a lot of possibilities here.

-Jonathan

> Attached screenshot.

> Salutti,
> Lucarda.


Mensaje telepatico asistido por maquinas.