shahriara7551080
Community Beginner
shahriara7551080
Community Beginner
Activity
‎Apr 10, 2018
06:29 AM
o for which?
... View more
‎Apr 10, 2018
02:10 AM
i want Script for create border for text frame . pleas help me .
... View more
‎Apr 07, 2018
05:45 AM
hi . i have algoritm place multi text frame in page indesign . now , i want while file page then create new page and place text frame in new page . pleas help me . code COM(C#) or Script
... View more
‎Mar 12, 2018
02:26 PM
extendscript java script
... View more
‎Mar 06, 2018
01:58 AM
hi . how pass content x to y ? var textFrame = app.selection[0]; x=textFrame.texts[0].contents ; app.scriptArgs.setValue("y", "x"); In c# Console.WriteLine(InDesignApp.ScriptArgs.GetValue("y")); this printing x . i want print content x. pleas help me.
... View more
‎Mar 05, 2018
01:54 AM
noooooooooooooooooooooooooooo. I did not answer yet
... View more
‎Mar 05, 2018
01:38 AM
pleas help me .
... View more
‎Mar 05, 2018
01:09 AM
how use variable x in c#? var textFrame = app.selection[0]; x=textFrame.texts[0].contents ; alert(x); i want Assign Variable x to text box in C#. this code printing "textFrame.texts[0].contents" but i want content textframe . pleas help me . In js, app.scriptArgs.setValue("x", "textFrame.texts[0].contents"); In c# Console.WriteLine(InDesignApp.ScriptArgs.GetValue("x")); An idea i have ، first i create text file of content text frame then assign text file to textbox in c#.
... View more
‎Mar 03, 2018
03:21 PM
this is printing "textFrame.texts[0].contents". !!!!! i want print content of "textFrame.texts[0].contents". pleas help me .
... View more
‎Mar 02, 2018
01:07 PM
i want script variable To assign variable in c#. in this code i want variable x in script To assign lable1.text .: string copy = string.Format(@" var textFrame = app.selection[0]; //alert( textFrame.texts[0].contents ); x=textFrame.texts[0].contents ; -----> i want use this variable in c# . alert(x); "); InDesign.Application InDesignApp = (InDesign.Application)Activator.CreateInstance(Type.GetTypeFromProgID("InDesign.Application")); InDesignApp.Activate(); InDesignApp.DoScript(copy, InDesign.idScriptLanguage.idJavascript); pleas help me .
... View more
‎Mar 02, 2018
03:49 AM
first: i want copy contents text frame then past to a variable. second : I want to put the content (text ) textframe in the textbox c#. pleas help me.
... View more
‎Mar 01, 2018
11:56 PM
hi . i want script for copy text of text frame and print text frame in alert. how select All characters in the text frame.
... View more
‎Mar 01, 2018
12:55 PM
i want script for copy all characher (text) in text frame then past to string . pleas help me.
... View more
‎Feb 28, 2018
03:30 AM
hi i want script select text(pharagragh) of textframe . and copy selected text then past to variable sring . pleas help me . pleas
... View more
‎Feb 28, 2018
01:43 AM
i want script select text in text frame . and copy selected text then past variable .
... View more
‎Feb 27, 2018
10:03 AM
how script seclect pharagraph and copy then paste to string variable.? i want secript to copy text into text frame and past text to variable. pleas help me . pleas
... View more
‎Feb 27, 2018
04:29 AM
hi i have a textframe in page indesign . now i want script for copy charachers(text) into this text frame and past this text to textbox in c# ? i can coonnection indesign and visulstadio by COM. pleas help me .
... View more
‎Feb 19, 2018
09:09 PM
this code correct: sourceFile = File.openDialog ("Show me the source"), destPage = app.activeDocument.pages[0], sourceDoc = app.open(sourceFile, false), sourceFrame = sourceDoc.pages[0].textFrames[0]; outFrame =sourceFrame.duplicate(destPage ,["10 mm","10 mm"]); outFrame.move(["13 mm","13 mm"]); sourceFile = File.openDialog ("Show me the source"), destPage = app.activeDocument.pages[0], sourceDoc = app.open(sourceFile, false), sourceFrame = sourceDoc.pages[0].textFrames[0]; outFrame =sourceFrame.duplicate(destPage ,["10 mm","10 mm"]); outFrame.move(["13 mm","13 mm"]);
... View more
‎Feb 19, 2018
08:21 PM
this have a perablem . outFrame =sourceFrame.duplicate(destPage,["10 mm","10 mm"]); the out put is : this not position 10mm*10mm. pleas Guide me.
... View more
‎Feb 19, 2018
11:12 AM
i want fit content indd file (selected ) in rectangel.
... View more
‎Feb 19, 2018
10:39 AM
your excut this code : sourceFiles = File.openDialog ("Show me the source","*.indd", true), destPage = app.activeDocument.pages[0], sourceFile, sourceDoc, sourceFrame, outFrame, mX = 0, mY = 0; while (sourceFile = sourceFiles.shift()) { sourceDoc = app.open(sourceFile, false); sourceFrame = sourceDoc.pages[0].pageItems[0]; outFrame = sourceFrame.duplicate(destPage,[mX,mY]); // mX += outFrame.geometricBounds[3] - outFrame.geometricBounds[1]; // sourceDoc.close(SaveOptions.NO); }
... View more
‎Feb 19, 2018
10:30 AM
tanks
... View more
‎Feb 19, 2018
10:16 AM
pleas give me code .
... View more
‎Feb 19, 2018
01:59 AM
i dont know parametr duplicate(destPage,["mx","my"]); how work mx , my ? when mx = 0 , my=0 text frame place center page. pleas description mx , my .
... View more
‎Feb 18, 2018
02:54 PM
I can open a number of indesign files using this code: var sourceFiles = File.openDialog ("Show me the source","*.indd", true), destPage = app.activeDocument.pages[0], sourceFile, sourceDoc, sourceFrame, outFrame, mX = 0, mY = 0; while (sourceFile = sourceFiles.shift()) { sourceDoc = app.open(sourceFile, false); sourceFrame = sourceDoc.pages[0].pageItems[0]; outFrame = sourceFrame.duplicate(destPage,[mX,mY]); // mX += outFrame.geometricBounds[3] - outFrame.geometricBounds[1]; // sourceDoc.close(SaveOptions.NO); } now i want fiting every file into a rectangle. For example, I made a rectangle manually: var sourceFiles = File.openDialog ("Show me the source","*.indd", true), destPage = app.activeDocument.pages[0], sourceFile, sourceDoc, sourceFrame, outFrame, mX = 0, mY = 0; while (sourceFile = sourceFiles.shift()) { sourceDoc = app.open(sourceFile, false); sourceFrame = sourceDoc.pages[0].pageItems[0]; var myDocument = app.documents.add(); var myRectangle = myDocument.pages.item(0).rectangles.add(); myRectangle.geometricBounds = ["50p", "20p", "40p", "40p"]; myRectangle.fit(sourceFrame.duplicate(destPage,[mX,mY])); // mX += outFrame.geometricBounds[3] - outFrame.geometricBounds[1]; // sourceDoc.close(SaveOptions.NO); } But it's a problem. please help
... View more
‎Feb 16, 2018
03:45 AM
pleas help me.
... View more
‎Feb 15, 2018
11:43 PM
I work in the newspaper.I have several(example : 30 number) text frames and image in different sizes in separate indd files. I want an algorithm to put all the files in a file.Optimize the minimum free space(white space). For more details: The dimensions of each image or textframe are composed of a frame 2*5.In the image below. The picture below is a sample of the output. pleas help me.
... View more
‎Feb 14, 2018
04:19 PM
how script create img catalog with images diferent dimesions? like Like the picture below. pleas help me.
... View more