Skip to main content
Participant
April 23, 2019
Question

Export variables from a JS within Illustrator to an active Excel worksheet?

  • April 23, 2019
  • 2 replies
  • 490 views

I have a simple JavaScript that calculates the area of a selected shape/closed path in Adobe Illustrator when executed.

Basically, I need to enhance the functionality of the script by having it automatically import the measured value into an active Excel worksheet when the user runs it.

Anyone have any ideas? Will this require an Excel Plugin in addition to the JavaScript?

Thank you in advance.

This topic has been closed for replies.

2 replies

CarlosCanto
Community Expert
Community Expert
April 27, 2019

if you're on windows, you could write a vba script in Excel, vba talks to illustrator and can update your worksheets on the fly.

if you stay with Javascript, you can write the data to a csv file, which can be open in excel, but I'm not sure if it can be "live" while the csv is open.

Srishti Bali
Legend
April 26, 2019

Discussion moved to Illustrator Scripting forum.