Skip to main content
K.Daube
Community Expert
Community Expert
May 13, 2021
Answered

FM 15.0.8.979: can not enter backslash in text

  • May 13, 2021
  • 1 reply
  • 232 views

Friends and gurus,

Since some days (the last Windows 10 update?) I can not enter a backslash (\) into text in FM-15.I have Swiss-German keyboard layout.

  • No other application is affected by this, including other FM versions. Hence it is not a keyboard problem.
  • In FM-15 I can enter this backslash character in dialogue fields
  • In FM-15 I can enter any other ALTGr - charater, namely ¦@#¬|¢´~[]{} into the text
  • I can not enter this backslash character in FM-15 into a new document (hence it is not a problem of a particular document)
  • Neither restarting FM, nor restarting Windows 10 lets the problem go away.
  • After setting CtrlAltIsAltGr to ON in maker.ini I hoped to use this bypass for ALTGr - but it does not  help either.
  • I can copy/paste existing backslashes in the text.
  • Siwtching to German keyboard layout lets me enter all characters in any application except FM-15 text (remember, it works in dialogue entry fields).

→ What could be the reason for this strange behaviour?

    This topic has been closed for replies.
    Correct answer K.Daube

    I have found the reason!

    The behaviour came up with the change of localisation method in one script suite. The old version used global arrays with strings fro each language. The new method uses an XML file per language.

    While in ExtendScript source the Backslash must be doubled in strings

     

     

      goTxtN_en.SetUpMenus_sc01   = "\\!qnd";

     

     

    in XML this must not be done!

     

     

      <SetUpMenus sc01   = "\!qnd" />

     

     

    Hence the (double) backslash was absorbed by the menu short cuts...

    Thank You all for looking into my problem!

     

    1 reply

    Bob_Niland
    Community Expert
    Community Expert
    May 13, 2021

    So backslash is [Shift+[7]] on your Swiss-German layout?
    And presumably is inoperative with either [Shift] key?

    But paste works; how about [Alt+[0][9][2]]?
    That it works in other apps suggests that it's not a scancode-level or OS driver issue.

    Anyway, it's working for me, but:
    FM 15.0.5.838
    U.S.English layout
    Windows 10 Pro/64 v2004 build 19041.928

    K.Daube
    Community Expert
    K.DaubeCommunity ExpertAuthorCorrect answer
    Community Expert
    May 14, 2021

    I have found the reason!

    The behaviour came up with the change of localisation method in one script suite. The old version used global arrays with strings fro each language. The new method uses an XML file per language.

    While in ExtendScript source the Backslash must be doubled in strings

     

     

      goTxtN_en.SetUpMenus_sc01   = "\\!qnd";

     

     

    in XML this must not be done!

     

     

      <SetUpMenus sc01   = "\!qnd" />

     

     

    Hence the (double) backslash was absorbed by the menu short cuts...

    Thank You all for looking into my problem!