Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Hi shahriara7551080 ,
please post questions like that in the appropriate forum here:
Regarding your question:
I think, Chinnadk gave you the answer to a similar question here:
Re: how using script variable in c#?
Regards,
Uwe
Copy link to clipboard
Copied
Moving to InDesign Scripting forum