Giter VIP home page Giter VIP logo

Comments (2)

yudukiak avatar yudukiak commented on August 25, 2024

active-window

monitor.getActiveWindow(callback)を利用すると、2度目の取得ができない。
monitor.getActiveWindow(callback,-1,1)を利用すると、止められない。
よって、このモジュールは使えない。

winfo

winfo.title()で何度もtitleを取得できるがnameを取得できないため、Discordかどうか判断できない。
これも使えない。

active-win

activeWin()で何度もtitleやnameを取得できる。
しかしElectronに対応していないため、エラーが出る。

Uncaught (in promise) Error: The module '\\?\C:\github\dc_DiSpeak.git\src\node_modules\ref\build\Release\binding.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 64. This version of Node.js requires
NODE_MODULE_VERSION 69. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:160:31)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:722)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:160:31)
    at Module.load (internal/modules/cjs/loader.js:602)
    at tryModuleLoad (internal/modules/cjs/loader.js:541)
    at Function.Module._load (internal/modules/cjs/loader.js:533)
    at Module.require (internal/modules/cjs/loader.js:640)
    at require (internal/modules/cjs/helpers.js:20)
    at bindings (C:\github\dc_DiSpeak.git\src\node_modules\bindings\bindings.js:112)
    at Object.<anonymous> (C:\github\dc_DiSpeak.git\src\node_modules\ref\lib\ref.js:5)

やっぱりこれも使えない。

from dispeak.

yudukiak avatar yudukiak commented on August 25, 2024

一旦、機能実装を取りやめます。
実装できる目処が付いたら改めて弄ります。

from dispeak.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.