check the creator of a file
Posted: Wed Apr 01, 2015 12:41 pm
In a switch workflow we can use [Doc.Application] contains "Illustrator" to check is a file is illustrator
How can i do it by script when opening the file in Photoshop?
Can i do something like this:
if ($extension == "eps" || $infile.application.name.indexOf("Illustrator")>-1)
{.....
This is because there are eps files from illustrator and from photoshop, and illustrator files needs to be rasterized but photoshop files don't.
How can i do it by script when opening the file in Photoshop?
Can i do something like this:
if ($extension == "eps" || $infile.application.name.indexOf("Illustrator")>-1)
{.....
This is because there are eps files from illustrator and from photoshop, and illustrator files needs to be rasterized but photoshop files don't.