In electron, can the main process send a synchronous message to a window?
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- electron, javascript
- 領域
- desktop
調査の方向性
Start by reading the Electron main-process and window communication APIs, focusing on how a script in the main process could receive a result from the outline window. Confirm whether synchronous request-and-response messaging is supported and document the supported approach or its limitation. Done means the issue has a clear, tested recommendation for implementing op.go.
索引モデルが issue の本文から書いたものです。
説明
Big picture, I'm running user scripts in the main process.
I want the scripts to be able to customize the app, which is displaying an outline in the front tab.
So I need to be able to send a message like:
op.go (direction, count)
As part of a script...
if (!op.go (down, 1)) {
op.go (left, 1);
op.go (down, 1);
}
In order for the first op.go to work, it must be told whether or not the attempt to go down worked. If not, it has reached the end of the list, and must pop out a level and continue.
Obviously op.go must be synchronous.
The script is running in the main process.
The outline is in the window.
Thus I need to be able to send a synchronous message to the window and get back a result.
Any help appreciated.
- 主要言語
- HTML
- スター
- 134
- フォーク
- 10
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
scripting/Scripting-News のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
scripting/Scripting-News#353 · コメント 6 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
scripting/Scripting-News#332 · コメント 25 件 · リアクション 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
scripting/Scripting-News#362 ·
-
Matt is moved aside オープン
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
scripting/Scripting-News#361 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
scripting/Scripting-News#360 · コメント 1 件 · リアクション 1 件 ·
scripting/Scripting-News の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
bug 🐞
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
extension extension: raycast-system-monitor feature request platform: macOS
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
raycast/extensions#31335 · コメント 2 件 ·