You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have this very old Java script we use at work. When run, it outputs data to a Word file. In the Word file, I want to change the spacing of the lines. Right now, it uses Dispatch.call(selection, "TypeParagraph"), so it returns a new paragraph between the two lines of text, but I want it to return a Line Break.
Here is a sample of the code:
Dispatch.put(alignment, "Alignment", "1");
Dispatch.put(font, "Size", "10");
Dispatch.call(selection, "TypeText", "XXX Proprietary and Confidential Information");
Hi, I have this very old Java script we use at work. When run, it outputs data to a Word file. In the Word file, I want to change the spacing of the lines. Right now, it uses Dispatch.call(selection, "TypeParagraph"), so it returns a new paragraph between the two lines of text, but I want it to return a Line Break.
Here is a sample of the code:
Dispatch.put(alignment, "Alignment", "1");
Dispatch.put(font, "Size", "10");
Dispatch.call(selection, "TypeText", "XXX Proprietary and Confidential Information");
Dispatch.call(selection, "TypeParagraph");
Dispatch.call(selection, "TypeText", "UNCONTROLLED COPY");
Dispatch.call(selection, "TypeParagraph");
Dispatch.put(alignment, "Alignment", "2");
Dispatch.call(selection, "TypeText", XXname_count.elementAt(j));
Dispatch.call(selection, "TypeParagraph");
I don't code much, and I know enough to fumble my way to what I need to get done; this is my first time playing with Java code.
The text was updated successfully, but these errors were encountered: