News:

Main Menu

Scripts

Started by Tracy, May 12, 2023, 09:41:53 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Tracy

I am going to attempt writing a script, I have edited a script before but never created one
I have the code, from Indesign secrets, "Set Character Style to the Default none", I have a BC that always
defaults on the character style when I open the document and paste the text I'm going to modify.
Not a deal breaker but I'm slow today and this just popped up in the email.
thought I would give it a try. I think my first question would be Text Editor, It seems I need a text editor
and you have to save it as below, so do I have a text editor that will save like this?
UXP Scripts should be written in JavaScript, and the file should be saved like this
<filename>.idjs. Saving the script as .idjs enables the UXP engine in InDesign and executes the script as UXP script.( .jsx will execute as normal ExtendScript)

DCurry

I don't think you need a particular text editor - just make sure your file has the right extension.

I'm not a scripter but I manipulate a lot of data and absolutely love BBEdit. I use the free version - the pay version has more features for coders but I don't need that. Even the free version is freakin powerful.
Prinect • Signa Station • XMPie

Build a man a fire, and he'll be warm for a night. But set a man on fire, and he'll be warm for the rest of his life!

Tracy

I have used BBEdit a long time ago thanks D
I will try it, just got busy so I will try it Monday
wanting to leave early too, were slow, all my coworkers left already  :(

pspdfppdfxhd

Practice, remember how hard the f barre chord was at the beginning.   ;D ;D