Change Page problem

Hello world

I have to tell you guys that I am a new Adobe Air Developer. So I created my request which are in class 2.

Two of them have children like button, textfiled.

I want to do when I click on a button in 1 class, he is supposed to call another page in the other class via a mouse event.

I don't know how to do this. I mean how to call another screen? Is it like push and pop screen in Blackberry Java development?

Can someone tell me or show me some code?

Thank you

Concerning

Hey Jutikorn,

What you can do, is have a main say class 1 and a sub class say 2. In your main class when someone clicks on the button (say btnOne), you can call a function in your main class (class 1) which creates a new instance of the class 2 as:

btnOne.addEventListener(MouseEvent.CLICK, addNewScreen);

then call the addNewScreen() function:

public function addNewScreen(e:MouseEvent):void
{
     var screenTwo:Class2 = new Class2();
     addChild(screenTwo);
}

then adds all objects of your class 2 to your screen class (class 1) principal. hope that helps!

Tags: BlackBerry Developers

Similar Questions

  • Change page number problems

    When to change page number to start at page 13 of my magazine (starts the 1 on the control panel page options) page is a left page, it's actually a gap and the page must be on the right. Mow I have a single page in the middle of my document!  I changed the General parameters of absolute numbering as well. Don't know what I'm doing wrong or what I can do differently to avoid this problem.

    Check your settings in the pages Panel - make sure that Allow for random document pages is checked.

    If that is fixed, select pages and then make sure that Allow selected spread to shuffle is verified.

    In addition, page 13 should appear as a right-hand-page. The left of a spread page should be an even page number.

  • my browser off the internet light when I change pages

    the light on my modem off when im changing pages or do things on facebook or play games I have 2 of these computers and the other works without any problem, I used a game called League of legends and this has all started when I downloaded it and played, I ran anti-virus programs and it says nothing detected please help

    What web browser do you use?

    If its Internet Explorer, follow these steps.

    Open Internet Explorer

    Press Alt + X on your keyboard

    Click on Internet Options

    Select the "Advanced" tab

    Under reset Internet Explorer settings, click "reset".

    This should restore the Internet Explorer default settings.

  • change pages in my documents

    How to change pages in my documents & keep everything in the same folder?

    I don't know what you mean, can you explain a little more about what you are trying to do?

  • Small update on screen when changing pages

    Hi all, we note a few pixels change on the display of the pages when I change pages in the menu (it is easier to see on the big screen). The entire page moves from left to right or from right to left. Of course, I use the same master page to all pages. You can see the construction site in this address: home . Anyone know why and how fix it? Thank you

    It's the vertical scroll bar that doesn't appear on pages with more content than a single screen.

    In page properties, you can change the visibility of the scroll bar for "always on".

    (Sorry, I don't know the term exact English.) Maybe the screenshot for help.)

    Fenja

  • How to resolve the IP address automatically changing the problem?

    My Oracle database 10g (10.2.0) is on the Windows XP platform and the IP address of the system often changes automatically. This leads to problems with my Oracle database. How to deal with this problem? How to stop the IP change the problem?

    change your windows networking to dhcp to a static ip address. Just google it or follow [this link | http://www.hotcomm.com/FAQ/FAQ_staticIPXP.asp]

  • I have windows live hotmail on Vista.Problem is that this message, 'error on page' appears on the lower left and no emails will be open and I can't change pages. How do you find / fix 'error on page '?

    I have windows live hotmail on Vista. New problem is the error message, 'error on page' appears at the bottom left. As a result I can't open any email or forward to other pages of e-mail. How does a find/fix 'error on page '?

    Hello

    ·        What browser do you use to connect to the internet?

    ·        The issue is with Hotmail?

    If the question is only limited to Hotmail then confirm your request in the forum Hotmail for assistance:

    Windows Live Solution Center Hotmail Portal

    http://windowslivehelp.com/product.aspx?ProductID=1

    If you use Internet Explorer, then you can try the steps from the link and check if it helps:

    What should you do about Internet Explorer script errors?

    http://Windows.Microsoft.com/en-us/Windows-Vista/what-should-you-do-about-Internet-Explorer-script-errors

  • new page problem - cannot insert image

    Using iMac OS X 10.11.3 (3.4 GHz Intel Core i5; 16GB) and Pages 5.6.1 (2562) - new problem: when I copy a .jpg image and use Edit Paste, or new message command-V since June 13, 2016, says 'The Image could not be inserted' - how can I return to work? I tried to change JPG to PDF - still without insert image.

    OS X 10.11.5 and v5.6.2 Pages have been available for some time. No reason that you have not updated to new versions?

    You do not specify if you do a copy/paste a Finder .jpg image, or an image of another open application - in Pages. I can tell you first hand that copy/paste a .jpg image file (or even drag and drop) from Finder works with Pages ' 09 v4.3 and v5.6.2 on OS X 10.11.5. There is no change of OS X or Pages on June 13, what else do you have to your computer (install the anti-virus software) or something else?

  • Web page problems

    I edited a webpage in Dreamweaver 8 on Mac as well as the changes appear on Safari and Google Chrome. However when I open the Web page in Mozilla Firefox, the changes I made do not display upwards for example in the sidebar, there is whitespace between the tabs even if I already edited the tabs on Dreamweaver.

    If this problem can be solved or is it a problem with the incompatibility of Dreamweaver with Mozilla Firefox?

    Refresh your browser (Ctrl + R or F5).

    In some cases, it should be clear the cache memory of your browser.

    Go to tools > Options > advanced > network.

    Caching Web content: click on the "Clear now" button

    Nancy O.

  • master page problem

    I begin barely using Muse on my iMac and I saw a bunch of tutorials. A couple of things already I have followed with great interest and that they work, but one real big problem is this: I created a bunch of buttons psd with the functional States to link to a registration form and social networks. They are all on the master page (I'm only using a master page to date). On my home page, I made a series of images with text scrolling superimposed to scroll at a faster speed. Looks awesome. Problem is the buttons that are found on all the main pages because they are on the master page moved to a different location on the home page. They still work, but they are in the wrong place. I can't select them. On the master page, they are always in the right position. Any ideas please? I tried to quit and reload.

    Unless the content is included in the page footer area in master, do not change location. Make sure that there are no used html embed, if so then remove it and then check.

    If everything is fine also same issue, then please post a few screenshots of the page master and the homepage in design so listen to excerpts and links to the live site.

    Thank you

    Sanjit

  • Front Page problems

    Help, please. I am new to using muse and I have the worst problems with a first page of a Web site. All these sites are great, but the front page has a slide show. On my computer (mac) and another pc, it seems good, but as soon as my client open things change!

    This is a screenshot of the page on my computer.

    Page.jpg

    ... and this is what it looks like on my client computer and here is his comments:


    The squares are the right size now but the image still grown and cut the bottom of the image and the upper part has a lot of extra room.  If I Zoom, it makes it worse and even if I have to zoom out.


    image005.jpg


    Here is the link for all the document cover page (I removed the links. Any ideas why this happens? Help, please!


    http://bristleconetrail.businesscatalyst.com/index.html

    I'm not able to reproduce with several systems, I think it is because the resolution that your client will use.

    Please let us know the details with resolution that your client will use.

    Thank you

    Sanjit

  • See crtiteria, search pages problem or bug?

    Hello! I have the problem with the search page that uses the view in my application criteria. I use JDeveloper Studio Edition Version 11.1.1.3.0.

    I have the next record in DB: http://my.jetscreenshot.com/2677/20110613-xdwz-12kb

    I have the Variables and the following view: http://my.jetscreenshot.com/2677/20110613-dlyi-147kb

    I find records, please see: http://my.jetscreenshot.com/2677/20110613-vwpa-91kb

    1. why I found documents if walue was 'false '?

    Interestingly, if I change the 'false' with others, values like 'no', then everything works correctly, see: http://my.jetscreenshot.com/2677/20110613-my5g-59kb

    It is interesting that happens when I have 2 values or over 'false' folder DB.

    It comes to Jdeveloper Bug? Can someone explain that to me? What can be done, if I need to store 'false' values in DB?

    Best regards, Debuger!

    Debuger,

    I had a short glance at your test scenario.
    Have you tried to apply my dumpQueryAndParameters() method? I could not find.
    If you did you would have been out as

    ---query--- SELECT LvaiKolekcija.SPECIES,         LvaiKolekcija.LVAI_KOLEKCIJA_PK,         LvaiKolekcija.LVAI_GRUPA,         LvaiKolekcija.GENUS,         LvaiKolekcija.GEN_RES_GRUPA,         LvaiKolekcija.EKSP_GRUPA,         LvaiKolekcija.CROPNAME,         LvaiKolekcija.AVS_GRUPA,         LvaiKolekcija.ACCENUMB,         LvaiKolekcija.ACCENAME
        FROM LVAI_KOLEKCIJA LvaiKolekcija WHERE ( ( (UPPER(LvaiKolekcija.LVAI_GRUPA) = UPPER(:LvaiVar) ) OR (UPPER(LvaiKolekcija.GEN_RES_GRUPA) = UPPER(:GenResVar) )
        OR (UPPER(LvaiKolekcija.EKSP_GRUPA) = UPPER(:ExpVar) ) OR (UPPER(LvaiKolekcija.AVS_GRUPA) = UPPER(:AVSVar) ) ) )
    ---Variables:
      --- Name: SearchInAllFields Value: null
      --- Name: LvaiVar Value: false
      --- Name: AVSVar Value: true
      --- Name: ExpVar Value: false
      --- Name: GenResVar Value: false
    

    If you run the query with parameters given in a sql worksheet your see that it indeed returns the line in question. The reason is that you have combined all fields with 'OR' if the line gets selected by the ' OR (UPPER (LvaiKolekcija.GEN_RES_GRUPA) = UPPER(:GenResVar)' returns true for the given variable combination.)

    Total your query will ever I guess you try to check, as with almost all combinations from the Panel of query parameters, one of the parties 'OR' will be set to true.

    The conclusion is that you cannot use the check boxes with only the value true or false. You need a third option "not selected for the query" and you should check your criteria with all possible parameters combinations.

    Timo

  • Styles of multiple links on the same Page - problems

    Thanks in advance for your help. With the help of CS5.5

    Problem:
    I'm designing a model that uses images by hovering in the top nav links. When the style
    other links in the main content and the footer, sections, the style becomes hereditary since the links at the top.

    Tried everything, including:
    -Spry
    -separate style sheet for the page footer
    -Renaming the div
    -using the class instead of div

    -renamed CSS
    -curse/pray/crossing my fingers

    Have not tried to reinstall the software.

    Here is the html and CSS (as attached):

    HTML

    <!-TemplateBeginEditable name = "doctitle"-->
    < title > Untitled Document < /title >
    <! - TemplateEndEditable - >
    "" < link href = "... / _css/pages.css" rel = "stylesheet" type = "text/css" / >
    <!-TemplateBeginEditable name = "head"->
    <! - TemplateEndEditable - >
    < / head >

    < body >
    < div id = "outerWrapper" >
    < div id = "headerPages" >
    < ul >
    < li > < a href = "#" > link 1 < /a > < /li >
    < li > < a href = "#" > Link 2 < /a > < /li >
    < li > < a href = "#" > link 3 < /a > < /li >
    < li > < a href = "#" > Link 4 < /a > < /li >
    < li > < a href = "#" > link 5 < /a > < /li >
    "< li > < a href ="... / index.htm "> link 6 < /a > < /li >"
    < /ul >
    < div id = "logo" > placeholder logo < / div >
    <!-TemplateBeginEditable name = "pageTitle"->
    < div id = "pageTitle" >
    "" < h1 > < img src = "... /_images/NAV-Icon-Big.jpg" width = "66" height = "66" / > Page title < / h1 >
    < / div >
    <! - TemplateEndEditable - >
    < / div >
    < div id = "contentWrapperPages" > <!-TemplateBeginEditable name = "mainContent"->
    < div id = "contentCol1Pages" >
    "< p > < a href ="... / web - design.htm "> 1 < /a > < /p > column"
    < / div >
    <! - TemplateEndEditable - > <!-TemplateBeginEditable name = "sidebarContent"->
    < div id = "contentCol2Pages" >
    < p > < a href = "#" > column 2 < /a > < /p >
    < / div >
    <! - TemplateEndEditable - >
    < / div >
    < / div >
    < div id = "footer" >
    < ul >
    < li > < a href = "#" > the footer elements go here < /a > < /li >
    < /ul >
    < / div >
    < div id = 'copyright' >
    < p > & copy; 2011 < /p >
    < / div >

    < / body >
    < / html >

    CSS

    {body
    background: #EEF4F7;
    }
    {#outerWrapper}
    Width: 960px;
    margin-right: auto;
    left margin: auto;
    Background: #FFF;
    }

    #logo {}
    Width: 200px;
    height: 75px;
    padding-top: 10px;
    }
    #logo img {}
    padding-left: 50px;
    text-align: center;
    vertical-align: middle;
    }
    {#pageTitle}
    height: 66px;
    Width: 525px;
    top of the margin: 30px;
    }
    #pageTitle img {}
    padding-right: 10px;
    text-align: center;
    vertical-align: middle;
    padding-left: 25px;
    }
    #pageTitle h1 {}
    do-size: 2em;
    make-style: italic;
    color: #039;
    do-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    vertical-align: middle;
    margin: 0px;
    padding: 0px;
    }

    {#headerPages}
    Background: url (.. /_images/pages-Header.jpg) no-repeat;
    height: 200px;
    Width: 960px;
    }
    #headerPages ul {}
    list-style: none;
    float: right;
    / * width [disabled]: 680px. */
    }

    #headerPages ul li {}
    float: left;
    }
    #headerPages ul li a {}
    text-decoration: none;
    display: block;
    do-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    }
    #headerPages ul li a: link, a: visited {}
    padding: 5px 15px of 35px.
    color: #039;
    }
    #headerPages ul li a: hover, a: active, a: {emphasis
    padding: 5px 15px of 35px.
    Background: url (.. top of /_images/NAV-ICON2.jpg) no-repeat center;
    color: #039;
    }

    {#contentWrapperPages}
    Background: #FFF url (none) horizontal;
    float: left;
    Width: 960px;
    padding-bottom: 15px;
    Police-family: 50;
    }
    #contentWrapperPages a: link, a: visited {}
    color: #039;
    text-decoration: none;
    }
    #contentWrapperPages a: hover, a: active, a: {emphasis
    color: #0 C 0;
    text-decoration: none;
    }
    #contentWrapperPages img {}
    float: left;
    height: 75px;
    Width: 75px;
    }
    {#contentCol1Pages}
    Background: #FFF;
    float: left;
    Width: 650px;
    padding-right: 10px;
    padding-left: 10px;
    margin left: 25px;
    margin-right: 10px;
    }

    {#contentCol2Pages}
    Background: #FFF;
    float: left;
    Width: 200px;
    padding-right: 10px;
    padding-left: 10px;
    Clear: right;
    }
    #footer {}
    Width: 960px;
    Background: #FFF;
    margin: 0px auto;
    Clear: both;
    height: 50px;
    }
    #footer ul {}
    list-style: none;
    text-align: center;
    / * Displays [disabled]: block; */
    }
    #footer ul li {}
    display: block;
    text-align: center;
    }
    #footer ul li a {}
    padding: 10px 5px;
    color: #039;
    text-decoration: none;
    }
    #footer ul li a: link, a: visited {}
    do-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    color: #039;
    }
    #footer ul li a: hover, a: active, a: {emphasis
    color: #0 C 0;
    }

    #copyright {}
    Width: 960px;
    margin: 0px auto;
    }

    #copyright p {}
    do-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    text-align: center;
    }

    Much better if you post your problem webpage and post a link here so we can see the direct page in our browsers.

    However, the first glance to the CSS, the syntax of selectors together needs to be amended.

    Each element separated by commas in a grouped list of selectors should be clearly explained in its entirety

    e, g,

    change

    #headerPages ul li a: link, a: visited {}

    padding: 5px 15px of 35px.

    color: #039;

    }

    #headerPages ul li a: hover, a: active, a: {emphasis

    padding: 5px 15px of 35px.

    Background: url (.. top of /_images/NAV-ICON2.jpg) no-repeat center;

    color: #039;

    }

    TO

    #headerPages ul li a: link, #headerPages ul li a: visited {}

    padding: 5px 15px of 35px.

    color: #039;

    }

    #headerPages ul li a: hover, #headerPages ul li a: active, #headerPages ul li a: {emphasis

    padding: 5px 15px of 35px.

    Background: url (.. top of /_images/NAV-ICON2.jpg) no-repeat center;

    color: #039;

    }

    It is for all other groups of rules separated by commas.

  • 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.

  • Help - change text problem

    Hello

    I create a graduation announcement and by chance, I put everything on a single layer. But the real problem is I want to change the date of my party and I can not find a way to select and change the text on this layer to change the date. If anyone can help me I would really appreciate it. I don't want to have to redo everything from scratch due to a tiny change, I have to do.

    Thanks in advance,

    ashmic19

    What kind of problem? You do not have we given a lot to go. Be on a single layer is not the ned of the world by any means, although it makes it more difficult to change things if it is behind something else. What version of ID do you use?

    I'm like a wild without any information at all guess I'll be you cannot select anything on your page. It would be a good indicator that you have done your initial layout on the page from the master page rather than the page of the living document, and after having reopened that you look at the page of the document and not his mistress. If this is the case, proceed to the master page, select all the images you want to be able to edit, cut, then to the page of the document and paste in Place.

Maybe you are looking for