I think it calls ?: "Key Clicks" or "Toogle Key Sounds", on windows it is found in the accessibility section
I recorded a video : https://youtube.com/shorts/zPjMay06uIU
example :
Code: Select all
If OpenWindow(0, 0, 0, 960, 590, Webview MacOs", #PB_Window_SystemMenu | #PB_Window_ScreenCentered | #PB_Window_Invisible)
WebGadget(0, 0, 0, 960, 590, "https://soqueto.com/game3/")
CocoaMessage(0, CocoaMessage(0, GadgetID(0), "preferences"), "setJavaScriptEnabled:", #YES)
CocoaMessage(0, CocoaMessage(0, GadgetID(0), "preferences"), "setWebSecurityEnabled:", #NO)
Define scrollView = CocoaMessage(0, GadgetID(0), "enclosingScrollView")
CocoaMessage(@test, scrollView, "setVerticalScrollElasticity:", #NSScrollElasticityNone)
CocoaMessage(@test, scrollView, "setHorizontalScrollElasticity:", #NSScrollElasticityNone)
SetGadgetAttribute(0, #PB_Web_BlockPopupMenu, #True)
SetGadgetAttribute(0, #PB_Web_BlockPopups, #True)
StickyWindow(0, #True) : HideWindow(0, #False)
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf