Bindevent

Just starting out? Need help? Post your questions and find answers here.
matalog
Posts: 14
Joined: Fri Dec 04, 2020 6:07 am

Bindevent

Post by matalog »

In some of the comparisons to PB, it states that Waitwindowevent() is not supported, use Bindevent() instead.

How would you use bindevent() to replicate event=waitwindowevent()
select event?
plouf
Posts: 295
Joined: Tue Feb 25, 2014 6:01 pm
Location: Athens,Greece

Re: Bindevent

Post by plouf »

you cant do it EXACTLY as PB is

a binary executive program in a "program" that runs endless doing something, thats why you have a
repeat loop in every exe

a javascript running inside a browser, its actually running idle and when something occurs it trigger the binded event

Help->Gadget have an example of this, in short the folloing command says to execute the Function named GAdgetEvents() every time an event in gadgets happens

BindEvent(#PB_Event_Gadget, @GadgetEvents())
Christos
Post Reply