Skip to content

Yuri Khristich

My feedback

1 result found

  1. 6 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

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    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