打开AI:帮助-关于illustrator里面可以看到自己的版本号和位数。
在脚本开头加上下面这句代码,
#target "illustrator-20.064"
指定版本号 | AI版本 |
illustrator-15.0 | CS5 |
illustrator-16.064 | CS6 64位 |
illustrator-16.032 | cs6 32位 |
illustrator-20.064 | 2015 |
illustrator-21.064 | 2017 |
illustrator-22.064 | 2018 |
illustrator-23.064 | 2019 |
illustrator-24.064 | 2020 |
illustrator-25.064 | 2021 |
illustrator-26.064 | 2022 |
illustrator-27.064 | 2023 |
llustrator-28.064 | 2024 |
Illustrator CS | 11 |
Illustrator CS2 | 12 |
Illustrator CS3 | 13 |
Illustrator CS4 | 14 |
Illustrator CS5 | 15 |
Illustrator CS5.5 | 15.1 |
Illustrator CS6 | 16 |
Illustrator CC | 17 |
Illustrator CC2014 | 18 |
Illustrator CC2015 | 19 |
Illustrator CC2015.3 | 20 |
Illustrator CC2017 | 21 |
Illustrator CC2018 | 22 |
Illustrator CC2019 | 23 |
Illustrator CC2020 | 24 |
Illustrator CC2021 | 25 |
Illustrator CC2022 | 26 |
Illustrator CC2023 | 27 |
Illustrator CC2024 | 28 |