Ask a Question related to Adobe Indesign Windows, Design and Development.
-
dzenan_handzic@adobeforums.com #1
right to left writing?
Hi everybody!
I'm one of those users who only can laugh people on this forum with questions that can show only my desperate lack of knowldege, both in english and ID. Anyway thanx for all of you who, despite of all above mentioned facts, are helping me. Theres another trouble and question:
Is it possible to work in IDCS with arabic text? When I place a word manuscript in arabic it's messed up and everything goes in wrong direction, i.e. ordinary left to right letters - inverse of what I need. I often get manuscripts with some arabic text (nothing connected with Al-Qaida :), mostly some religious stuff), so i desperately need to know can I work with this text in ID.
dzenan_handzic@adobeforums.com Guest
-
please : how writing in design mode from right to left
hello friends :::: please tel me ....... i want to write arabic and hebrew in design mode .... but i cant !!!!!!!!! it write just from left and the... -
LEFT + LEFT vs LEFT + RIGHT
In order to do a full outer join in MySQL one must use a union. Is there any good reason to do SELECT ... LEFT JOIN UNION SELECT ...... -
Get Top and Left?
I have added a control to my form in the codebehind (eg TextBox tb1 = new TextBox();). I now need to determine the width, CSS left, CSS top... -
Writing from Right-to-Left
Hello everyone, I'm programing a "user's sign-in form". The problem is that the form is in Hebrew and when I launch the form- when a user types in... -
Right to Left Text!
Hi, Can anyone help me with this big problem! How can I use other Languages like Arabic,Farsi,... that write "Right to Left"? How can I give... -
George_Bilalis@adobeforums.com #2
Re: right to left writing?
You need IDCS ME version of program. Check with [url]www.winsoft.fr[/url]
rgrds
George
George_Bilalis@adobeforums.com Guest
-
Gabriel_Ayala@adobeforums.com #3
Re: right to left writing?
If you happen to have an older version of ID, this script is supposed to work to reverse your text.
//ReverseCharacters.js
//An InDesign CS JavaScript
//
//Reverses the order of the characters in each line of text in the selected story.
//
var myStory;
if(app.documents.length != 0){
if(app.activeDocument.stories.length != 0){
switch(app.selection[0].constructor.name){
case "TextFrame":
case "Text":
case "InsertionPoint":
myStory = app.selection[0].parentStory;
myReverseCharacters(myStory);
break;
}
}
}
function myReverseCharacters(myStory){
var myLine, myTextStyleRange;
for(var myCounter = myStory.lines.length-1; myCounter >= 0; myCounter --){
myLine = myStory.lines.item(myCounter);
if((myLine.characters.item(-1).contents.charAt(0) == "\r")&&(myLine.length > 1)){
myLine = myLine.characters.itemByRange(0, -2);
}
if(myLine.length > 1){
myLine.contents = myReverseString(myLine.contents);
}
}
}
function myReverseString(myString){
var myReversedString = "";
for (var myCharacterCounter = myString.length-1; myCharacterCounter >=0; myCharacterCounter --){
myReversedString += myString.charAt(myCharacterCounter);
}
return myReversedString;
}
Gabriel_Ayala@adobeforums.com Guest
-
Gabriel_Ayala@adobeforums.com #4
Re: right to left writing?
You should post a request in the scripting forum for a script you can use in ID CS to do this. Otherwise you are going to need IDCS ME like George suggested.
Gabriel_Ayala@adobeforums.com Guest



Reply With Quote

