Quantcast
Channel: Adobe Community: Message List - Photoshop Scripting
Viewing all articles
Browse latest Browse all 27456

How to get the Pattern ID of pattern in pat file

$
0
0

Hi,

I want a set of actions to be executed to an image. One of the action is to apply a pattern. I created a action in the hope that the new pattern can be selected before running the action. But the Pattern name and Pattern ID is hardcoded in the action. I have converted the action to a Javascript file and passing Pattern Name and Pattern ID to the function.

 

The problem that I face now is how to find the Pattern id of the pattern? Is there a way that I read the pat file to get the Pattern ID for each pattern.

 

  Action: Theme1

  Select layer “Art-11-1”  Without Make Visible

  Fill

  From: 8.569 inches, 4.306 inches

  Tolerance: 32

  With Anti-alias

  Using: pattern

  Pattern: pattern

  Name:  “Calypso latte.png”

  Pattern ID:  “09a1120d-f7b6-11e3-a430-9f2bed0d0ccf”

 

There are 100s are pattern images in the pat file. How to get the Pattern ID?

Thanks

Govind.


Viewing all articles
Browse latest Browse all 27456

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>