Copy link to clipboard
Copied
I confess it a drag to be slave to reaching for the checkbox with the mouse everytime I need to turn hyphenation off in a paragraph...
Would it be an option for you to turn off hyphenation in your paragraph format?
Otherwise, in my German InDesign there is the default shortcut [Shift]+[Ctrl]+[Alt]+[H]
Copy link to clipboard
Copied
I think you've found the only control in the entire layout that has no key assignment.
There is an assignment for the hyphenation menu; open that and a shift-tab takes you to the checkbox. Might be able to script that, or use a system or keyboard macro.
Copy link to clipboard
Copied
Would it be an option for you to turn off hyphenation in your paragraph format?
Otherwise, in my German InDesign there is the default shortcut [Shift]+[Ctrl]+[Alt]+[H]
Copy link to clipboard
Copied
Yes, of COURSE we'd look for it under "Auto-hyphenation"! Programmers... sigh.
Copy link to clipboard
Copied
Es arbeiten!!!!!! Vielen danke dir!!!!! XXX
Copy link to clipboard
Copied
You are welcome. And thank you for the nice feedback.
Copy link to clipboard
Copied
Hi @Roger Breton , If @pixxxelschubser ’s toggle option doesn’t work for you (toggling Hyphenation off leaves it turned of for new text creation), it can be scripted with the script assigned a key command. Something like this would turn off Hyphenation for the selected range of text :
var s = app.activeDocument.selection
if (app.activeDocument.selection.length == 0) {
alert("No Text Selected")
} else{
if (s[0].hasOwnProperty("paragraphs")) {
s[0].paragraphs.everyItem().hyphenation = false
}
}
Copy link to clipboard
Copied
The key command only toggles hyphenation for the current paragraph, as an override. Moving to another paragraph is unaffected (the new paragraph retains whatever setting it had.)
That seems to be what the OP wants, but the script alternative is nice to have.
Copy link to clipboard
Copied
Moving to another paragraph is unaffected (the new paragraph retains whatever setting it had.)
I meant if you create a new text frame and enter some text. I get this:
Toggle Hyphenation Off with the key command:
Make a new text frame and enter some text:
Copy link to clipboard
Copied
Hi Rob,
I still prefer to use paragraph formats.
😉
By the way, nice script snippet.
Copy link to clipboard
Copied
Oh, I wouldn't use any of these methods to control hyphenation; that's definitely one thing that should be controlled by a style. But the OP asked, we stumbled around into an answer, that's a victory. 🙂
Copy link to clipboard
Copied
Oh, I wouldn't use any of these methods to control hyphenation; that's definitely one thing that should be controlled by a style …
By @James Gifford—NitroPress
It's nice that we have the same opinion.
😉