Skip to main content
Known Participant
May 3, 2012
Question

Is it possible to have interaction between two windows of type Palette?

  • May 3, 2012
  • 2 replies
  • 889 views

Hello there

I would like to know if there is way to have interaction between two opened palette windows I mean once you have the two windows opened one of them have keyboard focus or is active, how can I make the other window active with an eventlistener or some other trick.

Please help i tried a lot but with no luck at all

Thanks a lot 

This topic has been closed for replies.

2 replies

Participant
June 2, 2024

 

  • Yes, it's possible to have interaction between two windows of type Palette.
  • Palettes are typically lightweight windows used for supplementary controls or information.
  • Interaction between palettes can occur through shared data or events.
  • They can communicate using methods like callbacks or direct function calls.
  • Palettes can exchange information such as settings, preferences, or user input.
  • This interaction enhances user experience by facilitating seamless workflow.
  • Developers can design palettes to work cooperatively, enhancing functionality.
  • OFW can facilitate communication between palette windows.
  • Ofw provides a standardized interface for device communication and control.
  • Developers can leverage OFW to enable communication between palette windows.
  • OFW ensures compatibility and reliability in data exchange between windows.
  • Overall, interaction between palette windows is achievable and beneficial for user interface design and functionality.

 

Participating Frequently
May 15, 2012

you can find an answer here : http://www.kahrel.plus.com/indesign/scriptui.html

PDF version 1.10

section “Communication between windows” renamed “Accessing palettes from other scripts” (p. 61).

Known Participant
June 10, 2012

hey Michel thanks for taking the time to answer but unfortunately I did not found something that could help me But let me ity is a really nice source of examples for scriptUI something that the Adobe Scripting guide really lacks of

Thanks a lot anyway