On windows platform InstallEventHandler() instantly sends an event while on OS4 it is silent until the first clipboard change.
Both behaviour has some sense, but should be working the same I think.
Not tested on other systems.
Code: Select all
StartTimer(1)
Function p_event(msg)
NPrint(GetTimer(1),msg.action)
EndFunction
InstallEventHandler({clipboardchange=p_event})
Repeat
WaitEvent
Forever