Custom Action Output Value for Use in a Variable - Current Window Width
I ’m trying to run a script inside a custom action that outputs the current window width . Getting that value in a script is straightforward , but I ’m having trouble assigning that value to a variable in Nordcraft outside the action so that I can use it in a formula . Is there a way to do this using an event that I might be overlooking ? I need the actual window width , not just the trigger , because I need to use it in a calculation . I ’d appreciate any insight ! ctx.triggerActionEvent('eventName', eventData) You could also use a custom formula and use its value directly in your calculations Thanks for the help . I had my action coded correctly , I was just not properly using the event value in the formula to assign the value to a variable . I was assigning the event - > target - > value when all I needed was the event . Screenshots for anyone else trying to figured this out in the future . 👍1