Skip to main content
Participating Frequently
April 23, 2025
Question

Illustrator Envelope Distort in Javascript

  • April 23, 2025
  • 2 replies
  • 320 views

I have been struggling to find a way to do the following in javascript:

 

1) Open an .ai file that contains a shape (in this case its a warped rectangle)

2) Place a PNG file

3) Move the PNG file below the warped shape

4) Perform an envelope distort (Make with Top Object) on the shape + PNG file

 

This seems stupid simple, but I can't figure out a way to do the Make with Top Object envelope distort using javascript.

 

Any help would be amazing.

 

Thanks!

2 replies

JR Boulay
Community Expert
Community Expert
April 27, 2025

[MOVED TO THE ILLUSTRATOR DISCUSSIONS]

Acrobate du PDF, InDesigner et Photoshopographe
Bernd Alheit
Community Expert
Community Expert
April 23, 2025

Why this posting in the forum for Acrobat SDK?

Participating Frequently
April 23, 2025

Well me where Javascript questions should be asked and I'd be happy to move it there.

Participating Frequently
April 23, 2025

I'm stupid.  I just realized it was in the ACROBAT SDK.  I know understand your question.  Sorry for the misplaced posting.