Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Unable to search – Adobe Illustrator Scripting Guide

LEGEND ,
Jul 22, 2019 Jul 22, 2019
1.5K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jul 22, 2019 Jul 22, 2019

yeah, no search here either. I use the official pdf, I like it for some reason. I also use the omv, lucky to be on windows.

Translate
Adobe
Community Expert ,
Jul 22, 2019 Jul 22, 2019

yeah, no search here either. I use the official pdf, I like it for some reason. I also use the omv, lucky to be on windows.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jul 23, 2019 Jul 23, 2019

rcraighead

Unfortunately no, it seems broken.

For now Ctrl+F still is enough for me - when you want to check specific Class it still searches all the classes in the menu on the left.

CarlosCanto

Is there any way to run OMV without running ESTK ?
I pretty liked OMV, but since i moved to VSCode i just don't want to open 2 text editors at once, just to use OMV.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 23, 2019 Jul 23, 2019

no I don't think it's possible "as is"

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jul 23, 2019 Jul 23, 2019

Lumenn​ If you use Typescript, you get the OMV as autocomplete while typing inside VSCode:

ImpressiveFondGreatargus-size_restricted.gif

I made a web app​ which demonstrates dynamic Typescript support to sample how it feels:

GrizzledGlitteringBubblefish-size_restricted.gif

And the setup to get this is located here, though it may be slightly out of date. If you try and run into issues let me know and I'll rewrite it -- I had to move to Ten A's types because pravdomil's seemed archived/broken.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 23, 2019 Jul 23, 2019

fantastic web app, I love it!! thanks for sharing

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jul 23, 2019 Jul 23, 2019

Thanks Carlos! It's still very early in development and lacks robust syntax highlighting, but you can right click to see some extra options, and press control+S to save a snippet then use the current URL to direct link to it. You can also compile from ECMA 2018 Javascript down to something compatible with ECMA 262 and write completely modern JS. Wanted to build it primarily as a shared coding space for replying to forum posts!

Hasn't been battle tested either, so if you use it and find any bugs, be sure to let me know! Also, any recommendations for Illustrator scripting resources to add to the drawer would be appreciated.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jul 23, 2019 Jul 23, 2019

Hey,
webapp looks awesome, im coding in vscode also using Ten-A types-for-adobe, to got the autocompletion

Sometimes just missing whole overview, that's why i was looking for somthing like OMV.

More intrested in how do you compile ECMA 2018 to ECMA 262?
Im really missing some of the new possibilities of JavaScript

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jul 23, 2019 Jul 23, 2019

Thanks! I get that, which is why I really like those docs linked here in particular.

For the compiling I'm using @babel/standalone and targeting certain plugins to get results for what I need:

WelllitFlawlessBluebottle-size_restricted.gif

Before this web app, I had a similar setup inside a panel to run, edit and write scripts directly in the host app with some of the same features like Typescript, but additional I/O controls and a console.log alias (via CSEvent on the panel's JS):

FlippantFirsthandGangesdolphin-size_restricted.gif

I mostly just want Array methods, arrow functions and template literals, which I get now via this panel (which runs/saves compiled verisons via @babel/standalone). I'd bet there's a way to use Babel within your tsconfig directly to produce a compiled .jsx from your .ts directly every save and when your compileOnSave event is triggered, but I haven't dug into how to make it work just yet. I did come across an es6 shim repository from ExtendScript ​​after that Array discussion a few weeks back ​​which seems to have the same goal and might be worth looking into as another option though.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jul 23, 2019 Jul 23, 2019

Also rcraighead I contacted Zack Lovatt about the broken search feature as he's the owner of that site, he's already looking into how to fix it. Should be working again soon!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 24, 2019 Jul 24, 2019
LATEST

Fixed! Thanks, for contacting the right person, Inventsable.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines