Yuri Khristich

My feedback

  1. 5 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Adobe InDesign: Feature Requests » Scripting  ·  Flag idea as inappropriate…  ·  Admin →
    An error occurred while saving the comment
    Yuri Khristich commented  · 

    Select two cells and run this script.
    The script multiplies the two numbers and put the result in clipboard.

    var sel = app.selection;
    app.copy();
    var nums = sel[0].contents;
    var frame = app.activeDocument.textFrames.add({geometricBounds : [0,0,300,40]});
    frame.contents = (Number(nums[0]) * Number(nums[1])).toString();
    frame.parentStory.texts[0].select();
    app.cut();
    frame.remove();
    app.select(sel);

Feedback and Knowledge Base