Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

cntrl+E should be enabled automatically

Avatar

Level 3

Hi All,

Onfocus of rich text want to access cntrl+E functionality using script or by some other settings.

cntrl+E will enable rich text toolbar which has many functionality.

so whenever the textbox is focused the toolbar should be enabled.

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

In the enter event put:

app.execMenuItem("PropertyToolbar");

This will toggle between the Properties Bar being visible and hidden. So placing the same script in the exit event will hide the Properties Bar.

Hope that helps,

Niall

PS: This works in Acrobat v9. I don't know if it works in earlier version OR if it will work in future versions.

Message was edited by: Niall O'Donovan

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Hi,

In the enter event put:

app.execMenuItem("PropertyToolbar");

This will toggle between the Properties Bar being visible and hidden. So placing the same script in the exit event will hide the Properties Bar.

Hope that helps,

Niall

PS: This works in Acrobat v9. I don't know if it works in earlier version OR if it will work in future versions.

Message was edited by: Niall O'Donovan