Sending messages between windows

When running multiple application windows, you may need to pass messages between them to sync data & actions.

Send a message to another window using the Window - Send Window Message action.

And listen for the Window - Message Received event.

<figure><img src="https://909455594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC8kwY8yODXmNxAtaN0Ej%2Fuploads%2FlgSgQIQe3Ts2mvwQBkgP%2FsendWindowMessage.gif?alt=media&token=88e41fe5-b7dc-436f-b29a-1e26179a5fee" alt=""><figcaption></figcaption></figure>

Pro Tip:

If running external content, execute this JavaScript to send a message.

await window.deskifier.invoke('sendWindowMessage', { message, toWindowId })