: How to assign a hotkey to “No Break” How can I assign a hotkey to “No Break” function on Character panel? Or maybe write a script and create a custom panel? But how I access to this
How can I assign a hotkey to “No Break” function on Character panel? Or maybe write a script and create a custom panel? But how I access to this function is PS JS model?
Character is exist in Menu tab but it does not in the Keyboard Shortcuts. So I can show/hide or assign color to this menu item and I can't assign a shortcut for it:
More posts by @Karen819
1 Comments
Sorted by latest first Latest Oldest Best
Photoshop has 'Dynamic Shortcuts' for the Character Panel accessible by selecting text and reopening the Character Panel menu to see the hotkeys. This provides hotkeys like Underline
(Shift+Ctrl / CMD+U), however there isn't one for 'No Break'. Here is a work around instead.
Create an action called 'Apply No Break' and create a keyboard shortcut for it.
Select your text layer, click record and select 'No Break' from the Character Panel Menu.
Now whenever you select a text layer, you can type your shortcut and have it perform this
The Script for this approach would be:
var activeLayer = app.activeDocument.activeLayer;
if(activeLayer.kind == LayerKind.TEXT) {
activeLayer.textItem.noBreak = true;
}
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.