You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a number of ways to do this, but the simplest is that you're just replacing the gLabel with the onclick in the html.
In the html, you have an onclick element, and pass it ahk.yourFunctionNameHere(event)
Then in your AHK code, you define that same function:
yourFunctionNameHere(neutron, event) {
;stuff you want your function to do
}
And that's it. Clicking the button will trigger the "yourFunctionNameHere" code to run.
If you still want to make use of the goto & gosub, you can just add those into your function. This is an example of a function being passed to the button in the html that uses a dynamic array variable to tell it which subroutine to run
Button1(neutron,event){
global
gosub %mainArr_sub_1%
return
}
the html: <button id="b1" type="button" onclick="ahk.Button1(event)">Click me!</button>
Hello, guys
Have any way to do it?
I'm needing to take the form, break the Neutron window and start other things
The text was updated successfully, but these errors were encountered: