Skip to main content
Participant
July 3, 2009
Question

Access Photoshop Slices Through JavaScript

  • July 3, 2009
  • 1 reply
  • 1902 views

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!

This topic has been closed for replies.

1 reply

Inspiring
July 4, 2009

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.