Find the Format, Font Style, character Style, Find and change, Javascript or Applescript

I'm trying my first cry to a script and I need help. I downloaded all kinds of example, but most are too elaborate.

Here's what I'm trying to do:

A search/replace, then the Find Format (Formats of basic characters; Font style "Italic")

Then

Change in Format (character Style; 'my style')

I tried to create this in Applescript and ExtendScriptToolkit.

Yesterday, I read intro Adobes Script PDF... Now, I don't know if I am more confused or understand what is happening.

Here is my attempt-

{

cstyle = app.activeDocument.characterStyles.add({name:simple_italic});)

If (italic) cstyle.fontStyle = app.findTextPreferences.fontStyle;

}

}

app.changeTextPreferences.appliedCharacterStyle = simple_italic;

app.activeDocument.selection [0].parent.changeText (false);

}

Is - this even close?

Thank you, T-

Screen Shot 2012-08-17 at 1.12.14 AM.png

Screen Shot 2012-08-17 at 1.11.05 AM.png

Screen Shot 2012-08-17 at 1.11.43 AM.png

I found my own answer... Thank you guys!

{

If (StyleName == "")

{

Make up a name

If (in bold)

StyleName = "simple_bold";

If (italic)

{

If (in bold)

StyleName = "simple_bold_italic";

on the other

StyleName = "simple_italic";

}

Tags: InDesign

Similar Questions

  • Cannot search the italic font style

    In the find/replace InDesign dialog box, I click on the magnifying glass to Format find to open the parameters of Format to find dialog box. I click on the basic character Formats tab, and for Font Style, I select "Italic" in the menu dropdown. When I release the mouse button, the field displays "Normal", not "italic". If I touch the word "Italic" in the field, the same thing happens. The only way I could get around this problem is to specify the family of fonts as well, but I want to look for Font Style italic regardless of the font family (there are several in the document). I did not specify any details of the search in the Find/Replace dialog box or the parameters of Format to find dialog box. I am currently using CS5.5 but I've known this dozens of times in CS4 and CS5.5 problem. I have a vague memory to be sometimes able to do, but if yes there was very rare.

    Is there a reason why this is happening? Is it possible to search regardless of the font family to the italic font Style?

    I do not think that I seen this reported before and it happens here, so if this is a constant problem for you I'm suspicioous it could be realted to anything else on your system. You have third-party plug-ins? A font manager?

  • Interactive report - is possible to find and change if necessary the unique column.

    While creating an interactive report, I accidentally entered the wrong "single column" on the sql query page.  Is it a big problem and how do I find and change if necessary.

    33ac2d45-960f-45AF-acba-507f01d18e08 wrote:

    Please update your forum profile with a real handle instead of '33ac2d45-960f-45af-acba-507f01d18e08 '.

    While creating an interactive report, I accidentally entered the wrong "single column" on the sql query page.  Is it a big problem and how do I find and change if necessary.

    Query Builder
    Link to the simple view row Yes No
    Uniquely identify lines Single column ROWID
    Single column

    Yes. You can change this using the only the lines identified by / Unique column interactive properties in the section of the column of link in the attributes of the report definition report tab.

  • Text find and change the problem CS3 and CS4 scripts

    I use the script below to find text and turn them into others.

    There is one thing the script can't do it for me.

    Example:


    (g) management

    (1) that no law that is adopted in the Cayman Islands, a tax to collect profits, income, gains or satisfaction does apply to the company or its activities; and

    (2) that the above-mentioned tax or any tax in the form of rights of succession or inheritance tax is payable in respect of shares, debentures or other obligations of the company.

    Example: (end)

    I had a lot of subjects or points in the passage. And I want to change the space between '(g)' and 'Management' in a tab character. So I revised the plain text file 1texte.

    PS: 1text.txt is filled with what to change.

    text {findWhat: "^ p(^?)" ' "} {changeTo: "^ p(^?)"} ^ t "} {includeMasterPages:true, includeHiddenLayers:true, includeFootnotes:true, wholeWord:false} search all space-dash-space and replace it with an en dash."

    The result is:

    (^?) ^ tManagement

    (^?) ^ tthat any law that is passed in the Cayman Islands, imposing a tax on profits, income, not capital gains or satisfaction applies to the company or its activities. and

    (^?) ^ tthat the above-mentioned tax or any tax in the form of rights of succession or inheritance tax is payable in respect of shares, debentures or other obligations of the company.

    PS: ^ t is a tab character.

    result (END)

    This is not what I want.

    It should be"(g) ^ tManagement'.

    PS: ^ t is a tab character.

    Please someboady help me out revised the script below to change the text in what I want. Thank you very much.

    Here's the script.

    FindChangeByList.jsx
    An InDesign CS4 JavaScript
    /*
    @@BUILDINFO @ "FindChangeByList.jsx" 2.0.0.0 January 10, 2008
    */
    Loads a series of strings delimited by tab characters from a text file, and then executes a series
    Find/replace operations based on the lines read from the file.
    //
    The data file is delimited by tabs, returns to cart that separates records.
    //
    The format of each record in the file is:
    findType < tab > findProperties < tab > changeProperties < tab > findChangeOptions < tab > description
    //
    Where:
    < tab > is a tab character
    findType is 'text', 'grep' or 'glyph' (this sets the find/replace operation type to use).
    findProperties is a recording of properties (text) search preferences.
    changeProperties is a recording of properties (text) of the change preferences.
    findChangeOptions is a recording of properties (text) of the options find/replace.
    Description is a description of the search/replace operation
    //
    Very simple example:
    text {findWhat: "-"} {changeTo: "^ _"} {includeMasterPages:true, includeHiddenLayers:true, includeFootnotes:true, wholeWord:false} find all double hyphens and replace by an em dash.
    //
    More complex example:
    text {findWhat: ' ^ 9 ^ 9.} {' ^ 9 ^ 9 '} {appliedCharacterStyle: 'price'} {include notes: true, include master pages: true include hidden layers: true, any word: false} find $ 10.00 to $ 99.99 and apply the character style 'price '.
    //
    All metacharacters search InDesign are allowed in the properties 'findWhat' and 'changeTo"findTextPreferences and changeTextPreferences.
    //
    If you enter the backslashes in the object findGrepPreferences findWhat property, they must be "escaped".
    as shown in the example below:
    //
    {"findWhat: '"\\s+ "}
    //
    To learn more about InDesign scripting, go to http://www.adobe.com/products/indesign/scripting/index.html
    or visit the InDesign Scripting user to http://www.adobeforums.com users forum
    //
    main();
    main() {} function
    var myObject;
    Ensure that the interaction of the user (dialog boxes display, etc.) is turned on.
    app.scriptPreferences.userInteractionLevel = UserInteractionLevels.interactWithAll;
    If (app.documents.length > 0) {}
    If (app.selection.length > 0) {}
    {Switch(App.Selection[0].constructor.) Name)}
    case 'PointInsertion ':
    'character ': case
    case "word":
    case 'TextStyleRange ':
    case "line":
    stops of the "Point":
    case "TextColumn":
    case 'text ':
    case "cell":
    case "column":
    case 'Row ':
    case 'Table ':
    myDisplayDialog();
    break;
    by default:
    An option has been selected, but it was not a text object, so look for in the document.
    myFindChangeByList (app.documents.item (0));
    }
    }
    else {}
    Nothing has been selected, then just search for the document.
    myFindChangeByList (app.documents.item (0));
    }
    }
    else {}
    Alert ("no document is open. Please open a document and try again. ») ;
    }
    }
    function myDisplayDialog() {}
    var myObject;
    var myDialog = app.dialogs.add({name:"FindChangeByList"});)
    {with (MyDialog.dialogColumns.Add ())}
    {with (dialogRows.Add ())}
    {with (dialogColumns.Add ())}
    staticTexts.add ({staticLabel: "beach of research :"});})
    }
    var myRangeButtons = radiobuttonGroups.add ();
    {with (myRangeButtons)}
    radiobuttonControls.add ({staticLabel: "Document", checkedState:true});})
    radiobuttonControls.add ({staticLabel: "Selected Story"});
    If (app.selection [0] .silence! = "") {}
    radiobuttonControls.add ({staticLabel: "Sélection", checkedState:true});})
    }
    }
    }
    }
    Ditto var = myDialog.show ();
    if(myResult == true) {}
    {Switch (myRangeButtons.selectedButton)}
    case 0:
    myObject = app.documents.item (0);
    break;
    case 1:
    myObject = app.selection [0] .parentStory;
    break;
    case 2:
    myObject = app.selection [0];
    break;
    }
    myDialog.destroy ();
    myFindChangeByList (myObject);
    }
    else {}
    myDialog.destroy ();
    }
    }
    function myFindChangeByList (myObject) {}
    var myScriptFileName, myFindChangeFile, myFindChangeFileName, myScriptFile, ditto;
    var myFindChangeArray, myFindPreferences, myChangePreferences, myFindLimit, monarticle;
    var myStartCharacter, myEndCharacter;
    var myFindChangeFile = myFindFile("/FindChangeSupport/1test.txt")
    If (myFindChangeFile! = null) {}
    myFindChangeFile = File (myFindChangeFile);
    Ditto var = myFindChangeFile.open ("r", not defined, undefined);
    if(myResult == true) {}
    Loop in find/replace operations.
    {}
    myLine = myFindChangeFile.readln ();
    Ignore blank lines and comment lines.
    If ((myLine.Substring (0.4) == "Text") |) (myLine.substring (0.4) == "grep"). (myLine.substring (0, 5) is "glyph")) {
    myFindChangeArray = myLine.split ("\t");
    The first field in the line is the findType chain.
    myFindType = myFindChangeArray [0];
    The second field in the line is the FindPreferences channel.
    myFindPreferences = myFindChangeArray [1];
    The second field in the line is the ChangePreferences channel.
    myChangePreferences = myFindChangeArray [2];
    The fourth field is the range - used only text find/replace.
    myFindChangeOptions = myFindChangeArray [3];
    {Switch (myFindType)}
    case 'text ':
    myFindText (myObject, myFindPreferences, myChangePreferences, myFindChangeOptions);
    break;
    case "grep":
    myFindGrep (myObject, myFindPreferences, myChangePreferences, myFindChangeOptions);
    break;
    case 'glyph ':
    myFindGlyph (myObject, myFindPreferences, myChangePreferences, myFindChangeOptions);
    break;
    }
    }
    } while(myFindChangeFile.eof == false);
    myFindChangeFile.close ();
    }
    }
    }
    function myFindText (myObject, myFindPreferences, myChangePreferences, myFindChangeOptions) {}
    Reset the preferences of find/replace before each search.
    app.changeTextPreferences = NothingEnum.nothing;
    app.findTextPreferences = NothingEnum.nothing;
    var myString = "app.findTextPreferences.properties =" + myFindPreferences + «;"»»» » ;
    myString += "app.changeTextPreferences.properties =" + myChangePreferences + ";". " » ;
    myString += "app.findChangeTextOptions.properties =" + myFindChangeOptions + ";". " » ;
    app.doScript (myString, ScriptLanguage.javascript);
    myFoundItems = myObject.changeText ();
    Reset the find/change preferences after each search.
    app.changeTextPreferences = NothingEnum.nothing;
    app.findTextPreferences = NothingEnum.nothing;
    }
    function myFindGrep (myObject, myFindPreferences, myChangePreferences, myFindChangeOptions) {}
    Reset the find/change grep preferences before each search.
    app.changeGrepPreferences = NothingEnum.nothing;
    app.findGrepPreferences = NothingEnum.nothing;
    var myString = "app.findGrepPreferences.properties =" + myFindPreferences + «;"»»» » ;
    myString += "app.changeGrepPreferences.properties =" + myChangePreferences + ";". " » ;
    myString += "app.findChangeGrepOptions.properties =" + myFindChangeOptions + ";". " » ;
    app.doScript (myString, ScriptLanguage.javascript);
    var myFoundItems = myObject.changeGrep ();
    Reset grep find/change preferences after each search.
    app.changeGrepPreferences = NothingEnum.nothing;
    app.findGrepPreferences = NothingEnum.nothing;
    }
    function myFindGlyph (myObject, myFindPreferences, myChangePreferences, myFindChangeOptions) {}
    Reset the preferences of glyph in find/replace before each search.
    app.changeGlyphPreferences = NothingEnum.nothing;
    app.findGlyphPreferences = NothingEnum.nothing;
    var myString = "app.findGlyphPreferences.properties =" + myFindPreferences + «;"»»» » ;
    myString += "app.changeGlyphPreferences.properties =" + myChangePreferences + ";". " » ;
    myString += "app.findChangeGlyphOptions.properties =" + myFindChangeOptions + ";". " » ;
    app.doScript (myString, ScriptLanguage.javascript);
    var myFoundItems = myObject.changeGlyph ();
    Reset glyph in find/change preferences after each search.
    app.changeGlyphPreferences = NothingEnum.nothing;
    app.findGlyphPreferences = NothingEnum.nothing;
    }
    function myFindFile (myFilePath) {}
    var myScriptFile = myGetScriptPath();
    var myScriptFile = File (myScriptFile);
    var myScriptFolder = myScriptFile.path;
    CheminMonFichier = myScriptFolder + CheminMonFichier;
    If (queue (CheminMonFichier) .exists == false) {}
    Display a dialog box.
    CheminMonFichier is File.openDialog ("choose the file containing your list find/replace");.
    }
    Return CheminMonFichier;
    }
    function myGetScriptPath() {}
    try {}
    myFile = app.activeScript;
    }
    {catch (MyError)}
    myFile = myError.fileName;
    }
    return myFile;
    }

    I'm not a writer, but I'll take a stab and try to make a difference here.

    The main problem, in my opinion, is that you use a plain text instead of GREP search. Text gross has no provision to replace the text found by itself, for example, rather than using the codes you entered a literal string. Your search text of ' ^ p(^?) ' means find any character in brackets that occurs after a paragraph break. I would use in GREP ^ \s+ (\(.+?\)) which translates to find an opening parenthesis at the beginning of a paragraph (so he'll find if it happens to be the first character in th in a story) followed by a number any characters up to the first parenthesis (in the case where you have double the figures or double entries letter) followed by ANY white space (in the case where it is not an ordinary space or multiple spaces). Replace $1\t which means the text found in the first set of parentheses in query search followed by a tab.

    Parentheses are special in GREP, they surround groups of terms you want to re-use the text found, so looking for the actual characters you need to 'escape' with the-prefix, so \(.+\) will find a paren open followed by all the characters up to the end last paren in the paragraph. Addition of the? After the + makes research stop at the first closing paren met, although there are several sets in the paragraph.

  • Possible bug in inDesign CS5 with find and change

    This could be a problem with my script, or it may be a bug, not sure.

    The script is used to find a double space in a text fragment and change to single space.

    It only works once when it is run.

    To make it work again you must close and reopen inDesign.

    Here is the code:

    app.findTextPreferences.findWhat = "";
    app.changeTextPreferences.changeTo = "";
    App.documents [0] .changeText ();

    Works for me...

    Try to screw up your prefs.

    Substances

  • How to view the user or IP address that connected, and change the parameters of Sonicwall

    Hi guys,.

    I would like to ask if there is a way to see the user or IP address that connected, then change the parameters of Sonicwall? Someone change the Web Page to display when blocking under the content filtering settings, and we would like to trace that connected to change the settings of the said. Hoping for your quick response. Thank you in advance.

    This should be in the journal according to the attached snapshot monitor

    The user/ip name should appear in the column notes.

  • The desktop icons Windows 7 keep moving and changing size on reboot

    After the last update of Windows, icons (10/07/12) the Office will move to the left side of the screen and change the size of small to medium. Automatic reorganization is NOT checked. Only to snap to grid is turned on. There has been no other software installed since run Windows Update. The video drivers are up to date. I tried all the recommendations made in various online forums from the ridiculous (Refresh) to third-party manufacturers (Stardock Fences) software. The only thing that worked was fences that I wouldn't need to use and even then, if you click Refresh icons are trying to move to the left side of the screen and resize anyway. The fact that this all started after the restart after the Patch the latest Tuesday updated. What the * did you do this time Microsoft?

    Hello

    Have what troubleshooting measures you tried so far?

    Method 1: I suggest you make a system full scan just to be sure.

    Here is a link that will give you information on how to perform a full scan of the system:

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    Method 2: Uninstall and reinstall drivers display adapter.

    See the following steps:

    (a) click Start, right click on computer.

    (b) click on properties, click on Device Manager

    (c) Expand, graphics card, right click on the adapter

    (d) click on uninstall

    (e) now go to your computer / site Web of the manufacturer of the device, download the updated drivers and install them.

    Method 3: Since its startup after Windows Update, perform the restore of the system, i.e. to restore the computer to a date when it was working fine.

    Step 1: System Restore: frequently asked questions:

    http://Windows.Microsoft.com/en-us/Windows7/system-restore-frequently-asked-questions

    Note: After the system restore, you will be offered Windows updates, install a clean boot and check if that helps.

    Step 2: A clean boot to test if any element of service or third party application startup is causing this issue.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or Windows 7:

    http://support.Microsoft.com/kb/929135

    Note: When you're done to diagnose, follow step 7 in the article to start on normal startup.

    You can also check:

    Updates: frequently asked questions: http://windows.microsoft.com/en-us/windows7/updates-frequently-asked-questions

  • Can I create a complex interactive PDF with switchable image fields and the embedded font styles

    I am wanting to create a "partner of the month" model that allows the user to change the name of the partner, month, year and have a space to upload a photo, all of them with a specific font embedded style to maintain the identity of the brand. Is this possible? I never went too deep in the interactive PDFs outside of internal and external hyperlinks and text fields, but even with these fields, it was not but police regardless of the system of users being implemented. I'm basically wanting to create a content generator base which can be read and completed with Acrobat Reader.

    You can create an Adobe form in InDesign (CS6 upwards) which you can refine and player activate Acrobat Pro. You can include text fields that the end-user can supplement, but they would not be able to download an image in it, that the installation is not available.

  • find and change between the two

    I want to change in my text frames written in the style of paragraph text "EBT".

    Between 1 to 3 of the text 'ABC '.

    Between the 4 and 7 'BIM' text

    Between 7 and 10 'KLM '.

    must write

    where and how a mistake

    var myDoc = app.activeDocument;
    var myFrame = myDoc.allPageItems;
    for(var i=0;i<myFrame.length;i++){
    //if(myFrame[i].appliedObjectStyle == tmc) {
    //if(i==5){break;}
    app.findGrepPreferences = app.changeGrepPreferences = null; 
    app.findGrepPreferences.appliedParagraphStyle = "myParS";
    app.findGrepPreferences.findWhat = "EBT";
    if ((i > 0) && (i <= 3)) {var changeX = app.changeGrepPreferences.changeTo  = "ABC";}
    if ((i > 3) && (i <= 7)) {var changeX = app.changeGrepPreferences.changeTo  = "BIM";}
    if ((i > 7) && (i <= 10)) {var changeX = app.changeGrepPreferences.changeTo  = "KLM";}
    myFrame[i].texts[0].changeGrep(); 
    app.findGrepPreferences = app.changeGrepPreferences = null; 
    
    

    Dirty solution... ;-)

    var myDoc = app.activeDocument;
    var myFrame = myDoc.allPageItems;
    
    for(var i=0;i 0) && (j <= 3)) {app.changeGrepPreferences.changeTo  = "ABC"; myFrame[i].changeGrep(); }
        if ((j > 3) && (j <= 7)) {app.changeGrepPreferences.changeTo  = "BIM"; myFrame[i].changeGrep(); }
        if ((j > 7) && (j <= 10)) {app.changeGrepPreferences.changeTo  = "KLM"; myFrame[i].changeGrep(); }
        app.findGrepPreferences = app.changeGrepPreferences = null;
    }
    
  • Find and change a single record in the database

    I create a few forms that access an Access database that will be used to enter data into the database.  I am able to open the database files and scroll through records one at a time and have added features to be able to search and display a single record.  The problem I'm having is when I load a single record and then modify that file, I can't save the changes to the record, in other words, the record is not updated on the database.

    I can add new records and modify records as long as I scroll to them using the. next(),. last(),. first() and. previous() orders; However, when I insert a single record I can't figure out how to save the changes made to that record in the database.

    Here it is:

    xfa.sourceSet.DataConnection.open ();

    xfa.sourceSet.DataConnection.first ();

    var oDataConnList = xfa.sourceSet.DataConnection.nodes

    var oDataConnList.length = nCount;

    for (var i = 0; i)< ncount;="">

    If (CurrentRecord.rawValue! = SearchField.rawValue) {}

    xfa.sourceSet.DataConnection.next ();

    }

    }

    This establishes the data connection, made sure that it starts on the first record, counts the number of files and of volutes each record until he finds the one the user sought!

  • need to find and change the connection speed

    I take a class online and when I ran the test of the pre-class, the report said my connection on the modem speed speed but must be something else. How can I fix it?

    I take a class online and when I ran the test of the pre-class, the report said my connection on the modem speed speed but must be something else. How can I fix it?

    Hey cherokeegirl507

    Contact your internet service provider

    They provide your broadband or dial-up connection

    discuss with them ways to achieve best download speed plan them and or what is required by your class online

    and also to discuss with the people who run the online class

    Walter, the time zone traveller

  • How to find and change in InDesign with GREP?

    Hello

    I'm working on Indesing with 100 + page at the same time and in this case use 'find & change' option for faster work. I found an application for "GREP" [find what: (\d)([\|\u]) | [() [\|\u]) (\d)) ] who find them number with character and the character with numbers. see in the picture below...

    Screen Shot-1.jpg

    Now, I want to change "GREP" code to add a sixth space in bwtween figures with the character and the character to the number. For more details, see photo below...

    Screen Shot-2.jpg

    can any buddy help it at the same time & the same query?

    Try the thius on a copy of the file, because it can have unintended consequences:

    Find \d(?=\u)|\u(?=\d)

    Replace $0 ~ %

  • Urgent need help with find and change / GREP

    I'm working on a manual that contains more than a thousand paintings. I'm not quite familiar with GREP and need help to determine the right to coding/jokers to change the character style to a group of words/numbers on a global basis.

    For example, in Chapter 7, a paragraph style is applied to this line of text:

    TABLE 7.1: T4, T3, FREE T4 AND FREE T4ED

    I need to change "table 7.1:" for a character style and so of suite/so on up to "Table 7,150:"-while leaving the other numbers on the same line unchanged also.»» Is it possible to do without having to manually each table style number?

    gd247 wrote:

    I'm working on a manual that contains more than a thousand paintings. I'm not quite familiar with GREP and need help to determine the right to coding/jokers to change the character style to a group of words/numbers on a global basis.

    For example, in Chapter 7, a paragraph style is applied to this line of text:

    TABLE 7.1: T4, T3, FREE T4 AND FREE T4ED

    I need to change "table 7.1:" for a character style and so of suite/so on up to "Table 7,150:"-while leaving the other numbers on the same line unchanged also.»» Is it possible to do without having to manually each table style number?

    No need for GREP. If "TABLE 7.1:" is text, you can create a nested character style that extends through the colon, in the paragraph style. "

    If "TABLE 7.1:" is created by a numbered list of automatic type paragraph style, you can specify a character style named for the part of automatic numbering in the drop-down menu Style of character, in the Style of numbering of the chips section and numbering of the dialog box Options of paragraph style. If the character style does not exist, you can stay in the operation of paragraph options by choosing 'New Style of character' in the menu. After you create the new style, you're back in the process of definition of the paragraph.

    HTH

    Kind regards

    Peter

    _______________________

    Peter gold

    Know-how ProServices

  • How to find and change settings when Firefox Sync synchronize?

    As the XMarks bookmark Synchronizer deteriorated to the point where it is unusable, I transfer my Firefox Sync synchronization tasks. It seems to work very well, but I would like to know the settings (and if possible, be able to change) that determine when its synchronizations. Does sync (a) immediately, and automatically, whenever a bookmark is changed? (b) what FF starts or firm? (c) when I say explicitly that she? (I know that c is true, because there is a menu option 'Sync'). Where can I find this info?

    ~ Tx, Ken

    a. Yes, Sync will contact the server almost immediately after a new bookmark is added. A slight delay is built to quickly add multiple bookmarks.
    b. sync will contact the server at the launch of Firefox to search for changes made on other devices connected to this sync account.
    c. There is a synchronization toolbar button sitting in the range of customization can be used to "synchronization on demand.

  • How can I find and change text in hyperlinks?

    I have 6000 hyperlinks in my paper, I need to change all the '&' they contain (in the destination url, not in the textflow) to "% 26" so I can export to Epub correctly (I get the classic "Export failed" and found in the forums that the ampersands in hyperlinks are the problem). "

    This replacement can be automated? Perhaps with Javascript? I don't know how to find just through hyperlinks (url) text.

    Thank you very much.

    Wow, I feel like I'm on a roll today. See my earlier post in being added at the end of the carriage return URL hyperlinks, but change the expression to replace:

     hls[i].destinationURL = hls[i].destinationURL.replace(/&/g,"%26");
    

    You need the/g to indicate "global", that is to perform multiple replacements within a single string (URL).

    Still not tested however!

Maybe you are looking for

  • Can I use an Apple TV on a Mac mini/TBD instead of a TV?

    I bought the 4th generation Apple TV yesterday. I don't have a TV, so I use streaming on my Macbook Pro (early 2013) or Mac mini (end of 2014), often using AirPlay. I read somewhere that any Mac with the HDMI connector will be able to connect to the

  • 11.4 iTunes, iPhone 5 c (9.3.1)

    I have an old iMac5 (10.6.8) and cannot sync my iPhone with iTunes (9.3.1) 5 c 11.4.  My iPhone does not appear in "devices".  I've updated all my software and it does not work. In iTunes, I get this is pop up. Is there something else I can do in add

  • A few questions after the downgrade of Win 7 on Satellite U940 - 11L

    Hello friend of mine bought the Toshiba Satellite U940 - 11L which had Windows 8 on it, due to some reasons that she wanted to have Windows 7 installed on it, which was pretty easy. Trouble came with the installation of the Symantec touchpad, after i

  • Chromebook 11 g2: Chromebook 11 g2 voltage 11v. and charger 5v?

    My slow chromebook costs. I bought it on ebay recently. He complains that the charger is low power, but it's not.  I tried a 3a and a charger 2 chrome: \\system > powersupply indicates that the battery voltage is 11, 5V. and amperage under.5. Is it p

  • 64-bit application

    You ask if application developed with sp1 LV 2012 with window 7 machine, works in the 64-bit windows operating environment? If this isn't the case, wondering how to develop 64-bit applications?