You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importwinaxfrom"winax";exportfunctionclosePowerPoint(): void{try{constPowerPointApp=winax.Object("PowerPoint.Application");PowerPointApp.Quit();console.log("PowerPoint wurde erfolgreich geschlossen.");}catch(error){console.error("Fehler beim Schließen von PowerPoint:",error);}}
Has anyone an idea about this error?
The text was updated successfully, but these errors were encountered:
I want to use node-activex in an vite-electron-react app. Rollup throws an error on build and dev:
[commonjs--resolver] node_modules/winax/build/Release/node_activex.node (1:2): Unexpected character '�'
Node: 20.12.2
Electron: 30.0.1
I did rebuild with follwoing command:
Here is the referneced code:
Has anyone an idea about this error?
The text was updated successfully, but these errors were encountered: