Skip to main content

All Questions

Tagged with
0 votes
0 answers
20 views

How to make all new tabs/windows in electron direct to new electron-tabs

I'm currently working on some JavaScript code for a project. My goal is to make Electron open all links that would normally result in "pop-ups" to open in new tabs under the electron-tabs ...
0 votes
0 answers
10 views

How do I check if the webview and the app are not focused

My app thinks it is not focused while the <webview> is focused. It checks if the app and the webview's IsFocused function returns true I'd like it to work,not do false positives! I tried GPT3, ...
3 votes
2 answers
7k views

How to set column size using DOCX.JS

I am creating an application using electron and react, and I will need to create a Word text document dynamically, I found a great package, DOCX, but I need to create some tables, and I can't set the ...
-4 votes
0 answers
49 views

Bug in finding image in electron with sqlite [closed]

So, my problem is that my app can't find my image, and on my sqlite database there's just a txt file that says undefined: This function goes immidietely after entering the app ipcMain.on('load-...
0 votes
2 answers
56 views

How do I gray elements based on class name?

I'm trying to grey the border elements smoothly with css smoothing and it does nothing and the elements are 1 pixel thick code: function greyBorder() { var elms ...
1 vote
1 answer
3k views

How Can I use speech recognition in electron js

I want to use speech recognition in my electron.js app but it seems that Speech Recognition with electron is not supported.
1 vote
1 answer
422 views

How to ask for screen recording permission in electron app in Mac OS?

I am trying to create an app and ask for screen recording permission, but the app asks for permission if i directly execute desktopcapturer.getsources() function with the correct app name added. Here ...
0 votes
0 answers
24 views

Creating a Logger for the electron application [closed]

I want to create a logger to handle all the logs inside the application. To offload logger tasks such as writing logs to the file, rotating the log files, and sending logs to different monitoring ...
0 votes
0 answers
19 views

Issue with OAuth Redirect in Electron App Using Nextron Framework in Production

to authenticate and interact with YouTube APIs. The app works perfectly in development mode, but I am facing an issue in production mode regarding the OAuth redirect URI. In development mode, the ...
4 votes
3 answers
2k views

Paste, or otherwise output text outside of an Electron app?

From an Electron application, is it possible to output text to wherever the cursor is currently located at, i.e. even if that is somewhere outside of the actual Electron app? So far the best solution ...
0 votes
0 answers
22 views

I am practice ipcRenderer but I can not see the result which i think would happen

I am a student and actually English is not my native language so there must be lots of grammer problem I'm so sorry.And just like what I wrote on title I'm learning how to use ipcRenderer but it didn'...
0 votes
3 answers
5k views

React - Uncaught TypeError: Cannot read property 'state' of > null

I have the following piece of code. It is basically just a button with an event handler, and the class is supposed to hold some state which as of now is only a counter, set to 0 initially. import ...
-3 votes
1 answer
41 views

webContents not defined error. how to fix? [closed]

I am a beginner coder and not that good so please don't mind my code, I am trying to make an application in electron js that opens an image file and displays it in the app. and I am having to send a ...
-1 votes
0 answers
19 views

How to get the device ID and device type in Electron.js with React.js and TypeScript?

I am working on an Electron.js application that uses React.js and TypeScript. I need to obtain the device ID and device type within my application. Here is a brief overview of my setup and what I've ...
4 votes
7 answers
8k views

Electron-forge npm run make "Error: The main entry point to your app was not found."

My electron app is in its final stage where I try to use electron-forge to make it into an executable. Running it through npm run start gave no problem, however when running npm run make new errors ...

15 30 50 per page
1
2 3 4 5
424