Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

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

Avatar

Level 3

Thanks a lot