HELP: Creating a virtual keyboard as PS Panel.

Anyone, especially newbies, asking for help with Photoshop Scripting and Photoshop Automation - as opposed to those contributing to discussion about an aspect of Photoshop Scripting

Moderators: Tom, Kukurykus

Aetrix
Posts: 1
Joined: Sat Oct 31, 2020 8:37 pm

HELP: Creating a virtual keyboard as PS Panel.

Post by Aetrix »

Hello, I have decided for practice to make myself a virtual keyboard inside Photoshop and I have managed to create a Panel and add a few buttons in it. https://github.com/Adobe-CEP/Samples this is my guide. I'm using JavaScript to code and HTML to design. I did manage to create new KeyboardEvent and assign "g" letter to it and call that on button press. But Photoshop is not responding or it simply can't catch that event that is dispatched. Basically what I want to happen is when that button is pressed and keyboard G is emitted Photoshop will select Bucket Tool for example.

Can anybody help with this one?
User avatar
Kukurykus
Posts: 528
Joined: Mon Jul 25, 2016 12:36 pm

Re: HELP: Creating a virtual keyboard as PS Panel.

Post by Kukurykus »

Maybe try first this: Select specific tool?