Copy link to clipboard
Copied
I´m passing by a strange script behaviour. I´m trying to refine a script to export artboards as TIFF.
So suppose I started "var op = new ExportOptionsTIFF()"
And I set op.resolution = 250
Now I try to run this script via Extended Script Toolkit. I press play and it goes right...But If I make more tests I have this problem:
If I set a differnt resolution (for example, 365) the Script will ignore this new and will use the only value 250 defined in the past (in my first test). If, for a third time, I set another new value, the Extended Script will ignore this value and use the 365 I set in a previous test.
Look´s it´s recording the differnt values I put but it is always delayed one or two times 😕
Do not know if I was able to better explain the problem.
Have you already passed by it?? Should I consider this as a problem? Or it´s only an Extendes Script software mistake?
Thank you a lot
Gustavo.
Copy link to clipboard
Copied
Hi Klemango
Thank you for posting this. Althought I was not intended to need Photoshop to do it...it´s good to learn I could do this way too ![]()
Just one question: Why did you need to save an EPS in order to open in Photoshop?? Would not opening the AI file directlly in Photoshop (considering you chosed to include the PDF data) save time and code?
Best Regards
Gustavo.
Copy link to clipboard
Copied
Perhaps. I'm not sure. I was having problems importing the proper percentages of CMYK colors into PS (mainly K) via files saved as AI or PDF with scripts. Opening those same files in PS manually didn't seem to have this problem. EPS files didn't have this issue, so I stuck with them. They also seem to save extremely fast.
That's why I was interested when I saw your post about the new TIFF features in CS6--because I had such a problem! I was hoping CS6 would do away with all the nonsense I had to go through!
Copy link to clipboard
Copied
I need to learn how to work with BridgeTalk..I have some questions yet. But when I learn then I´ll be able to make test like you
haha
Copy link to clipboard
Copied
Ahh..hey friends...
As I promised, I´d like to share you the final version of my script. As TIFF is not working properly in CS6, I adapted my script to export as PSD. So here´s the version 1 (it´s my first public script, from a very beginner in programming and JavaScript. If you find any crazy thing in the code, please do not worry hahahaha
Download via this link: https://dl.dropbox.com/u/35273119/Export%20artboards%20as%20PSD%20v1%20%28English%20language%29.jsx
Hope you like it ![]()
Best Regards
Gustavo.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more