Inverted commas
  • Order of the Butterfly
    Order of the Butterfly
    Primax
    Posts: 168 from 2021/7/2
    Stupid question: is there a way to write German and English inverted commas under MorphOS?

    German = „Pünktchen“ (copied from a text)
    English = "Pünktchen"

    Thanks!
    Daniel
    AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon X1650 / AmigaOS 4.1 Final Edition / MorphOS 3.17
    Amiga1200 / Blizzard 1230 IV PiStorm32-lite / 128 MB RAM / AmigaOS 3.9
  • »09.11.24 - 06:43
    Profile Visit Website
  • MorphOS Developer
    jacadcaps
    Posts: 3111 from 2003/3/5
    From: Canada
    The only place you can do this is in Flow Studio.

    Create a lua script in SYS:Applications/FlowStudio/Scripts, name it InsertInvertedQuotationMark.lua or so and paste

    Code:
    require('flowstudio')
    editor:AddText("„")


    Do make sure you have UTF-8 enabled in Flow Studio, it's in the Document menu. Afterwards, open Editor Settings, go to the Scripts tab and add the script you've created. Give it a hotkey.

    Let me know if you run into trouble - I've just tested this out here so it definitely works.
  • »09.11.24 - 13:04
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    tolkien
    Posts: 523 from 2013/5/29
    Thats great.
    Is there any documentation about the internal flowstudio lua commands?
    Would be nice to do a few scripts.
    MorphOS: PowerMac G5 - PowerBook G4 - MacMini.
    Classic: Amiga 1200/060 - A500 PiStorm
  • »09.11.24 - 13:23
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Primax
    Posts: 168 from 2021/7/2
    Quote:

    jacadcaps schrieb:
    The only place you can do this is in Flow Studio.

    Create a lua script in SYS:Applications/FlowStudio/Scripts, name it InsertInvertedQuotationMark.lua or so and paste

    Code:
    require('flowstudio')
    editor:AddText("„")


    Do make sure you have UTF-8 enabled in Flow Studio, it's in the Document menu. Afterwards, open Editor Settings, go to the Scripts tab and add the script you've created. Give it a hotkey.

    Let me know if you run into trouble - I've just tested this out here so it definitely works.


    Thank you! Before I test it: this only works then in the Editor or also in Wayfarer?
    AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon X1650 / AmigaOS 4.1 Final Edition / MorphOS 3.17
    Amiga1200 / Blizzard 1230 IV PiStorm32-lite / 128 MB RAM / AmigaOS 3.9
  • »09.11.24 - 15:59
    Profile Visit Website
  • MorphOS Developer
    jacadcaps
    Posts: 3111 from 2003/3/5
    From: Canada
    This is only for Flow Studio.
  • »09.11.24 - 16:03
    Profile Visit Website