ActivateWindowAndFocus - Subtitles
#1
I want a button that will open the player settings window and then automatically move focus to control 65 (languages to download subtitles for).

I tried ActivateWindowAndFocus(playersettings,65), ActivateWindowAndFocus(playersettings,96,65) but they don't do anything but opening the window.

ActivateWindow(playersettings,language) gets me halfway there, but I need to get it to the specific button.

Is there something I am missing?

Cheers
Reply
#2
The id is actually -65 as in MINUS 65

Try this:
<onclick>ActivateWindowAndFocus(playersettings,-96,0,-65,0)</onclick>
Arctic Fuse - Alpha now available. Support me on Ko-fi.
Reply
#3
Ah, missed that Blush

Thanks!
Reply
#4
No worries. I didn't know that IDs could have negative values before now. Initially thought I had accidentally put a hyphen in my debug overlay...
Arctic Fuse - Alpha now available. Support me on Ko-fi.
Reply
#5
Core ones can be negative but I don't think we can add them ourselves.
Reply

Logout Mark Read Team Forum Stats Members Help
ActivateWindowAndFocus - Subtitles0