Non-breaking space in AutoCorrect in Studio 2017

Would anyone had any new ideas about getting the non-breaking space in AutoCorrect in Studio 2017? We have a number of one-letter prepositions in our language (like v, u, s, etc.) and I was hoping to use AutoCorrect instead of find-and-replacing. No matter what I do (copy and paste or Alt code), I can't get non-breaking space in the Autosuggest field.

Parents
  • Hi Anna,

    I don't think this is possible. I spent a little time on this and can't get the non-breaking space to be used in autocorrect either. Maybe you can use AutoHotkey for this instead? This is a great tool for many things and I think it would handle this problem for breakfast!

    Regards

    Paul

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

  • Hi Paul,

    I have read this and other replies regarding the “Autocorrect + No-break spaces” and, following your and other colleagues replies, I have tried two possible semi-solutions (even if not definitive, and apart the solution to run a search-and-replace after having completed the translation).

    Suppose you have a string like this, where the multiplication sign has been represented by a plain keyboard lowercase “x” with a normal space before and after it”:

    24.x.2.=.48

    and that we want transform the plain keyboard lowercase “x” to a “°×°” (i.e.: [no-break space = ALT+0160][× = ALT+0215][no-break space = ALT+0160]:

    24°×°2.=.48

    As you have already said, there is no way to create an “AutoCorrect” rule to obtain this, and the best result I have obtained in this case is to type a plain keyboard lowercase “x” in the “Replace:” field and an [ALT+160]×[ALT+160] string in the “With:” field, which works, but inserts a normal space before and after the substitution:

    24.°×°.2.=.48

    and this is not completely correct, as we should delete the extra normal spaces.

    The other solution that you and other people suggested involves AutoHotKey, and I have created a pattern like this:

    ^+x::
       Send, × 
    Return

    (compiled in *.exe), which requires to press [CTRL+SHIFT+x] to correctly insert the “×” character with a no-break space before and after it without adding normal spaces:

    24[CTRL+SHIFT+x]2.=.48      to obtain      24°×°2.=.48

    Now my question: is there any chance to foresee the possibility to use this AutoHotKey pattern (or the pertinent *.exe file), or, even better, a Regex pattern, in the “Replace:” and “With:” fields of the “AutoCorrect” dialog without launching AutoHotKey?

    As I am not a programmer or a developer, I do not know if this will be possible, now or in a near future.

    Thank you.

    Claudio

Reply
  • Hi Paul,

    I have read this and other replies regarding the “Autocorrect + No-break spaces” and, following your and other colleagues replies, I have tried two possible semi-solutions (even if not definitive, and apart the solution to run a search-and-replace after having completed the translation).

    Suppose you have a string like this, where the multiplication sign has been represented by a plain keyboard lowercase “x” with a normal space before and after it”:

    24.x.2.=.48

    and that we want transform the plain keyboard lowercase “x” to a “°×°” (i.e.: [no-break space = ALT+0160][× = ALT+0215][no-break space = ALT+0160]:

    24°×°2.=.48

    As you have already said, there is no way to create an “AutoCorrect” rule to obtain this, and the best result I have obtained in this case is to type a plain keyboard lowercase “x” in the “Replace:” field and an [ALT+160]×[ALT+160] string in the “With:” field, which works, but inserts a normal space before and after the substitution:

    24.°×°.2.=.48

    and this is not completely correct, as we should delete the extra normal spaces.

    The other solution that you and other people suggested involves AutoHotKey, and I have created a pattern like this:

    ^+x::
       Send, × 
    Return

    (compiled in *.exe), which requires to press [CTRL+SHIFT+x] to correctly insert the “×” character with a no-break space before and after it without adding normal spaces:

    24[CTRL+SHIFT+x]2.=.48      to obtain      24°×°2.=.48

    Now my question: is there any chance to foresee the possibility to use this AutoHotKey pattern (or the pertinent *.exe file), or, even better, a Regex pattern, in the “Replace:” and “With:” fields of the “AutoCorrect” dialog without launching AutoHotKey?

    As I am not a programmer or a developer, I do not know if this will be possible, now or in a near future.

    Thank you.

    Claudio

Children
No Data