How to add folio for each starting line of page

Dear friend,

I've been trying to script.

In the Document every pages of first line and the first word before that I want add folio (page number).  Please suggest a friend. How to complete this script coding.

Please see my requirement in the screenshot below.

Screen Shot 2016-04-29 at 4.11.24 PM.png

Please help friends.

Thanks in advance

Try this

for (p = 0; p

{

try {}

app.activeDocument.pages [f] .textFrames [0] .lines [0] .insertionPoints [0] .silence = "";

}

{catch (e)}

}

Tags: InDesign

Similar Questions

  • How to add "Click for more" inside the same page

    Is there an easy way to "hide" some content in a page so that the reader can 'click here' to load the content hidden inside the page? I tried Spry Accordion and collapsible panels, but it seems that some browsers do not show this well. Any ideas? Anyone?

    Thank you!

    Hanna in Tahoe

    Hanna,

    I have not used this particular technique, but if you look at the demo page, it begins with the div hidden, so check the source code on this page and adjust yours to match...

    http://papermashup.com/demos/jQuery-sliding-div/

  • How to add programs to the start of the file using Vista

    How to add programs to the start of the file using Vista

    Hi Harry,.

    Oddly enough, you can actually do it in msconfig except if it is already there and simply not checked as opposed to not being do not at all (although you would think that they would understand this option).

    The easiest way is to add the program (or a shortcut to the program) in the folder all Menu Programs Startup.   Here is the procedure: http://www.ehow.com/how_5098465_add-startup-programs.html.  Remember, to do this, you must either a shortcut existing (perhaps on the desktop or elsewhere in the menu all programs) or you need to find the source file (probably somewhere in C:\Program Files depending on what you want to add) and either copy it and add it to the startup folder or right-click on it and create a shortcut to copy into the startup folder.  Once you reboot, this program starts during the initial commissioning process and you will now be able to control using msconfig.exe, if you wish.

    Another option is to do this by using the registry editor.  If you decide to try this, first create a restore AND system restoration point backup of the registry before you begin.  Here is the procedure: http://www.ehow.com/how_7304438_add-program-msconfig-regedit.html.  I recommend to use this ONLY if the previous procedure does not work for some reason any as long as that the procedure is simpler and safer.

    If you want a simpler way to manage and control startup programs, you can try it free WinPatrol http://www.winpatrol.com/download.html that change monitors for startup programs if you set it to run in real-time so that you know when to try new programs are added to your Start menu and, for the purposes of this question includes an Add button which opens a link to a window of Windows Explorer where you can browse the program you want to add, click open to select and then add it directly to the commissioning.  If you prefer it does not work all the time, you can simply uncheck the box which includes this program and it will work only when you choose to run (but at the start, will work as an indication otherwise or configured).  It will appear not in the start menu in all programs (Finally, WinPatrol is, but not programs, it adds to the start), but it will appear in WinPatrol (which also lets you manage what you want or not start with checkboxes as in msconfig) and sure in msconfig - but only after a reboot is complete the process of adding.

    I hope this helps.  Personally, I use WinPatrol myself and let it run in real time.  Since I do a lot of installations, it helped me often prevent the addition of a startup item I haven't really need and reduces how many times I actually need to check what is happening out there.

    If this answers your question without the need to repost in another forum, please mark it as an answer.  If this isn't the case, then of course you must republish as suggested above.

    Good luck!

  • How to add users for ibots?

    I want to create IBOTs and send these ibot reports to users by e-mail.
    I don't know how to add users for this. If I add through the administration tool he just asks me the user name and the password (not mail electronic id)... .to go I can add in the e-mail ID so she ibot can pick up the same and send the report by e-mail.

    Thank you in advance.

    Kind regards
    Aarti

    Hello
    Create groups and users in RPD. Assign users to specific groups.
    Each user must log into their account and under settings-> my account-> slot delivery Options-> devices must add their email.

    Reference: http://download.oracle.com/docs/cd/E12096_01/books/AnyUser/AnyUser_Delivers.html
    Will solve many of your doubts on ibots :-)

    Award points for responses if helped

    Kind regards
    Srikanth

  • Cannot figure out how to "add-in" for the 2013 Outlook application... said the loading behavior is not loaded. How can I fix it?

    Cannot figure out how to "add-in" for the 2013 Outlook application... said the loading behavior is not loaded. How can I fix it?

    Hi amandab9126792,

    2013 Outlook does not work with Acrobat X because they are not compatible. Please check the compatibility to https://helpx.adobe.com/acrobat/kb/compatible-web-browsers-pdfmaker-applications.html.

    Kind regards

    Nicos

  • How to get LASTDAY for each month between data dates...

    Hi friend

    I have a doubt, how to get LASTDAY for each month between data dates...

    for ex:
    My contribution will be like this
    date = 01/12/2011
    To date = 14/04/2011

    And I need an output like
    31/01/2011
    28/02/2011
    31/03/2011

    is it possible to achieve through sql query in oracle
    Thanks in advance for all friends to help him

    Hello

    Something like this (assuming that the dates are originally VARCHAR2s):

    SQL> var dt_start varchar2(10)
    SQL> var dt_end varchar2(10)
    SQL> exec :dt_start := '12-01-2011'
    
    PL/SQL procedure successfully completed
    
    SQL> exec :dt_end := '14-04-2011'
    
    PL/SQL procedure successfully completed
    
    SQL>
    SQL> select last_day(
      2           add_months(
      3             trunc(to_date(:dt_start,'DD-MM-YYYY'),'MM'),
      4             level-1
      5           )
      6         ) as result
      7  from dual
      8  connect by level <= months_between(to_date(:dt_end,'DD-MM-YYYY'), to_date(:dt_start,'DD-MM-YYYY'))
      9  ;
    
    RESULT
    -----------
    31/01/2011
    28/02/2011
    31/03/2011
     
    

    If the dates are already of the date data type, simply remove the to_date function.

  • How to extract .csv for each table

    Hi all

    I have a query:

    Select distinct ' SELECT * FROM BILL_M.' | Table_name | ';' from all_tab_columns t
    where t.owner = 'BILL_M. '
    and table_name like '% DICT '.

    The query returns 80 s table... How can I extract these 80 to 80 csvs table?

    Any help is appreciated.

    Kind regards.

    Just an example as a starting point...

    As user sys:

    CREATE OR REPLACE DIRECTORY TEST_DIR AS '\tmp\myfiles'
    /
    GRANT READ, WRITE ON DIRECTORY TEST_DIR TO myuser
    /
    

    As myuser:

    CREATE OR REPLACE PROCEDURE run_query(p_sql IN VARCHAR2
                                         ,p_dir IN VARCHAR2
                                         ,p_header_file IN VARCHAR2
                                         ,p_data_file IN VARCHAR2 := NULL) IS
      v_finaltxt  VARCHAR2(4000);
      v_v_val     VARCHAR2(4000);
      v_n_val     NUMBER;
      v_d_val     DATE;
      v_ret       NUMBER;
      c           NUMBER;
      d           NUMBER;
      col_cnt     INTEGER;
      f           BOOLEAN;
      rec_tab     DBMS_SQL.DESC_TAB;
      col_num     NUMBER;
      v_fh        UTL_FILE.FILE_TYPE;
      v_samefile  BOOLEAN := (NVL(p_data_file,p_header_file) = p_header_file);
    BEGIN
      c := DBMS_SQL.OPEN_CURSOR;
      DBMS_SQL.PARSE(c, p_sql, DBMS_SQL.NATIVE);
      d := DBMS_SQL.EXECUTE(c);
      DBMS_SQL.DESCRIBE_COLUMNS(c, col_cnt, rec_tab);
      FOR j in 1..col_cnt
      LOOP
        CASE rec_tab(j).col_type
          WHEN 1 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_v_val,2000);
          WHEN 2 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_n_val);
          WHEN 12 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_d_val);
        ELSE
          DBMS_SQL.DEFINE_COLUMN(c,j,v_v_val,2000);
        END CASE;
      END LOOP;
      -- This part outputs the HEADER
      v_fh := UTL_FILE.FOPEN(upper(p_dir),p_header_file,'w',32767);
      FOR j in 1..col_cnt
      LOOP
        v_finaltxt := ltrim(v_finaltxt||','||lower(rec_tab(j).col_name),',');
      END LOOP;
      --  DBMS_OUTPUT.PUT_LINE(v_finaltxt);
      UTL_FILE.PUT_LINE(v_fh, v_finaltxt);
      IF NOT v_samefile THEN
        UTL_FILE.FCLOSE(v_fh);
      END IF;
      --
      -- This part outputs the DATA
      IF NOT v_samefile THEN
        v_fh := UTL_FILE.FOPEN(upper(p_dir),p_data_file,'w',32767);
      END IF;
      LOOP
        v_ret := DBMS_SQL.FETCH_ROWS(c);
        EXIT WHEN v_ret = 0;
        v_finaltxt := NULL;
        FOR j in 1..col_cnt
        LOOP
          CASE rec_tab(j).col_type
            WHEN 1 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_v_val);
                        v_finaltxt := ltrim(v_finaltxt||',"'||v_v_val||'"',',');
            WHEN 2 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_n_val);
                        v_finaltxt := ltrim(v_finaltxt||','||v_n_val,',');
            WHEN 12 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_d_val);
                        v_finaltxt := ltrim(v_finaltxt||','||to_char(v_d_val,'DD/MM/YYYY HH24:MI:SS'),',');
          ELSE
            DBMS_SQL.COLUMN_VALUE(c,j,v_v_val);
            v_finaltxt := ltrim(v_finaltxt||',"'||v_v_val||'"',',');
          END CASE;
        END LOOP;
      --  DBMS_OUTPUT.PUT_LINE(v_finaltxt);
        UTL_FILE.PUT_LINE(v_fh, v_finaltxt);
      END LOOP;
      UTL_FILE.FCLOSE(v_fh);
      DBMS_SQL.CLOSE_CURSOR(c);
    END;
    

    This allows the header line and the data to write into files separate if necessary.

    for example

    SQL> exec run_query('select * from emp','TEST_DIR','output.txt');
    
    PL/SQL procedure successfully completed.
    

    Output.txt file contains:

    empno,ename,job,mgr,hiredate,sal,comm,deptno
    7369,"SMITH","CLERK",7902,17/12/1980 00:00:00,800,,20
    7499,"ALLEN","SALESMAN",7698,20/02/1981 00:00:00,1600,300,30
    7521,"WARD","SALESMAN",7698,22/02/1981 00:00:00,1250,500,30
    7566,"JONES","MANAGER",7839,02/04/1981 00:00:00,2975,,20
    7654,"MARTIN","SALESMAN",7698,28/09/1981 00:00:00,1250,1400,30
    7698,"BLAKE","MANAGER",7839,01/05/1981 00:00:00,2850,,30
    7782,"CLARK","MANAGER",7839,09/06/1981 00:00:00,2450,,10
    7788,"SCOTT","ANALYST",7566,19/04/1987 00:00:00,3000,,20
    7839,"KING","PRESIDENT",,17/11/1981 00:00:00,5000,,10
    7844,"TURNER","SALESMAN",7698,08/09/1981 00:00:00,1500,0,30
    7876,"ADAMS","CLERK",7788,23/05/1987 00:00:00,1100,,20
    7900,"JAMES","CLERK",7698,03/12/1981 00:00:00,950,,30
    7902,"FORD","ANALYST",7566,03/12/1981 00:00:00,3000,,20
    7934,"MILLER","CLERK",7782,23/01/1982 00:00:00,1300,,10
    

    The procedure allows for the header and the data to separate files if necessary. Just by specifying the file name "header" will put the header and the data in a single file.

    Adapt to the exit of styles and different types of data are needed.

    You can then call this procedure for all the tables that you want to extract, with names appropriate for each.

  • How to give rownumber for each group

    Hai All

    I use the function group to separate and in this group, I need to give rownumber to each departure of members of Group 1 and when a group is on the needs in number to start new 1


    For example

    There are 3 Department and it is separated by the function of group by Department and here I need to give the line number. And the line number must be separated for each group

    Thanks and greetings

    Srikkanth.M

    How about using...

    ROW_NUMBER() OVER (partition by GROUP order by X)
    

    If this is not the case, how about post you some sample data and the output you want from these data.

    In addition, your version of Oracle

    select * from v$version;
    
  • How to create buttons for each slide in the slide show

    I currently have a slideshow with prev and next buttons.

    but I would add buttons numbered for each slide to image-base.

    with a static number for the current slide has a circle colorful around this number.

    I can create static number with circle colored in Photoshop, and add a layer,

    but it's a lot to do this for all the numbers work.

    Is there a better way to create the numbers highlighted for the current slide?

    For the numbered buttons that link to the slides not active, I can create numbers in Photoshop and import images into Flash.

    then convert to symbols and assigns actions to them,

    But it's also plenty to do for all the numbers work.

    Is there a better way to create numbered slide buttons inactive?

    I would also like to have a function to hover over the numbered buttons,

    It changes from plain image from number to number with circle colorful as I want to use for the current slide.

    How can I assign a hover button symbol function, which will load another image or symbol?

    Try to think in terms of having reusable symbols.  Think what it through before you try it.

    Use a movieclip instead of a button symbol.  Have a dynamic textfield in this movieclip to the number and value of the textfield object to not be selectable.  Have a picture of this movieclip where it highlighted as one (selected) and the movieclip go there where you are on this slide.

    Use the textfield for the number - assign dynamically so that you don't have to import an image for it.  Use as many of these clips that you need for all your buttons.

    Have functions that reset all buttons at the same time so that when you move to a new slide, selected earlier dates back to mormal... following with setting one newly selected in his "selected" frame

  • How - to add options for application to the BlackBerry Options

    I generated the example "How - to add application options to the BlackBerry Options" of the knowledge base and run it on a Pearl Flip but I don't see any new added options. I could be looking in the wrong place, but I thought that the sample adds "Options Sample" to the list of options.

    No one knows where to look for the new option added by this example?

    I went back and Setup another entry point recompiled and still can't find where is the new option.

    Thanks Mark. That makes perfect sense as the mail app needs to retrieve incoming messages at any time.

    I've updated my code to close to the bottom of my library of applications by programming, I added a menu too. Is better to be sure that the library is closed and ready for the next event to use it.

  • How you add cash for the new Portfolio Manager?

    How can you add cash for the new Portfolio Manager. It is not MSN Money application is simply Money Portfolio Manager.

    Hi Thirualluvar,

    Who is the manufacturer of the application of Portfolio Manager?

    Microsoft, the Portfolio Manager application is Microsoft Money 2008. If you use the same, you can contact Microsoft Money technical support for assistance.
    http://support.Microsoft.com/ph/870/en-us#TAB4

    Hope the helps of information. Please post back and we do know.

    Concerning
    Joel S
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to add fields for older users?

    Nice day! I have OIM 11 g R1. I add a field custom reconciliation provisiong and Active Direcroty target resources. This field displays for new users, but old existing users did not have this attribute. How can add this attribute to the existing users?

    Hello

    You must run the CVF utility for this.

    With the help of the form Version control utility - 11g Release 1 (11.1.1)

    Concerning

    Suren

  • How to make replace() for each symbol in the string instead of the first meeting only?

    Hello!

    This is my simple test script:

    var str = ' re | PLA | ce »;

    var strRep str.toString () = replace (' | ', '-');

    Alert (strRep);

    I'd get a re-pla-this result string.

    But I didn't get my only first symbol replaced:

    replace.png

    Can you advise me please, how to get all the symbols replaced?

    Thank you!

    Thank you very much, Xavier!

    Just for reference, this line will work perfectly:

    Alert (str.toString () replace (new RegExp ("|", "g"), '-'));

  • How to add listeners for the external loaded swf files?

    IAM loading external .swf file in the file main.swf.

    IAM dispatchEvent (new Event ("loaded")) of external .swf.

    How to add the listener for the event "loaded"?

    in your swf file main something like below:

    mcExt.addEventListener ("load", onCongratsClose);

    function onCongratsClose(e:Event):void {}
    Your code

    }

  • Requirement of Beeping - how to get subtotals for each combination of 2 columns val

    Hi gurus, Experts and all,.

    Help me please with my reporting requirement, on how to code this in PIF. Thank you.

    Requirement: I need to get the subtotals for each value of the combination of two columns.

    Columns example: team group AMOUNT

    Sample column values: placed Team1 100
    Group b... Team2... 200

    GroupA - Team1 Subtotals = 500 (value of the sample only)
    GroupA - Team2 Subtotals = 400 (value of the sample only)
    Group b - Team1 Subtotals = 600 (value of the sample only)
    Group b - Team2 Subtotals = 200 (value of the sample only)

    GrandTotal = 1700

    Thank you.

    Jean Paul
    BEEP newbie

    Published by: user10955574 on October 28, 2010 05:40
    
     -  - 
    
    

    output for data

    GROUPA - TEAM1 - 200
    GROUPB - TEAM1 - 300
    GROUPC - TEAM2 - 400
    GROUPD - TEAM2 - 500
    GROUPA - TEAM3 - 600
    GROUPB - TEAM3 - 700
    GROUPC - TEAM4 - 800
    GROUPD - TEAM4 - 900
    GROUPA - TEAM5 - 1000
    

Maybe you are looking for