Neutron.ahk is a revolution in AHK GUI, thanks for a great library!
I look forward to the implementation of WebView2!
I am reading the documentation and samples and trying to figure it out through trial and error.
The code below didn't work.
How should I write the code?
Or is there another better way?
*ahk
image_path := "D:\image.jpg"
neutron := new NeutronWindow(html,css,js,title)
neutron.Load("test.html")
neutron.Gui("+LabelNeutron +AlwaysOnTop +border +ToolWindow -Resize")
neutron.Show("w300 h300")
neutron.qs(".span").innerHTML := "<img src=`""%image_path%"`">" "</img>" ;<--- Variables are printed as strings.
MsgBox, % neutron.doc.body.outerHTML
ExitApp
Neutron.ahk is a revolution in AHK GUI, thanks for a great library! I look forward to the implementation of WebView2! I am reading the documentation and samples and trying to figure it out through trial and error.
The code below didn't work.
How should I write the code? Or is there another better way?
*ahk
*html