4 Replies Latest reply on Sep 4, 2018 11:53 PM by PBossens

    Simple calculation on selected number (Javascript)

    PBossens Level 1

      I would like to perform a simple calculation on a selected number using Javascript in InDesign CC.

      To be clear, the script should get the selected number in a variable, perform a small calculation on it, and finally replace the selected text by the result.

      Can someone help me on my way? Thanks!