This content has been marked as final.
Show 5 replies
-
1. Re: Changing Text using script
CarlosCanto Sep 6, 2013 10:55 AM (in response to michael_mandahl)this should get you started with the name changing based on the note, using prompts
var textFrames = activeDocument.textFrames; for (var i = 0 ; i < textFrames.length; i++) { if (textFrames[i].note == "JOBNAME") { var jobname = prompt ("Enter JOB NAME", "Your Name", "Note Changer"); textFrames[i].contents = jobname; } } -
2. Re: Changing Text using script
michael_mandahl Sep 6, 2013 11:20 AM (in response to CarlosCanto)That's awesome! Exactly what I was looking for. I guess I can repeat and string together mutliple entires.
I was wondering what "Note Changer" is refering to in the prompt and if it matters what I put there.
Thank you Carlos.
-
3. Re: Changing Text using script
pixxxel schubser Sep 6, 2013 11:39 AM (in response to michael_mandahl)Note Changer - this is only the title of the prompt dialog. You can change this.
-
4. Re: Changing Text using script
michael_mandahl Sep 6, 2013 11:49 AM (in response to pixxxel schubser)That's what I thought, just wanting to make sure.
Next, I'm going to attempt to integrate this into another script.
thanks for the help.
-



