Panel listening for keyboard/mouse events in whole PS

General Discussion of Scripting for Flex, Flash & CS SDK

Moderators: Tom, Kukurykus

deshu

Panel listening for keyboard/mouse events in whole PS

Post by deshu »

Hello.
I wanted to make my panel react for for example "alt+x" keys combination, but not only when I get panel in focus,
but during having brush tool active, during drawing.

1. Is that possible?
2. Is also possible to get Mouse position on screen?
3. Is possible to open panel with a key shortcut?

Hope you guys will help me, cause docs for making pannels are soo week.


Best regards,
Paul
c.buliarca

Panel listening for keyboard/mouse events in whole PS

Post by c.buliarca »

Hello, I've worked some time ago on a solution for this problem, and the solution I've reached was to use a Python script to automatically click on the panel, and this way the panel will get the focus.