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