How to change multi Find-Change Queries into a scripting

I was wondering if possible transcribe multi Find-Change Queries into a scripting?
If it is possible, can someone tell me how?

1) Buy something and charge the rest to a credit card.
2) Ask Apple to keep the balance.
iTunes Customer Service Contact - http://www.apple.com/support/itunes/contact.html

Similar Messages

  • JS confrim popup message box - How to change it into yes or no button?

    confirm popup message box is always with OK or Cancel Button?
    How to change it into Yes or No Button?
    Thank you.

    I don't think you can change those buttons. However you may try use some rich Javascript library like YUI (Yahoo! User Interface) to pop up custom alert and confirm boxes.
    See [http://developer.yahoo.com/yui/examples/container/simpledialog-quickstart.html]
    Cheers,
    Hari

  • How to combine several regex queries into a script?

    Hi there,
    is it possible to combine several regex queries into a javascipt? I export the text from a database with custom tags and the regex queries perform text AND character style replacements.
    example
    Let's say my exported text is the following
    "I have a <tag_bold>very big text</tag_bold> that includes a lot of different character styles, such as <tag_bold>bold</tag_bold>, <tag_italic>italic</tag_italic>, <tag_bold>bold with some <tag_bold_underline>underlined words</tag_bold_underline></tag_bold>,
    or ever words with different <tag_size-2>text size</tag_size-2>"
    The result I want is
    "I have a very big text that includes a lot of different character styles, such as bold, italic,
    bold with some underlined words, or ever words with different text size"
    Notice that all the tags open and close in the same paragraph and that there are nested tag pairs in some cases. So i execute my queries (more than 20) from the outer pair to the inner, that is:
    <tag_bold>...</tag_bold>
    <tag_italic>...</tag_italic>
    <tag_size-2>...</tag_size-2>
    <tag_bold_underline>...</tag_bold_underline>
    Thanks in advance for your help
    dps

    Hi Shonky,
    thank you for your answer. It seems that it is very close to the solution.
    1) I see now that my question was not clear enough.
    In the text that is included between the tags, I want to apply a Character Style I have define in the character style palette of InDesign CS3.
    That style can contain a lot of options, such as font family, size, style or color changes and is different for each tag.
    2) I tested the function with my tags:
    function my_replace (tag_bold)
    app.changeGrepPreferences = NothingEnum.nothing;
    app.findGrepPreferences = NothingEnum.nothing;
    app.findGrepPreferences.findWhat = '<' + 'tag_bold' + '>' + '(.+?)</' + 'tag_bold' + '>';                     // here is the name i use in the regex tag
    app.changeGrepPreferences.changeTo = '$1';
    app.changeGrepPreferences.fontStyle = 'tag_bold';                                //here is the name of the Character Style I have define in InDesign
    app.activeDocument.changeGrep();
    app.changeGrepPreferences = NothingEnum.nothing;
    app.findGrepPreferences = NothingEnum.nothing;
    result: nothing happens
    3) Using in the script only the body of the function and running it, it highlights the right words with that pink color and shows that the Style of the text is "tag_bold", which is not available in the font family I use (Minion Pro).
    I think that the function needs a modification in the line "app.changeGrepPreferences.fontStyle = 'tag_bold';", especially the "fontStyle" attribute, but I don't know what it is. I'm not a javascript expert and maybe I don't know the right way to use this function with InDesign. I read some books about InDesign Scripting and Regular expressions, but  I didn't found all the answers I need as the one above or how I can run all the queries in one script (this is necessery because of the number and the order of scripts, to avoid mistakes).
    Thanks
    dps

  • How to change the Default login script and the USER login script in Netware3.12

    I need to cut down the disk map from Neware 3.12 in Win98 client's PC.
    please tell me
    how to change the Default login script and the USER login script in
    Netware3.12 ?
    Or is there any other ways to do this thing?
    Thanks a lot!

    On 4/6/2006 [email protected] wrote:
    > how to change the Default login script and the USER login script in
    > Netware3.12 ?
    Please repost in the discontinued.forums.
    Edison Ortiz
    Novell Product Support Forum SysOp
    (No Email Support, Thanks !)

  • How to SIMPLY use the %DIMENSION_TO_SET% variables into logic scripts

    hello,
    I'm using a prompt of type "COPYMOVE" or "COPYMOVEINPUT". In this type of prompt, there are 2 columns of dimension members list, one for defining the "source zone" and one for defining the "target zone" of logics.
    The left colum of the prompt (for source zone) feeds the variables %DIMENSION_SET% : %ACCOUNT_SET%, %ENTITY_SET%, %CATEGORY_SET%, etc...and these variables can be used in the logic scripts in *XDIM_MEMBERSET instructions for example.
    The right colum of the prompt feeds the variables %DIMENSION_TO_SET% : %ACCOUNT_TO_SET%, %ENTITY_TO_SET%, %CATEGORY_TO_SET%, etc...and I don't know how to SIMPLY use these variables in the logic scripts.
    I've found a tricky way to do that but I meet 2 problems :
    - it is complicated
    - the multi-info instruction (BEGININFO/ENDINFO) seems to be bugged as blank lines are added all the time in the code and sometimes I have to wait for minutes when I try to modifiy the package code through BPC for excel eData/modify package menu.
    So the question is how to SIMPLY get the %DIMENSION_TO_SET% variables into logic scripts and use them ? Thanks, R.
    Here is the tricky package code I use at this time (I build one function for each %DIMENSION_TO_SET% variable and I pass these functions to the logic) :
    PROMPT(COPYMOVE,,,,"ACCDETAIL,ACCOUNT,CATEGORY,DATASRC,ENTITY,TIME,YEARS")
    TASK(Execute formulas,USER,WS-WW\PlauchuR)
    TASK(Execute formulas,APPSET,US)
    TASK(Execute formulas,APP,SV)
    TASK(Execute formulas,SELECTION,D:\BPC\Data\WebFolders\US\SV\PrivatePublications\PlauchuR\TempFiles\FROM_1561_.TMP)
    TASK(Execute formulas,TOSELECTION,D:\BPC\Data\WebFolders\US\SV\PrivatePublications\PlauchuR\TempFiles\TO_1561_.TMP)
    BEGININFO(%FSS%)
    *FUNCTION TARGETACCDETAIL=%ACCDETAIL_TO_SET%
    *FUNCTION TARGETACCOUNT=%ACCOUNT_TO_SET%
    *FUNCTION TARGETCATEGORY=%CATEGORY_TO_SET%
    *FUNCTION TARGETDATASRC=%DATASRC_TO_SET%
    *FUNCTION TARGETENTITY=%ENTITY_TO_SET%
    *FUNCTION TARGETTIME=%TIME_TO_SET%
    *FUNCTION TARGETYEARS=%YEARS_TO_SET%
    ENDINFO
    TASK(Execute formulas,FORMULASCRIPT,%FSS%)
    TASK(Execute formulas,LOGICFILE,D:\BPC\Data\WebFolders\US\SV
    ..\AdminApp\SV\_TEST.Lgf)
    TASK(Execute formulas,RUNMODE,1)
    TASK(Execute formulas,LOGICMODE,1)
    Edited by: ALEXANDRE BEDIER on Jun 16, 2010 3:15 PM

    hello,
    finally I've discovered that there is no need of BEGININFO instruction.
    One can pass several functions to a logic with one FORMULASCRIPT task. The functions definitions have to be separated by instructions. See below :
    PROMPT(COPYMOVEINPUT,%FTARGETS%,,"select source and target zone for category and datasource.","ACCDETAIL,ACCOUNT,CATEGORY,DATASRC,ENTITY,TIME,YEARS")
    TASK(Execute formulas,FORMULASCRIPT,*FUNCTION TACCDETAIL=%ACCDETAIL_TO_SET% *FUNCTION TACCOUNT=%ACCOUNT_TO_SET% *FUNCTION TCATEGORY=%CATEGORY_TO_SET% *FUNCTION TDATASRC=%DATASRC_TO_SET% *FUNCTION TENTITY=%ENTITY_TO_SET% *FUNCTION TTIME=%TIME_TO_SET% *FUNCTION TYEARS=%YEARS_TO_SET%)
    TASK(Execute formulas,USER,%USER%)
    TASK(Execute formulas,APPSET,%APPSET%)
    TASK(Execute formulas,APP,%APP%)
    TASK(Execute formulas,SELECTION,%SELECTIONFILE%)
    TASK(Execute formulas,LOGICFILE,%APPPATH%\..\AdminApp\%APP%\_TEST.LGF)
    TASK(Execute formulas,RUNMODE,1)
    TASK(Execute formulas,LOGICMODE,1)
    Then one will be able to use the functions TACCDETAIL, TCATEGORY, TACCOUNT,... in the logic script.
    Edited by: ALEXANDRE BEDIER on Jun 24, 2010 10:31 AM
    Edited by: ALEXANDRE BEDIER on Jun 24, 2010 10:33 AM

  • How to change DB into ARCHIVE mode

    How can we switch a 10g DB into archive mode
    on Unix?
    Should the DB be shut down?
    Any help
    Regads

    Jane,
    How can we switch a 10g DB into archive mode on Unix?Please refer to:
    Note: 69739.1 - How to Turn Archiving ON and OFF
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=69739.1
    Should the DB be shut down?Yes, you need to bounce the database.

  • How can I multi-find and replace relative paths to external topics?

    I am using RH7 and publishing to a company server share. External topics are saved on the same server share and linked on my local drive to create a relative link. How can I do a multi-find and replace on the relative links to change the path to the external docs? The paths do not show up in the Topics List because they are relative, not absolute. Although changing all of the many paths manually would be job security, I would like an easier fix. Thanks for any help.

    Hello again
    Likely your best bet at this point is to use a good Multi-File Find and Replace utility.
    While RoboHelp has one included, it often fails. So we typically recommend something like FAR (Find And Replace) or BKReplace.
    Click here to visit the FAR site
    Click here to visit the page for BKReplace
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • How to change photo into a pastel illustration in PSE 11

    Hi from a newbie.  I am trying to find a nice effect which will create pastel illustrations from my photos. I think it is done in PS by turning the photo into black and white first then using Oil Paint filter to work towards the soft effect I am after.  I can't find a way to get this effect in my PSE 11, does anyone have any ideas to help. Many thanks.

    Try this:
    Open picture file
    CTRL+J to copy
    CTRL+SHIFT+U to remove color
    CTRL+J to copy b/w layer, then CTR+I to invert
    Change Blending mode of inverted layer to color dodge
    Go to Filter>Other>Minimum ---4px
    Go back to original layer with color, CTRL+J to copy
    Drag that layer to the top of the stack of layers in the layers palette, and reduce layer opacity
    Merge the top 3 layers so you're left with 2 layers
    CTRL+J to copy the top layer
    Go to Filter>Artistic Poster Edges. Play with the sliders and reduce the layer opacity to suit

  • How to change charset into extended set?

    Hi, my server is setup with en_US.iso8859-1, I would necessity to change this set to get a special accented chars, such as "�,�,�,�" and so on. In practice, I would change this charset to it_IT.iso8859-15.
    I tried to change var locale, such as LC_* but it doesn't work, I still have old character set. How to do this?
    Thanks

    Hi,
    If you are attempting this on Solaris 8, then would suggest to have look on info doc 23063 on http://sunsolve.sun.com.
    Hope this helps you.
    Thanks,
    Santosh

  • How to chang PDF into Xcel

    Every time I change to xcel, it send me to the sales site and asks me to pay again. Yet it clearly states I have the facility for 12 months??????????? Nort working at all>

    Hi ,
    Might be you are logged in with different email address.

  • How to change TreeModel into DefaultTreeModel?

    //This is my own TreeModel class:
    package xj.guieditor;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.tree.*;
    import org.w3c.dom.*;
    import java.io.*;
    import java.util.*;
    import java.awt.*;
    import java.awt.event.*;
    * <p>Title: </p>
    * <p>Description: </p>
    * <p>Copyright: Copyright (c) 2002</p>
    * <p>Company: </p>
    * @author unascribed
    * @version 1.0
    public class MyTreeModel implements TreeModel {
    private Document root;
    public MyTreeModel(Document doc){
    root = doc;
    public Object getRoot() {
    return root;
    public Object getChild(Object parent, int index) {
    return ((Node)parent).getChildNodes().item(index);
    public int getChildCount(Object parent) {
    return ((Node)parent).getChildNodes().getLength();
    public boolean isLeaf(Object node) {
    return ((Node)node).getChildNodes().getLength() == 0;
    public void valueForPathChanged(TreePath path, Object newValue) {  }
    public int getIndexOfChild(Object parent, Object child) {
    NodeList nl = ((Node)parent).getChildNodes();
    for(int i=0; i< nl.getLength(); i++)
    if( ((Node)child).equals(nl.item(i)) )
    return i;
    return -1;
    public void addTreeModelListener(TreeModelListener l) {  }
    public void removeTreeModelListener(TreeModelListener l) {  }
    //And in my main file,I parse the xml file like this:
    DOMParser parser = new DOMParser();
    String uri = filename;
    try{
    parser.setIncludeIgnorableWhitespace(true);
    this.setTitle("The current file is: " + uri);
    parser.parse(uri);
    Document doc = parser.getDocument();
    doc.normalize();
    removeWhiteSpaceNodes(doc.getDocumentElement());
    model = new MyTreeModel(doc);
    tree = new JTree(model);
    //And now I want to do some add and remove actions with the xml tree nodes.I want to use the DefaultTreeModel class ,how can I do?Thank you.

    public class MyTreeModel extends DefaultTreeModel {                                                                                                                                                                                                               

  • How to change a parameter with script

    Hi to All,
    Is it possible change to TRUE the Parameter "07_DICTIONARY_ACCESSIBILITY" with a script ?
    If Yes, how can perform this ?
    Thank You and Best Regards.
    Gaetano

    About 07_DICTIONARY_ACCESSIBILITY

  • How-To changing QuickTime setting by script

    Hi There,
    I'm a newbie of QuickTime, and I'm looking for a script that can change the QuickTime preferences on Windows.
    If no script are already available it'll be nice even a link to documenation.
    Thank you,
    Stefano Lenzi
    P.S.: If the answer is on a old thread please forgive me, I've searched but with no luck

    Hi,
    The following Adobe guide is very useful for scripting against objects:
    http://partners.adobe.com/public/developer/en/tips/CalcScripts.pdf
    For example, chaning the colour of the caption to red would be:
    Text1.caption.font.fill.color.value = "255,0,0"
    Good luck,
    Niall

  • I have these below queries. How do I join these 3 queries into a single query?

    1st query:
    SELECT TOP(1) @tmpOnlineCat = ac.AlertCatID
    FROM alert.AlertCategory ac
    WHERE ac.FkAlertID = 2
    AND ac.FkAlertTypeID = 3
    2nd query
    SELECT TOP(1) @tmpOfflineCat = ac.AlertCatID
    FROM alert.AlertCategory ac
    WHERE ac.FkAlertID = 3
    AND ac.FkAlertTypeID = 3
    3rd query
    INSERT INTO item.ItemOnlineOfflineAlertCategory
    VALUES
    @tmpPkItemID,
    @tmpOfflineCat,
    @tmpOnlineCat
    mayooran99

    I think this is all what you need!
    INSERT INTO item.ItemOnlineOfflineAlertCategory
    SELECT @tmpPkItemID,
    MAX(CASE WHEN FkAlertID = 2 THEN AlertCatID END) AS tmpOnlineCat,
    MAX(CASE WHEN FkAlertID = 3 THEN AlertCatID END) AS tmpOfflineCat
    FROM alert.AlertCategory
    WHERE FkAlertTypeID = 3
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Change "Multicolumn" into "Film Script" in Adobe Story Free?

    I've started a script in the "Multicolumn" format, but found that the scene outline feature is not available for that format (among other features, for some odd reason) and want to convert the work that I've done so far within (the free version of) Story. Is there a way to simply convert one into the other, maintaining all of the formatting (character/scene/dialogue/etc.) that's already been done? If not, is there a different file format I could save/export the existing document to and then re-import it to that new Film Script format?
    I'm working in Story in Safari on a Mac.

    Try exporting the document as '.astx' and then importing it back.
    It will get imported as film script.

Maybe you are looking for

  • Driver not found error

    Hi I bought a new 30 GB Ipod today and I've spent 5 hours now trying to make it work. I hope some one can help or I'm taking it back tomorrow. Thanks I've got Itunes installed and Quick Time and IPOD version 2006-03-06. When I plug my IPOD in to the

  • IOS 4.3 Complaint

    So I have a I 8GB Ipod touch which is considered by apple to not be a 3rd generation Device. So consequentially because apple made IOS 4.3 avalible for only 3rd gen and up devices,I am not able to upgrade my firmware. This is not cool! Basically Appl

  • Is there a way or a plugin to add "capture time" as file name

    I just photographed a surf contest out in California - I would like to add the capture time as the file name to make it easier to identify the surfers.  Any easy ways to do this for 600 images?

  • Tree Component within Accordion Component

    Hello all! I've done a navigation scheme that uses both the accordion and tree components. The data being gathered is from an XML file. The only problem i'm having is getting the tree components to display the data that they're being provided with. I

  • About forms and reports services

    just installed forms 10g. I suppose I need to install forms and reports services which I understand is part of Application Server 10g. If you have configured this applications to connect, please give me links containing steps to installaing forms and