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

How to create Create dropdown list with icons in ExtendScript

Explorer ,
Jan 31, 2025 Jan 31, 2025

Hi! Does anyone know how to create a dropdown with an icon in ExtendScript?
I saw this in a regular script (not an extension) and I really want to know how!

Here is the example of what i saw, as you can see, there is an blue image icon in the list itself

AfterFX_22-23-58.pngexpand image

TOPICS
FAQ , Scripting
246
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

Advocate , Feb 02, 2025 Feb 02, 2025

Each ListItem has a .icon property. Load a PNG using File(<URI>) and assign that file to the .icon property, and when you show your dropdown list the icon should be there.

Translate

correct answers 1 Pinned Reply

Adobe Employee , Jan 31, 2025 Jan 31, 2025

Hi @,

See if this tutorial might give you the info for this: https://adobe.ly/4hFJW1w

I hope it helps. Please let us know if it does.

 

 

Thanks,
Kevin

 

Translate
Adobe Employee ,
Jan 31, 2025 Jan 31, 2025

Hi @,

See if this tutorial might give you the info for this: https://adobe.ly/4hFJW1w

I hope it helps. Please let us know if it does.

 

 

Thanks,
Kevin

 

Kevin Monahan - Sr. Community & Engagement Strategist – Pro Video and Audio
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
Explorer ,
Feb 01, 2025 Feb 01, 2025

Unfortunately, I have already seen this video, it talks about icons in regular buttons, but there is no information about the list menu items

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
Advocate ,
Feb 02, 2025 Feb 02, 2025

Each ListItem has a .icon property. Load a PNG using File(<URI>) and assign that file to the .icon property, and when you show your dropdown list the icon should be there.

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
Explorer ,
Feb 02, 2025 Feb 02, 2025
LATEST

Thank you!

This works

menu.add("item", "name").image = File("URL");

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