Adding Spots with Tint in Illustrator

So, I’m trying to add spots for a template page and I’m running into an issue. When I try to make the last two spots it errors “Can’t get spot”. When I take away the tints it works just fine, but I need spots with a percentage tint. Is there a way to do that? I can’t figure it out.


tell application "Adobe Illustrator"'s document 1 --Add Spots
	if not (exists spot "White") then make spot with properties {name:"White", color:{cyan:0.0, magenta:0.0, yellow:0.0, black:0.0}}
	if not (exists spot "Custom Black") then make spot with properties {name:"Custom Black", color:{cyan:75.02, magenta:67.97, yellow:67.02, black:90.16}}
-------- Problems start here --------
	if not (exists spot "Smoked Plex") then make spot with properties {name:"Smoked Plex", color:{cyan:75.02, magenta:67.97, yellow:67.02, black:90.16}, tint:85.0}
	if not (exists spot "Clear Plex") then make spot with properties {name:"Clear Plex", color:{cyan:75.02, magenta:67.97, yellow:67.02, black:90.16}, tint:30.0}
end tell

HI. Unlike InDesign, Illustrator doesn’t support spot tints as discrete swatches; tints are object-level adjustments.

http://i.imgur.com/z0ZSuoI.png

Are you sure? Because I see tinted swatches here in my template (what I’m trying to automate).

Perhaps Adobe fundamentally changed it in later versions; your swatch pane certainly looks different. Which version are you using? When you select the 85% swatch, does the result of the following contain any reference to tint?

tell application "Adobe Illustrator"'s document 1
	spot ((choose from list (get spots's name))'s item 1)'s properties
	end tell

I’m using the latest CC 2015.

Doesn’t look like there’s any tint called out.


{name:"Smoked Plex", color:{class:RGB color info, red:0.0, green:0.0, blue:0.0}, color type:spot color, spot kind:spot rgb color, container:document 1 of application "Adobe Illustrator", best type:reference, default type:reference, class:spot, index:4}