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

Access Photoshop Slices Through JavaScript

Explorer ,
Jul 03, 2009 Jul 03, 2009

Hello,

I'm probably looking in the wrong place but I cannot find information on accessing Photoshop slices in the the ExtendScript Docs and was wondering if someone could help me so I can do the following using JavaScript:

  1. Loop through all slices in the active document.
  2. Get the selected (active) slice(s) in the active document.
  3. Change the information in the 'Slice Options' dialogue box.

slice-options.jpg

Many Thanks!

TOPICS
Actions and scripting
1.9K
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
Guru ,
Jul 03, 2009 Jul 03, 2009
LATEST

You can not deal with slices directly using JS.

There is a work around that will let you get some info about the slices but I am not aware of any method to write the info in the slice options.

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