Help changing applescript to change font color in a text box
I have this script working BUT I want to change the text INSIDE the text box to the "noprint" swatch
I am a beginner and have no clue.
Can someone help me?
tell application "Adobe InDesign 2022"
tell active document
delete unused swatches
set allSwatches to every swatch
make color with properties {model:spot, space:CMYK, color value:{100, 0, 0, 0}, name:"noprint"}
make color with properties {model:spot, space:CMYK, color value:{0, 0, 0, 100}, name:"wb"}
set infoLayer to make layer with properties {name:"Job Info - Non-Print", printable:true, layer color:blue}
set infoLayer to layer "Job Info - Non-Print"
end tell
tell the active document
tell the first spread
set slugText to make new text frame with properties ¬
{geometric bounds:{(item 4 of page 1's bounds), 0.25, ((item 3 of page 1's bounds) + -1), 3}, stroke color:"noprint", stroke weight:1}
set contents of slugText to "one" & return & "two"
end tell
end tell
end tell
