strings in JavaScript question and location

Hi all

Not sure that this is right forum for my question... I have when even a few constant strings in my JavaScript files that I have run these scripts from my inDesign plugin in C/C++ code. Anyone know how I can make localization in scripts files (I don't know how support us localization in C / C ++ files).

TIA,

MOR

See "Location ExtendScript strings" in the JavaScript Tools Guide.

Tags: InDesign

Similar Questions

  • JavaScript question calling location.href

    Hello

    I'm calling a function javascript to the click event of a command button.
    function test1() {}

    Alert ("Simple alert");
    Location.href='/context/faces/test';
    Window.Location='/Context/faces/test';

    }

    The redirect does not work the method here. If I Uncomment alert in the method and accept the alert from the rediredirection that happens. Someone tell me the issue here? Is there another way to have the redirect using javascript?

    Thank you
    Bastien

    Yes, that seems correct (I wanted to say in the case of page 2, back to page 1). You use a binding of the ADF, and if so, what are the conditions of discount for the iterators on page 1?

    John

  • What I need to know is the name and location of the executable that runs when you click on detect monitors in the menu screen resolution of windows 7?

    Original title: name/location of the executable that runs when you click on detect monitors?

    What I need to know is the name and location of the executable that runs when you click on detect monitors in the menu screen resolution of windows 7?

    Hello

    Your question is better suited in the MSDN forums. Please post your question in the MSDN forums.

    You can follow the link to your question:
    http://social.msdn.Microsoft.com/forums/en-us/categories/

    It will be useful.

  • Get the challenge questions and responses of OIM 11 g PS2 (11.1.2.2.0) using a code

    Hello

    I have to write code to pick up the challenge question and answer for a user (a user has only a matter of challenge), that's the feature 'Reset password', I have to create a webservice that can retrieve this information for the portal application (it is that we have a custom interface). My webservice was working fine until 11g PS1 I could to the query table "DMP" and get relevant data for the user, but after upgrading to 11g PS2 (11.1.2.2.0) the old code does not work it is back * to challenge and answer question.  So, I updated the code, now instead of directly querying table PCQ I use the API of the IOM, I am able to make the issue of the challenge for a user by using the getChallengesForUser method, but I don't know how to recover the answer to this question...  Please help it is a little urgent.

    PS. : If the soil is to use the getChallengesForLoggedInUser method if you please how can I create a session in the same method for the user.

    Concerning

    Dheeraj

    Code snippet:

    oimConn = new OIMConnect();

    Customer OIMClient = oimConn.connect ();

    usrMgr = client.getService (UserManager.class);

    ChallengeResponseService responseServi = (ChallengeResponseService.class) client.getService;

    ClientSession = client.getService (ClientLoginSessionService.class) ClientLoginSessionService;

    System.out.println ("inside the getSecretQues()...");

    System.out.println ("inside the getSecretQues ()... userId..." + userId);

    clientSession.loginSessionCreated (userId);     I thought that it would create a user login session so that I could use 'getChallengesForLoggedInUser '.

    Set setForQues = responseServi.getChallengesForUser (username, Locale.US);

    Iterator setForQuesItr = setForQues.iterator ();

    If (setForQues.Size () > 0)

    {

    Defy challQuestion = (Challenge) setForQuesItr.next ();

    question = challQuestion.getDisplayValue (); This works very well and retrieves the question

    }

    The code below is to get the answer works but doesn't

    SER value = responseServi.getChallengesForLoggedInUser (Locale.US);

    Object [] challengeQuesAns = ser.toArray ();

    for (co int = 0; co < challengeQuesAns.length; ++ co)

    {

    Defy challengeAns is challengeQuesAns (Challenge) [co];.

    System.out.println ("Inside getSecretQues ()... challengeQuesAns..." + challengeAns.getId () + "" + challengeAns.getResponse () + "" + challengeAns.getResponse ());

    If ((challengeAns.getDisplayValue (). Equals (question)))

    {

    response = challengeAns.getResponse ();

    }

    }

    clientSession.loginSessionDestroyed (userId);

    Can you try below extracted and see if you are able to print the answer decrypted?

    try {}

    tcUserOperationsIntf userOperationsIntf = (tcUserOperationsIntf) oimClient

    .getService (tcUserOperationsIntf.class);

    resultSet tcResultSet = userOperationsIntf

    .getChallengeValuesForUser (Long.parseLong (take));

    If ((resultSet == null) |) ((resultSet.isEmpty ())) {

    System.out.println ("the ResultSet is empty or null");

    Return challengeQuestionAnswers;

    }

    rowCount int = resultSet.getRowCount ();

    for (int j = 0; j)< rowcount;="" j++)="">

    resultSet.goToRow (j);

    String columnNames = resultSet.getColumnNames ();

    for (int i = 0; i)< columnnames.length;="" i++)="">

    String question = resultSet

    .getStringValue ("Users.Password challenge Question.Question");

    String response = resultSet

    .getStringValue ("Users.Password challenge Question.Answer");

    challengeQuestionAnswers.put (question, answer);

    }

    }

    } catch (Exception e) {}

    e.printStackTrace ();

    }

  • OMB more change and remove modules and locations?

    Hi all

    First I want to thank you all of you in advance for your time and concern. I want to know how to change the location information to an ORACLE module, SQL SERVER module and module FILE plate using OMB and scripts.

    If you could provide some examples of scripts and ideas related to this topic, it will be highly appreciated.

    For example, what kind of script should I have to change the password or the name of the schema in place, attach it to the corresponding module and re - import new metadata (assuming that it points to a different schema)

    Thanks again for your help and concern!

    Kind regards

    Emrah

    I think you have this question in your other display.

    OMB more change and remove modules and locations?

    See you soon,.

    Emrah

  • If you ask the question and then choose a solution, the thread will be closed or still can you ask more details?

    If you ask the question and then choose a solution, the thread will be closed or still can you ask more details?
    (sometimes, someone answers my question, and I want to mark it as the solution and am not yet quite ready for the thread be closed...)

    If you still experience this issue, you can return to this thread.
    But, you must clear the flag solved .

  • Can I set up another iTunes account if forget my security question and answer

    I forgot my security questions and answers. When I first set up my account.

    When I try to buy whatever it is on iTunes now on my iPhone 4S. Something appears on the screen.

    Responds to say I need to get to safety. I don't remember my Email of relief. I can set one another that i tunes account.

    You need to reset your security questions...

    Follow the instructions here > https://support.apple.com/en-us/HT201485

    If you use another Apple ID iTunes for all of your content from the original Apple ID will be deleted.

  • I forgot security question and reject E-mail

    Hi all

    I want to know if I forgot security question and reject the e-mail of my Apple ID, what I can do to fix this?

    Please help, thanks.

    If you don't remember the answers to your security questions and you don't have an e-mail address of help, go here, select your region and contact Apple and ask for their assistance.

    Contact Apple for assistance with the security of the Apple ID - Apple Support accounts

  • Apple ID forgotten security question and answer

    Hi all

    I'm having a problem answering my Security Questions that I forgot my security questions and I'm unable to edit these sections security and Apple ID devices:

    1 password

    2 rescue Email

    3. security issues

    4 two-step verification

    5. the devices

    I found only one way to contact the Apple Support for Apple ID via CALL (I am from Lahore, Pakistan/Asia)

    Contact Apple support

    00800 01001, then 800 361 0479

    06:00 to 15:00 (Monday to Friday)

    When I call it says ' call center is currently closed and you can go online to: http://support.apple.com/asia' but, here, is the only option that is once again make appeal to the above said the phone number that is closed when I make calls within the given time / days.

    I'm in trouble with this for a year. Is in any way get fix this problem please let me know your thoughts:

    Thank you

    What happens when you click Reset security questions?

  • I forgot the answer to my security question, I tried to update these answers, but to update them also, I must first answers old issue of security which I forgot how can I update and change my security question and the answers?

    I forgot the answer to my security question, I tried to update these answers, but to update them also, I must first answers old issue of security which I forgot how can I update and change my security question and the answers

    ?

    You must ask security team account Apple to reset your security questions. To contact them, click here and choose a method; If this page does not list one for your country or if you are unable to call, complete and submit this form.

    (143315)

  • I forgot the security questions and it won't let me put rescue email

    HI, I forgot my security questions and it won't let me put a rescue emai. What should I do?

    You must ask security team account Apple to reset your security questions. To contact them, click here and choose a method; If this page does not list one for your country or if you are unable to call, complete and submit this form.

    (143279)

  • I signed in, got confirmation and now do not know how to get back to see my question and and

    Where can I go to see my question and answers. I have received confirmation email but couldn't find the site to go to

    So mark your thread as "Resolved" If you please. And this one as well.
    Thank you.

  • How can I solve the problem of a pop window that appears whenever firefix titled load [Javascript Application] and said: "balance.balance is undefined".

    The little ' [Javascript Application] and balance.balance is not defined ' pop-up window is followed by a pop up that shows a sign of prudence and the number 3. They repeatedly pop up when I click on the button OK or X, I have to click 10 times until they disappear. Then, Firefox seems to work normally until I exit and try to come back later to Firefox.
    I uninstalled Firefox and reinstalled without effect. I also ran a convenience store that seemed to refer to distance to this problem with no effect.
    This does not happen when I load Internet Explorer or Google Chrome. Except for this issue, I prefer Firefox over one or the other.

    Hello, you can try to reproduce this behavior when you start firefox in safe mode, once? If not, probably an addon intrudes here...

    Troubleshoot extensions, themes, and issues of hardware acceleration to resolve common problems of Firefox

  • use of iPhone time data system Services and location

    Since last month, data use under Services system-> time and place has increased "substantially." It's pretty evenly half my data use, whatever I do. I have not added new applications or use the phone differently I have in the previous months.

    I use a tracking, human application, but even if I turn off mobile data for her and use of data in the time and the place continues to be half of my mobile data.

    How can I start troubleshooting? I have read the discussions here and off mobile data and background update and synchronization for most things. This has reduced the use of the data, of course, but the time and the place continues to be half of my data.

    I'm on a 1 GB plan, that was a lot, now I close out maxxing when I don't care.

    Hi branches,

    Thanks for checking out the Apple Support and communities for the detailed information of what is happening with your data in time and place. I can understand wanting to make sure that you are able to easily manage your usage data and wanting to know which application is causing this additional use.

    Since you have already completed these steps, I recommend you to disable the location Services for all of your applications, and then turning them back on one or two at a time, as needed, to help determine what applications likely to use your location. You can disable the location for applications and services system with these steps.

    Enable or disable location Services. Go to settings > privacy > location Services. You can turn it off for some or for all applications and services. If you disable location Services, you are prompted to activate again the next time, that a service or application attempts to use it.

    Disable the location Services for system services. Several system services, such as the calibration of the compass with geolocation of ads, using location Services. To see their status, activate them or disable, or display the location Services icon in the status bar when these services use your location, go to settings > privacy > location Services > System Services.

    You can find the steps listed above in the iPhone user guide.

    Privacy - iPhone

    You can also find additional information about the parameters of your privacy and location in this article.

    On privacy and location-based Services - Apple Support

    See you soon!

  • JavaScript question

    I use Firefox 26.0, and now when I try to connect to Gmail, it shows "JavaScript must be enabled so that you can use Gmail in standard mode. However, it seems that JavaScript is disabled or not supported by your browser. To use standard view, enable JavaScript by changing your browser options, then try again. »

    I went through all the tabs under 'Options', but still can't find a way to solve the problem. Help, please!

    Hello

    In Firefox 23, as part of an effort to simplify the Firefox options define and protect users against unintentially damage their Firefox, the option to disable JavaScript has been removed from the Options of Firefox window.

    However, the ability to disable JavaScript was will not be deleted from Firefox entirely. You can always go to about: config or by installing an add-on.

    Subject: config

    1. In the address bar, type "subject: config" (with no quotes), and then press ENTER.
    2. Click on "I'll be careful, I promise".
    3. In the search bar, search for "javascript.enabled" (with no quotes).
    4. Click with the right button on the result, named "javascript.enabled" and click on "Toggle". JavaScript is currently disabled.

    To re - enable JavaScript, repeat these steps.

    Add - ons

    You can also install an add-on that allows you to disable JavaScript, such as

    • No-Script (to disable JavaScript on a per page basis, as needed)
    • QuickJava (to disable and enable JavaScript, automatic loading of images and other content easily)
    • SettingSanity (add deleted options for JavaScript, JavaScript advanced settings, loading images and the display of the tab bar)

    Thank you and I hope this helps!

Maybe you are looking for

  • How can I do more accessible to a visually impaired person?

    I am visually impaired and everything to seem more great need. This is the reason why I've switched back to Google chrome just now. I prefer to use Firefox, but do not see it.

  • App from the App Store

    MY App Store application disappeared on my Mini.  How can I get that back?

  • Update KB955706 failed once again

    After several months of having windows update ignore KB955706 "SQL Express Edition SP3" it is back.2 two questions:Am I missing any functionality not being able to run SQL Express Edition?Is this back because of a crucial update?I tried different leg

  • How to set up the WiFi Windows Vista

    Title of the Moose: pensioner frustrated I have the O2 broadband & router, a laptop HP Vista Home Premium and now a Canon Pixma MG6150 printer. I am trying to set up wireless printing and the printer asks me for the WEP consisting of 5 to 23 characte

  • Transfer files to and from Simulator?

    Does anyone know how to transfer files to and from Simulator? (I don't mean load java program... "I want to debug the file generated by a program.)  I did some searching on the forum but no luck.  (I guess most of the people here are developing with