Is there a way to press a string of keys in node.js
I am making an electron app that automatically types a string the user gives it. I have not figured out how to press keys yet.
Connect to a USB device using electron
I am using navigator.usb.requestDevice
to get a USB device. I am able to get the device I wanted i.e. Thermal printer. But when call device.open()
it always throws an error Device was disconnected
. When do the same thing in browser it works. I am not sure what I am doing wrong.
why we use browser window for Electron
I am right now learning Electron and I have a confusion.so when we create a app using lets say flutter then we run that app on a virtual mobile but for electron we run in on browser window even though our aim is to run it on an operating system so cant we simple run it on our own machines operating system (windows in my case) and after I am done developing the whole thing how can I run it on my operating system
How do I hide the menu bar in a secondary window on Electron?
I have a JavaScript application running on Electron. I open a new window using window.open(). A new window pops up. However the menu bar at the top is shown (I have it hidden on the main window).