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

Scripts and understanding

Community Beginner ,
Aug 25, 2021 Aug 25, 2021

Hey, i've been reading about scripting, but i'm finding it difficult to understand how to get started.

Could someone provide a step by step guide?

 

xx Pandos

TOPICS
Actions and scripting , macOS
584
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
Adobe
LEGEND ,
Aug 25, 2021 Aug 25, 2021
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 ,
Aug 25, 2021 Aug 25, 2021

Pick a project, make it as simple and easy as you can – really, really simple, even if it only changes "one thing", a single command such as inverting an image or running a filter.

 

Then read documentation and search the web (forums such as this, blogs etc) for real code samples to make a script to do that "one thing".

 

A script to do "one thing" may take a single line of code, or perhaps many!

 

Presuming that you are not interested in AppleScript or VB Script, then it is all JavaScript/ExtendScript, however, there are "two types" – standard DOM code, or Action Manager code.

 

Good luck, the forum is here to help.

 

 

 

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 ,
Aug 25, 2021 Aug 25, 2021

You also need a text editor or IDE for your chosen scripting language.

 

Although a simple plain text editor is all you need for JS, a "coding" text editor with JS syntax highlighting is better. Better yet is something specific for Adobe script writing.

 

What OS and version do you use?

 

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 Beginner ,
Aug 25, 2021 Aug 25, 2021

Screenshot 2021-08-25 at 11.37.38.pngexpand image

 

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 ,
Aug 25, 2021 Aug 25, 2021

I would recommend:

 

Download Visual Studio Code

 

Once installed, add the following extension:

 

ExtendScript Debugger

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
Guide ,
Aug 25, 2021 Aug 25, 2021
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 ,
Aug 25, 2021 Aug 25, 2021
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 ,
Aug 25, 2021 Aug 25, 2021

Hello, I've heard good things about Davide Barranca's books, and make sure to check his blog: Courses

see also Adobe Creative Cloud

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 ,
Aug 25, 2021 Aug 25, 2021
LATEST

David's book is great. The scripting guides that Adobe provides are confusing and not always accurate. 

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