numbering of the parent story

I'm working on a book of test

We are making arrangements in the answer key

Drop a few questions, or change the location

front: 1 c 2-E 4-5-C 6 B 7 c 8 c 9 B 10 - C

After: 1 c 2-E 3-4-C 5-B 6 c 7-B-8 c 9-C

I need more later of numbering

How a code can be written

var no = 1;


app.findGrepPreferences = app.changeGrepPreferences = null;       
var xx = app.findGrepPreferences.findWhat = "(\\d+)(\\-)(\\u)";
for(var i=0;i<xx.lenght;i++){ 
app.changeGrepPreferences.changeTo = i + "$2$3";
app.selection[0].parentStory.changeGrep();  
}
app.findGrepPreferences = app.changeGrepPreferences = null;

Not sure what you mean by all this. Your new code work? And what does the abbreviation "sno" for?

To subtract 1 from all the numbers preceding capital, you can use this:

app.findGrepPreferences = null;
app.findGrepPreferences.findWhat = '\\d[-\\d]+\\u';
found = app.selection[0].findGrep();
for (i = found.length-1; i >= 0; i--) {
  found[i].contents = found[i].contents.replace (/(\d+)/, function() {return Number(arguments[1])-1;});
}

Peter

Tags: InDesign

Similar Questions

  • My child allows to bypass the parental control

    My child to bypass the parental control on his Macbook Air using the method presented in this video tutorial. Is there a way to avoid this? https://www.YouTube.com/watch?v=Br6wKR28jFo

    With the text of the video section, the way used by the author to exploit the single user Mode

    command line is specified; and it has been done before. Don't know if there are more recent methods

    to try to deter the child since the creation of their own Admin account to bypass the controls that

    those already discussed adjacent older sons, like this:

    How to stop a person setting up an administrative account duplicate (hackmac)?

    Although it is possible to learn how and use the Open Firmware password, to attempt to get the Admin acct

    This could also be overcome by a particular person looking to exploit a work around physical access.

    In the past, some computer models were easier to open and to perform tasks that could derail this method.

    Almost any iFixit or removable guide could be useful for a particular child or student, as a work-around.

    See suggestions on how to apply the Firmware password, as well as the means to

    block access to the material or the way to reset the admin by OS X Recovery password, in news

    OS X versions that use this partition and its utilities. It is part of the problem with the Admin

    operation, the user is physical access to the computer. And why remotely hacking is very difficult.

    • Use a password of the firmware on your Mac - Apple Support

    While I have no other suggestion (knowing that there could be a fairly simple method to work around the)

    and most have been published online for several years) I hope that someone will see & respond to your

    question with any method you can implement. Or see if an Apple Store genius bar can help you

    This question, because it creates problems. I'd be sure to make an appointment to discuss this at the store.

    If no official Apple retail Store is available, you should perhaps consider a call to Apple support or use a

    online chat. Don't forget to mention details about the build year computer, etc. & the version OS X in it.

    You can choose to make submissions directly to Apple's comments on this issue, if you find that it is not effective

    method of maintenance determined children or young adults to change their own Admin computer.

    One of the comments below links is probably more suited to this topic than the other:

    Support Feedback

    Products return

    Contact Apple support

    http://www.Apple.com/contact/

    Need service or support? Start your online application and we will find a solution.

    More ways to get help:

    Since there is no response when I first noticed your thread, I asked guests move it more appropriate

    location for visibility in these discussions of support; so they chose to put it in the section of MacBook Air.

    Good luck in this case!

  • Summary of functions (two entries) for classes of brother with a dynamic distribution of entry: the static entry retains the type of the parent class.

    Suppose that in a hypothetical example, I have a superclass (number) with two children (real and complex) classes.

    I would define a function of sum for these classes, using dynamic distribution.

    Real or complex would have its own method of the sum (VI) which would be subject to various operations, such as the real and complex numbers are different.

    As I understand it, the normal way to proceed in OOP is for each of these methods to have an entry of dynamic distribution and a static entry of its own type.

    Problem: Labview doesn't let me do this!

    I first define an input method dynamic-shipping dummy for the numberof the parent class, but only the first entry can be dynamic-Envoy while the other is statically typed as number.

    Then, when I create override methods in my two children classes real and complex, the second entry (static) remains under the number (the type of the parent class). This is not fair, because then I can't access the private data of the child class of type real or complex that will be connected to the second input (static).

    What is the solution to this problem (usually)?

    I think that, in LVOOP, you use only a dynamic terminal or a static terminal to the terminal object.

    You can have several other terminals, but all the dynamics VI (methods with the same name) must have the same API (terminals).

    If you have to understand your preferred mode to pass, use multiple terminals, not used by each method, or use a cluster that contains all the numbers to pass (real or complex, both of which are not used in each method) or you can try a Variant, as shown.

  • Input data to the parent entity

    Hello

    We are planning to create a rule of "Entry" to the parent entities for a scenario for an account and have two questions

    1. my assumption is, when we write the default rule allows an entry for all mothers entities and not need to put any condition for POV. Fix?

    2. account should NOT be marked as "IsCalculated" and should be "ISConsolidated". Fix?

    Thanks in advance.

    Hello

    First question: I don't think he uses parent entities by default, or no matter what default POV besides. We specify each POV we want to execute the ENTRY sub on, whether entities, accounts, custom size, periods, year, etc.. Just be aware that once you run a rule on a parent entity ENTRY, he never used numbers loaded or enrolled in basic entities. This is a case where the sum [Contribution Total] of children does NOT EQUAL to the of the parent.

    Second question: If the account is labeled IsConsolidated, this should work only to leave with the parent entity since it does not take account of all the day in child entities. In addition, we do not have Auditors who have entry rules on them but are not labeled as IsCalculated, and it works very well.

    Dany

  • How to find the parent of the element

    Gurus,

    Clarify me this


    I have two tables... We're item_master, second is dtls_stg, which are related to an element of the current column.

    In my table of dtls_stg, except the column elements it is another column, called pre_pack_seq, which holds the numbers like 1,2,3... There may be one or Articles with so many pre_pack_seq for example

    Element pre-pack-seq
    1001 1
    1-1002
    2 1003
    1004 3
    1005 2
    1 1006
    1007 3

    Now I have to find the parent of the current element in the dtls_stg table, which is present in the master of the order of the day

    That is to say for all the pre-pack-seq, which has the value of 1, I select items which are located in the item_master table and must check with the item_level at the master of the order of the day, if item_level is set to 2, I need to check item_parent and see if all have same number or not, otherwise, I should show this number of point... If item_level is 3, I check with a column of item_grandparent, and check if items that have item_level 3 must have as many item_grandparent or not... If this isn't the case, display this element. This process must be done for all numbers of pre-pack-seq... This should be done in the SQL and PL/SQL...

    I hope that you understand what the requirement... For more details, plse let me know

    Concerning

    Published by: Seshu2 on September 28, 2008 23:46

    Please stop posting duplicate threads. I've already answered your question. Use:

    select  item,
            item_parent,
            pre_pack_seq
      from  (
             select  d.*,
                     m.item_parent,
                     count(distinct case item_level when 2 then item_parent else item_grandparent end) over(partition by pre_pack_seq) cnt
               from  dtls_stg d,
                     item_master m
               where m.item = d.item
            )
      where cnt > 1
    /
    

    SY.

  • Siri is disabled by the Parental control on macOS Sierra admin account

    I just installed macOS Sierra today on my 13 "Mac Book Pro (early 2011). I have only one user account that is an administrator account. Siri is not enabled on my machine. When I go to the Siri system preferences screen, it says that "Siri is disabled by Parental control. Hmmm, when I check the Parental control screen, it says "you logged in using an administrator account." You can only apply parental controls to accounts that are not administrator accounts. »

    What happens here?

    Same problem here. Updated for Sierra of El Capitan on MacBookPro 15 "(mid - 2014).

    Even if I toggle the checkbox on the Parental control > others > disable Siri & dictation I can't activate Siri, the checkox is always gray and the alert says "Siri is disabled by Parental control.

    Siri is enabled if I login as a burst, but I need it on my Admin account of course. Very annoying.

  • There should be a limitation or personal parental control on hotspot. Children feel obliged to allow their friends to use their hotspot. And the parents who pay for it!

    There should be a limitation or personal parental control on hotspot. Children feel obliged to allow their friends to use their hotspot. And the parents who pay for it!

    This is a user to user support forum, so there is really nothing anyone here can do for you, I'm afraid.

    However, you can send your comments Apple

    http://www.Apple.com/feedback/

  • FFis already running but not responding do not mistake... Cannot delete the parent.lock "in use" what to do now?

    I keep getting FF or error that responded to the questionnaire. When I close it I get "your FF profile cannot be loaded.

    I read about the removal of the parent.lock. When I try to delete told me "can not delete the file because it is being used.

    So what do I do now to get FF going

    You can delete the file immediately after the computer starts?

    Help if you start Windows Explorer as an administrator?

    You can create a new profile as a test to see if your profile is the source of the problem.

    See "create a profile":

    If the new profile works then you can transfer files from a profile already used in the new profile, but be careful not to copy files corrupted to avoid transporting more problems.

  • Display of training "open goal" app to view 3 numbers at the time. Now, there are only 2. Why apple changed the display of training app?

    Display of training "open goal" app to view 3 numbers at the time. Now, there are only 2. Why apple changed the display of training app?

    Hello

    If you prefer to see your distance goal, the calories or the time displayed as a number instead of as a ring of progress:

    -On your iPhone, in the application of Eve, go to: Watch My > Workout - turn on show metric goal.

    More information:

    Use of the workout on your Apple Watch - Apple Support

  • The user account cannot access the internet once parental used contract, even after you turn off the parental control

    I created a user account for my child. I am able to access the internet through firefox. Then I set the parental controls and can NOT access the internet more. I turn off parental controls for this user account. I still can't access the internet from this account.

    Parental control is a part of the operating system Windows and not Firefox. You can get help here: http://support.microsoft.com/ask-community/windows/

  • How do you define the parental control on firefox android? If it does not, it will be?

    I can't find the parental control on Firefox android.

    There is no parental control for firefox. You can however get a parental control as app of Google game store that applies to the system-wide.

  • Search engines not available, except in mode "Run as Administrator". delete the parent.lock file profiles did not help

    After the upgrade to 21 FF, search engines no longer appear in the bar at the top right of the screen, so no searches are possible. I can navigate to my favorites and apparently also to the links contained in the e-mails.

    If I right click on the FF icon and choose the "Run as Administrator" option, the search engines are there again. I tried to delete the parent.lock in the profiles folder, that this solution was solved a problem I've had recently with the previous version of FF (not being not able to open FF and getting the error message on another version of it running, which had to be closed in the first place - but there was no other version running.) In this case, too, before I discovered the solution, I could open FF using the option "Run as Administrator"). However deleting the parent.lock file does not resolve this issue.

    I would be grateful for your help, especially if a person not very computer like me can understand put in simple terms!

    You have the XML files including Google's default search engine in the browser\searchplugins file in the Firefox program folder?

    Try to remove the file search.json and a possible search.sqlite in the Firefox profile folder to reset the default search engines.

    You can use this button to go to the Firefox profile folder:

    • Help > troubleshooting information > profile directory: see file

    Firefox will rebuild the file search.json from the default search engines in the browser\\searchplugins file in the Firefox program folder and the searchplugins folder in the Firefox profile folder.

  • I exported the photos in a folder that is named in the order. Now I want to export more photos in the same folder, but take the sequential numbers where the last export was stopped. Finally was Apr_409, in following should be Apr_410. Not Apr_1 (1). Any a

    I exported the photos in a folder with the photos sequentially named. Now I want to export more photos in the same folder, but take the sequential numbers where the last export was stopped. So if the last photo was named Apr_409, I want the following to be Apr_410. Not Apr_1 (1). Any advice? Thank you!

    Hat is not a feature of Photos.

    If you want to make sure your new export is sorted after previous export, change the field "sequential prefix" in the Panel of the export to a string, which will be sorted after the original prefix you have chosen.

  • Get the serial numbers for the HP monitor?

    Hello

    I need to get the serial number & s 100 HP monitor model numbers to estimate the warranty end dates. Of course, also for our future inventory internal

    I think that's not possibe with HPDM as a device of Numebers series TC traction.  Is it possible/script to get the serial number of the monitor. ???

    Thank you

    DIN

    Finally, I have a script to get the serial numbers of the monitor.  Rename the attachment to info.vbs

    OUTPUT

    C:\ > cscript/nologo monitor_info.vbs
    Computer name not found, using the local system.
    Serial number: MXL9040HWP
    Maximum capacity: 4194304
    Maximum capacity: 4096
    Reference number:
    Serial number: MXL9040HWP
    Inventory number: MXL9040HWP

    Monitor has)
    .......... Manufacturer ID = HWP VESA
    .......... Device ID = 264 b
    .......... Manufacturing date = 9/2006
    .......... Serial number = CNK6380R6C
    .......... Name of the model = HP L1755
    .......... EDID Version = 1.3
    Monitor B)
    .......... Manufacturer ID = HWP VESA
    .......... Device ID = 264 b
    .......... Manufacturing date = 9/2006
    .......... Serial number = CNK6380R6C
    .......... Name of the model = HP L1755
    .......... EDID Version = 1.3
    Monitor C)
    .......... Manufacturer ID = HWP VESA
    .......... Device ID = 26FB
    .......... Manufacturing date = 4/2009
    .......... Serial number = CNK9170083
    .......... Name of the model = HP L2245w
    .......... EDID Version = 1.3
    Monitor D)
    .......... Manufacturer ID = HWP VESA
    .......... Device ID = 26FB
    .......... Manufacturing date = 4/2009
    .......... Serial number = CNK9170083
    .......... Name of the model = HP L2245w
    .......... EDID Version = 1.3
    Monitor E)
    .......... Manufacturer ID = NEC VESA
    .......... Device ID = 61BE
    .......... Manufacturing date = 7/2001
    .......... Serial number = serial number not found in the EDID data
    .......... Model name model = not found of the EDID data descriptor
    .......... EDID Version = 1.3

  • Watch will not appear the phone numbers in the recent

    Since the update my watch stopped display of phone numbers in the area of recent call in the phone icon.  Last call and the number that is displayed is March 22.  Any ideas on how to solve this problem?  Thank you

    Hi Scott

    It can help to disable the twinning and re - pair your watch. The app shows on your iPhone takes a backup of your watch when unpairing via the app choose to backup restore when the possibility to put courses in place. Most of the data and settings will be restored, with a few exceptions (for example cards Pay Apple, access code).

    Cancel the twinning of your iPhone - Apple and Apple Watch Support

    Set up your Apple Watch - Apple Support

Maybe you are looking for

  • Failed to open all the links using safari and mail

    I can't open all links by safari and by e-mail. When I try to open the link it does not work and it will freeze. then I touch the original key two times to close the safari and the e-mail. How can I remedy this? Already, I erase history and Web site

  • Control 6211 with Simulink (vector control engine)

    Hi, I'm Jose, I have a three-phase motor vector control using Simulink and NI USB-6211, so I need to get the measurements of current and voltage and transfer it to model simlink in real time, so I will need 3 common pliers probes, voltage probe, a Ma

  • sound in windows media continually breaks

    When I try to play a song in Windows Media... the sound constantly break up... can you tell me what the problem is or could be? Thank you!

  • Delete or keep?

    I now wonder if one of the downloads following I found in the section add/remove my computer are absolutely necessary or if I can remove to make my computer run faster, faster play games and watch videos more quickly, etc. I can delete these, please

  • 15 - r210dx: Wireless driver problem

    My laptop comes with windows 8. But I wanted to use windows 7 64 bit which I'm more comfortable with it. I used diskpart and erase all the data and then converted the HARD of GPT on the MBR disk. Then I installed 7 easily. Now the question is, I down