Skip to main content
Inspiring
July 17, 2025
Answered

• Copy the properties (eg. scale) of the 1st selected import and apply it to other selected imports

  • July 17, 2025
  • 1 reply
  • 169 views

Hello -

 

If I selected a couple of "imports",

is there a way to know via scripting which one was selected first?

 

Since I try to do a Adobe Illustrator Javascript that:

1. Check that we have 2 selected imports. Note that the order in which they were selected is important.
2. Copy the scale, rotation of the import selected first.
3. Display these 3 items of information on the screen (will be remove after).
4. Apply the scale of the first import selected to the second import.

 

Thank you,

 

 

- Dimitri

 

Correct answer CarlosCanto

If I selected a couple of "imports",

is there a way to know via scripting which one was selected first?

 

- Dimitri

 


By @dimitri_cas

 

no, there's no way of knowing which one was selected first

1 reply

CarlosCanto
Community Expert
CarlosCantoCommunity ExpertCorrect answer
Community Expert
July 17, 2025

If I selected a couple of "imports",

is there a way to know via scripting which one was selected first?

 

- Dimitri

 


By @dimitri_cas

 

no, there's no way of knowing which one was selected first

Inspiring
July 23, 2025

Thank you Carlos…  🙂