jdauthre Posted July 6, 2019 Share Posted July 6, 2019 I need to get the raw window handle for a html / javascript window (hwnd in windows 10), using javascript / node.js / nwjs but can't find a way. does anybody have any ideas? I want to embed mpv or mplayer in a window using the -wid option which requires the window handle as an integer. Or does anyone have any ideas how to do this as an alternative? Thanks Link to comment Share on other sites More sharing options...
justsomeguy Posted July 8, 2019 Share Posted July 8, 2019 The window object is just window. Javascript does not have access to the actual browser process or any of the chrome or other controls. Link to comment Share on other sites More sharing options...
jdauthre Posted July 10, 2019 Author Share Posted July 10, 2019 Thanks, I will have to move on to plan B Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now