Copy link to clipboard
Copied
Hi Forum,
Im new to illustrator scripting.
Would anybody help me to access "Separations preview panel" through script.
thanks.
looking forward for your fabulous support on my request.
thanks.
sorry, you might have run out of luck, I think that's as far we can go with actions
Copy link to clipboard
Copied
I don't think you can mess with the separations preview through the scripting commands, what are you trying to do if it was possible?
Copy link to clipboard
Copied
HI Silly-V & Forum;
This is my task.
When somebody try to export to artboard as PDF, the script should automatically show the "Separations preview Panel" visible and after check all the plates, then he should export the artboard as PDF.
eg.
When Command keystroke P is pressed, A dialog should appear, where I'll have to press button"Check Seperations Preview",
then the Separations panel should appear, after check, when export to PDF button is clicked, the artboard should be exported as PDF.
this is my necessity.
Pls help me on this.
thanks
Copy link to clipboard
Copied
If to verify ink plates is your goal, there may be a way to simulate the panel with script, though it would be a somewhat complicated process involving ScriptUI
Copy link to clipboard
Copied
Hi,
Thanks for your response.
Could you please post here the way to stimulate the panel with the help of script. Is that possible for you to help me.
thanks for your support.
Copy link to clipboard
Copied
It is too complicated to do quickly, and we do not know 100% of your goals, but the way you'd do it is use the document's inkList to see which separations are listed and printable, then you would display that information in a UI window.
Copy link to clipboard
Copied
OK thanks,
Any little bit of script for example to display the desired ink (say I like to display only the Cyan ink if needed).
This would help me to continue further.
thanks for your help
Copy link to clipboard
Copied
a workaround to your original question would be to record an action to bring up the Panel, then you could call this action in with your script, if you have CS6 or newer
Copy link to clipboard
Copied
Hi Carlo,
I have cs6 installed.
thanks for the support.
Should I do like below...... to run the action.
tell application "Adobe Illustrator"
do script "Delete Unused Panel Items" from "Default Actions" without dialogs
end tell
thanks for your support.
Copy link to clipboard
Copied
Also Carlos,
I tried to Record opening the separations preview panel, made inks invisible and visible activities and stopped the recording.,
While running the Action recorded, Nothing happened.
WOUld be much appreciate, if I have the support on creating action for opening the panel and make activities like visibile and invisible.
would be a great help, if I have the recorded actions itself on hand. Because Im running short of time, for this a very long days ago.
thanks for the support.
Copy link to clipboard
Copied
To record showing the panel you must use the "Insert Menu Command" in the Actions Panel Fly out menu. I'm not sure if you can record stuff like using the panel, sorry I'm not in front of the computer at the moment
Copy link to clipboard
Copied
Carlos!!! Your are Great.
Yes now I can able to bring the Separations Preview Panel. However i Cant able to record the actions like,
i) making the colour CYan invisible
ii) making the color Magenta invisible and CYAN to visible,
so on
Just playing around and recording them as actions.
Finally, when running the action, visible and invisible actions should work around.
sorry, but any help on this please.
thanks for your support Carlos.
Copy link to clipboard
Copied
sorry, you might have run out of luck, I think that's as far we can go with actions
Copy link to clipboard
Copied
Okey thank you Carlos.
Even though i cant able to captures accessing separations panel, atleast i have learnt to create action for separations panel.
Great help from you Carlos.
Many thanks for your support.
RAJN
Copy link to clipboard
Copied
you're welcome
Copy link to clipboard
Copied
Sorry, I had a different idea about the purpose of seeing the separations, for your work the actions & scripts may be the way to go.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now