• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Is there a way to associate a keyboard shortcut for the "Hyphenate" option?

Enthusiast ,
Jul 19, 2023 Jul 19, 2023

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...

TOPICS
How to , Performance

Views

140

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jul 19, 2023 Jul 19, 2023

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]

pixxxelschubser_0-1689793248759.png

 

 

Votes

Translate

Translate
Community Expert ,
Jul 19, 2023 Jul 19, 2023

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.


╟─ Word & InDesign to Kindle & EPUB: a Guide to Pro Results (Amazon) ─╢

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 19, 2023 Jul 19, 2023

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]

pixxxelschubser_0-1689793248759.png

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 19, 2023 Jul 19, 2023

Copy link to clipboard

Copied

Yes, of COURSE we'd look for it under "Auto-hyphenation"! Programmers... sigh.


╟─ Word & InDesign to Kindle & EPUB: a Guide to Pro Results (Amazon) ─╢

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jul 21, 2023 Jul 21, 2023

Copy link to clipboard

Copied

Es arbeiten!!!!!! Vielen danke dir!!!!! XXX

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 21, 2023 Jul 21, 2023

Copy link to clipboard

Copied

LATEST

You are welcome. And thank you for the nice feedback.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 19, 2023 Jul 19, 2023

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
    }    
}

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 19, 2023 Jul 19, 2023

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.


╟─ Word & InDesign to Kindle & EPUB: a Guide to Pro Results (Amazon) ─╢

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 19, 2023 Jul 19, 2023

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:

 

Screen Shot 41.png

 

 

Toggle Hyphenation Off with the key command:

Screen Shot 42.png

 

Make a new text frame and enter some text:

Screen Shot 43.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 19, 2023 Jul 19, 2023

Copy link to clipboard

Copied

Hi Rob,

I still prefer to use paragraph formats.
😉

 

By the way, nice script snippet.

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 19, 2023 Jul 19, 2023

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. 🙂


╟─ Word & InDesign to Kindle & EPUB: a Guide to Pro Results (Amazon) ─╢

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 19, 2023 Jul 19, 2023

Copy link to clipboard

Copied

quote

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.
😉

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines