Could smd translate this into JS-language

I'd like to compare speed of two languages - vbs/js.
So, if smbd have spare time, translate this, pls into JS:
b Set MyInd = CreateObject("InDesign.Application.CS3")
b Set myDoc = MyInd.ActiveDocument
b Set myTable = MyInd.Selection.Item(1).Parent.Parent 'get the table into object
b CC = myTable.Cells.Count
b Tt = 100 / CC 'step of tinting
b For i = 1 To CC
b myTable.Cells.Item(i).FillColor = "Red"
b myTable.Cells.Item(i).FillTint = 100 - Tt * i
b Next
I'd like to test it on table 20x20. Cause in VBS it works extremely slow. Wonder, what about JS speed?

OK, thanks!
-----Original Message-----
From: Robert_Tkaczyk [mailto:[email protected]]
Sent: Friday, April 18, 2008 9:51 PM
To: [email protected]
Subject: Re: Could smd translate this into JS-language
A new message was posted by Robert_Tkaczyk in
InDesign Scripting --
Could smd translate this into JS-language
for VB:
Property EnableRedraw As Boolean
Member of InDesign.ScriptPreference
If true, enables redraw during script execution.
in JS redrawing is turn off by default - you need to call Recompose or
something like that to redraw/refresh - needed when working with Text
robin
www.adobescripts.com
View/reply at
Replies by email are OK.
Use the unsubscribe form at
to cancel
your email subscription.
__________ NOD32 3038 (20080418) Information __________
This message was checked by NOD32 antivirus system.
http://www.eset.com

Similar Messages

  • I am based in Russia, and I use a Russian cred card number. Hence my apple store page is in Russian language (which i dont speak). Can I change this into English language and if yes, how?

    I am based in Russia, and I use a Russian cred card number. Hence my apple store page is in Russian language (which i dont speak). Can I change this into English language and if yes, how?

    The only way I know is that you need a physical address and credit card of an English speaking country.

  • Urgent: want function module to translate text into russian language

    Hello All,
    My requirement is that, field is fetched from std. table. This fiels of data type string, i.e., it contains text. I want to translate this text into russian language before displaying this in output. For otr text, i used se63 to translate. But, this text is not otr, it is dynamically fetched from diff. std. tables. So, se63 is not working here.
    Please help me as its very urgent.
    Useful answers will be rewarded.
    Thanks and regards,
    Ashlesha Desai

    Hi
    I don't know if there's an unique solution, you should try to open an OSS message
    All tables with description should have the language (usually field SPRAS) as key fields
    so u can try to read a record and create a new one but with the new language:
    select * from makt where spras = 'ZH'.
       makt-spras = 'E'.
       makt-maktx = ......
       insert makt.
    endselect.
    But it's better to analize the risk
    Max

  • How to translate english into other language in codes?

    Hi Experts,
    Is there any API in ABAP to translate one language into another?
    Thanks

    Hi Vincent,
    There are different ways to translate into other languages.
    For text elements in reports, Menu GOTO -> translation.
    SE63 also you can use depends on the type object/text.
    Let me know if you want more info.
    Regards,
    Manju

  • I have firefox version 3.5.2, I have received an email with a link to a web page which is in another language. How do I translate this into english?

    I have firefox version 3.5.2 and would like to know how to translate a web page from another language into english

    This is not really a firefox topic. There are many translation services of different sorts. Do a web search. Maybe try [http://translate.google.com/#fr|en|]

  • Can anybody translate this one-line Visual Basic into AppleScript?

    I have been pulling my hair out in trying to get InDesign CS4 to markup selected text with an XML tag. Supposedly this can be done using Visual Basic. Is there anybody out there that could possibly translate this seemingly simply code into AppleScript?
    myText.AssociatedXMLElements.Item(1).XMLElements.Add("break", myText)
    Here is another example:
    With myTSRangeText.AssociatedXMLElements.Item(1).Parent.XMLElements.Add("znak")
  Call .Markup(myTSRangeText)
End With
    I am still thinking that AS cannot do this… but it is worth a shot to ask.
    Thanks in advance,
    Jeff

    If it makes any difference
    This is what I have so far using AppleScript. It is very very close. But the result of running the script appends the tagged text to the end of the text in the frame. In other words, it looks like this: (assuming I had the characters "word" highlighted). This is because I can only seem to tell the story to markup using the tag. I cannot tell the selection to markup using the tag?
    This word is the item I want to tag.[word]
    I am wanting the result to tag the selected item. So it should look like this:
    This [word] is the item I want to tag.
    tell application "Adobe InDesign CS4"
        tell document 1
            set selText to object reference of (text from character 1 to character -1) of selection
            set selTextString to selText as string
            display dialog selText as string
            set parentStoryID to parent story of selection
            set myXMLTag to (get XML tag "theDate")
            set myXMLStoryTag to (get XML tag "Story")
            tell XML element 1
                set theStoryElement to make XML element with properties {markup tag:"Story"}
                tell theStoryElement
                    set myXMLElement to make XML element with properties {markup tag:"theDate", contents:selTextString}
                    tell parentStoryID to markup using theStoryElement
                end tell
            end tell
        end tell
    end tell

  • Smartform translation into other language

    Hello Experts,
    i have a requirement of printing of smartform in multiple languages i.e english and french or english and chinese depending on the selection. i have developed my form in 'English'. Now, how to translate the form in other language? Whats the process of doing that..
    Can you please explain step by step
    Regards
    Shekhar

    Hi,
    First you change the seetings in your Smartform.
    Goto Global Settings ---> Form Attributes ---> General Attributes tab
    Select the Radio Button "To All Languages".
    Now you can use smartforms in any languages.
    Please Go through the link for further reference:
    URGENT : Converting Smartform  into different languages
    Re: Multiple Language Support in Smartforms
    Hope this will help you.
    Regards,
    Dhanalakshmi L

  • Is there a way I can type in English but have it translate my words into another language?

    I speak english.  I want to be able to type the English words and have them translated into other languages.  Japanese kanji, katagana, hiragana in my specific case.  I tried using text input, but it just translates a letter at a time making my word a mix in English letters and Katagana characters. 

    seraph6496 wrote:
    I want to be able to type the English words and have them translated into other languages.
    Not now. Maybe in a few years or so. Or maybe never, if you stop to think about it.
    There are several free automatic translators on the web. You can find them by googling it. (Your Dashboard translator uses Systran's.)
    I tried using text input
    I assume you mean you enabled Kotoeri, the Japanese input method. This is for those who wish to type in Japanese. It's not a translating tool.

  • How can i translate SAP Menu into Vietnamese language?

    how can i translate SAP Menu into Vietnamese language?

    Hello,
    Don't you have the language pack?
    This should not be done by customers manully ...
    And the question is not SCM system specific.
    Maybe you should ask Basis for help ...
    Best Regards,
    Ada

  • I downloaded google translate and another app that allows you to speak into the microphone and it translates what you said into another language. The microphone on both programs says "speak now" and after I speak it doent do anything. How do I get the mic

    I downloaded google translate and another app that allows you to speak in the microphone and it translates what you said into another language. Both apps say "speak now" into the microphone but when I speak it doesnt do anything. How do I get the microphone to work on these applications?

    What mic/iPod are you using?
    Does the mic work for other apps?

  • How to Translate the Title bars into other languages.

    Hi,
    I have created a titles using the SET Title statement.  I want to translate the title into other languages.  Please help me ASAP.
    Thanks,
    Sreenivas.

    Hi,
    From SE38, GOTO (from menu bar)-->translation.
    Regards,
    Jyothi CH.

  • Translation of scripts into 'FR' language

    I have a requirement. Iam translationf remit advice script into 'FR' language.
    For this it is using RFFOF_T driver program. Iam running this script through F110 tcode.
    And this job is running in back ground mode.But in the job log is is giving the error as ZFI_REMITADVICE / window CARRYFWD, the element 635 (Carry forward below) is missing.
    ZFIT_REMITADVICE is my layout name.
    Can any one suggest me what to do this for error.
    This element is used in Carry forward window.

    Vinay,
    As it is giving you an error saying that the element is missing, include the element in your form and do not write anything in it,.
    I mean to say , at the end of the form, just include the element. Thats it. The error will be resolved.
    Regards
    Priya

  • While listening to a podcast on my iPhone I can e-mail the podcast ID. The email contains the url for the specific podcast. So you would assume that you could put that url into iTunes and it would take you to the podcast. This used to work but no longer.

    While listening to a podcast on my iPhone I can e-mail the podcast ID to share it with someone else. The email contains the url for the specific podcast. So you would assume that you could put that url into iTunes and it would take you to the podcast. This used to work but no longer. Months ago when I would e-mail myself the url all I had to do was click on the link in the e-mail and it took me right to the specific podcast in iTunes. Now it only opens iTunes and I can't figure out how to find the specific one. What good is the e-mail tab on the iPhone if it doesn't connect you to the podcast you sent?

    Same here. I just posted a question too.

  • Adobe form translation into other language

    Hello Experts,
    i have a requirement of printing of adobe form in multiple languages i.e english and french or english and chinese depending on the selection. i have developed my form in 'English'. Now, how to translate the form in other language? Whats the process of doing that..
    Can you please explain step by step
    Regards
    Shekhar

    Did you use transaction SFP to develp your form in English? If so, go to that transaction and enter your form name and select change. From there, you can select from the menu GOTO --> TRANSLATION. You will be prompted for the lanugage to translate from (Original) and the Target. From here, you will need to select 'Forms and Styles' and double-click the PDFA line. Now you will see you boxes, one with the English (on top) and the bottom half you can begin your translations to the other language.
    Just a note, it is best to perfrom this action while logged in under the language you want to translate to. We found issues with special scharacters being saved incorrectly.
    Derrick
    Banks & Company, LLC

  • Robohelp 10 Translating Content(topics) into Multiple Languages (French and many more)

    Hi Every one,
    Do any one know, how to translate whole content(TOC-Topics) into multiple languages with the help of Robohelp 10. Is it possible to translate data to other languages such as French, German, and Spanish.
    Please provide proper solution for the same.
    Thank you.
    Regards,
    Nutan Shinde

    Are you asking if Rh does the transalation for you? If so the answer is no. No help authoring tool does that.
    The translation process is covered in a number of threads on the forum.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

Maybe you are looking for

  • DBsequence not working in ADF app

    HI All I am using Jdeveloper 11g release 2 (11.1.2.3.0) and Oracle DB. I have created an entity object and set the type of the filed as DBseequence but forgot to insert the sequence+trigger in the database for the table from which it was created. I h

  • I bought laptop online, gonna return it. How to get refund to another card?

    I bought a macbook online, and I decided to return it.The credit card i used to purchase was canceled, I wanna know to to get refund to a different card.

  • NEED HELP FINDING A BACKUP 7.1.1

    I had an activation error on my phone today and it wouldnt let me do anything from that screen so I tried plugging it in to my mac and it just pulled up a screen saying that same thing not letting me do anything. So I put the phone through recovery m

  • Infostructure update routine : debug problem

    Hi All, We have created three update routines for three corresponding infostructures. But I am not able to debug this routine. I tried to put a hard breakpoint also, but it was of no use. The Infostructure logs the changes in the sales order. How can

  • Low database cache hit ratio (85%)

    Hi Guys, I understand that high db cache hit ratio doesn't indicates that the database is healthy. The database might be doing additional "physical" reads due to un-tuned SQL. However, can explain why a low cache hit ratio might not indicate the db i