Insert a special character at the beginning of each page in the body of the text running?

Hi all

How can I go about writing a script that can insert a character (the same character) on each page of a document (say a book) in the body of text running?

It would be different from a head of the race or the page number. A single character at the beginning of each page!

Thank you

Sorry, Jarek and thanks for pointing out the error...

for (p = 0; p

{

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

}

Vandy

Tags: InDesign

Similar Questions

  • Insert a special character into the Table

    11g R2 on 64-bit Linux.

    First I created a table TEST (name varchar2 (100 char))

    Then I have create procedure sp_insert(varchar2 p_name)

    insert into TEST (p_insert) values;

    Last I have run the sp_insert procedure ("' a & b '");

    Now, here's the question. It prompted me to an entry. Obviously, the system assumes that the & b is a prompt variable. But in reality, in fact I want to insert the value ' a & b "literally.

    I learned that there are several ways to work around for example SET DEFINE OFF or SET ESCAPE in sqlplus, use 'a' | Chr (38) | 'b' and 'a' |' &' | ' b'. They are all good. But I really need is to dynamically insert the 'a & b' that happened during the first web page in the table on the fly.

    What are the General methods to do?


    Thank you

    I guess, Oracle will automatically take care of that.
    It poses problem when you run the proc of the IDE.

  • delete the special character in the data

    Please guide me when the user enters data across before as letter size, then he insert a special character also include to store.
    Then when I have generations who, in xls sheet, then this special character are act as entered the key. see examples of data like this

    example of data *. * like that

    I would like to know how to cut this special character in the documents.

    Vincent HB

    You could try to build something with the OWA_PATTERN package:

    DECLARE
      v_text VARCHAR2(255) := 'my data  like this';
    BEGIN
      v_text := REPLACE(v_text, ' ', '_');
    
      OWA_PATTERN.CHANGE(v_text
                        ,'\W'
                        ,''
                        ,'g');
    
      v_text := REPLACE(v_text, '_', ' ');
    
      DBMS_OUTPUT.put_line(v_text);
    END;
    /
    my data  like this
    

    C.

  • Display records with a special character to the end user

    Hello

    What follows with the exception of special characters such as the comma, colon (:), space, preview, brackets [], parenthesis(), key entry, quote (') single, the double quotes (""), full stop (.), slash (/) forward, backward slash (\), + (plus), % (percentage),?) (questionmark), # (pound sign)

    -> if anyone is available in the record, I want it back and also show the special character. for example, retrieval must be id 21, 22: 16
    -> also I want a list of special characters like message in the sql
    for example, 16 ID, (¶, §) must be displayed in the output



    WITH abc AS
    (

    11 SELECT ID, ' he is suffereing
    jaundice"summary FROM DUAL
    UNION ALL
    Order 12, "we can go to the bus stop. OF THE DOUBLE
    UNION ALL
    SELECT 22, 'a mΦnsoon is provided affect≈the region during the next φ a few days' OF the DOUBLE
    UNION ALL
    SELECT 16, "Film¶city looks like go§d." DOUBLE
    UNION ALL
    SELECT 21, "The International @l ¥ mpic Committee moved the bike could Calm fears scratching the Olympic Games." OF THE DOUBLE
    UNION ALL
    SELECT 17, ' John F Kenny was a "young president" America "OF the DOUBLE
    UNION ALL
    18 SELECT, ' the Department of elections, identified (10) polling stations for voters to go to
    thei\r January 26 vote for the by-election of Punggol East Single Member constituency ' FROM DUAL
    UNION ALL
    SELECT 19, "the pilot of the helicopter that + crashed in Central London were thousands of"
    hours of experience of aviation including flight % for films such as die another day and save #Private #Ryan?' THE DOUBLE)
    Select id, summary, 'show special char' in splch
    ABC
    ;

    OUTPUT
    SUMMARY of the splch ID

    Film¶City 16 looks like go§d. ¶§
    21 the International @l ¥ mpic Committee moved the bike could Calm fears scratching the Olympic Games. @¥ O
    22 a mΦnsoon is planned for the region during the next φ affect≈the days Φ≈φ

    Hello

    Here's one way:

    WITH     got_special_characters     AS
    (
         SELECT  id
         ,     summary
         ,     REGEXP_REPLACE ( summary
                          , '[][[:alnum:],: ()''"./\+%?#'  ||
                                CHR (10)                ||
                         '-]'
                          )     AS special_characters
         FROM    abc
    )
    SELECT       id
    ,       summary
    ,       special_characters
    FROM       got_special_characters
    WHERE       special_characters     IS NOT NULL
    ORDER BY  id
    ;
    {code}
    Inside square brackets, the characers ']' and '-' have special meanings, unless you use them in places where the special meaning can't apply.  That means the ']' must be the first character inside the square brackets (Oracle assumes you're not ending the set right after you begin it) and the '-' must be the very last character inside the square brackets.
    Depending on what newline is on your system, you may want to use CHR (13) in addition to, or instead of, CHR (10).
    
    it would be more efficient to use the TRANSLATE fucntion, rather than REGEXP_REPLACE, to produce special_characters.  You'd have to list all 80 or so of the non-special characters, but you'd only have to do it once.
    {code}
    WITH     got_special_characters     AS
    (
         SELECT  id
         ,     summary
         ,     TRANSLATE ( summary
                     , '=0123456789ABCEDFGHIJKLMNOPQRSTUVWXYZabcedfghijklmnopqrstuvwxyz,: -[]()''"./\+%?#'
                           || CHR (10)
                     , '='
                     )     AS special_characters
         FROM    abc
    )
    SELECT       id
    ,       summary
    ,       special_characters
    FROM       got_special_characters
    WHERE       special_characters     IS NOT NULL
    ORDER BY  id
    ;
    

    Published by: Frank Kulash on 16 January 2013 12:35
    TRANSLATE the code added.

  • How to enter special characters/symbols (i.e. the degree character) in the text boxes?

    Not a problem/w Firefox - I was wondering if there is a way to enter the special characters and characters (not on the keyboard) in the text boxes? I remember that there is a keyboard sequence that activates a context menu allowing the single character/symbol entry. Thanks in advance, Allan.

    See:

  • invisible special character in the column of table all_source-text

    Hi all

    Query:

    SELECT P.TEXT, S.TEXT, P.LINE, S.LINE, LENGTH (P.TEXT), LENGTH (S.TEXT), LENGTH (REPLACE (P.TEXT,' ', ")), LENGTH (REPLACE (S.TEXT,' ',"))

    All_source p, all_source@LINK_TST. S WORLD

    WHERE p.TYPE = 'FUNCTION '.

    AND p.owner = 'ASAP '.

    AND P.OWNER = S.OWNER AND P.TYPE = S.TYPE AND P.LINE = S.LINE AND

    P.NAME = S.NAME AND

    AND LENGTH (TRIM (P.TEXT)) <>LENGTH (TRIM (S.TEXT));

    Clarification:

    This query returns the line offset accordingly.

    1 line of a function is driven on the request, seeing that the two text values are similar.

    1 TRIM feature works TRIM (text) <>TRIM (text)

    2.length (Trim (P.Text)) <>LENGTH (TRIM (S.TEXT));

    3. used function REPLACE not working LENGTH (replace (P.TEXT, ' ')) <>LENGTH (replace (S.TEXT,' '));

    I checked that a function a invisible extra character in the column of text which the query should return an incorrect value.

    How to exclude the invisible character in the query?

    Thank you

    Fabrice

    You see invisible characters

    Maybe...

    REGEXP_REPLACE (text, "[^ [: print:]]'")

  • Special character is the last character.

    Hi all, I am under Oracle 11 g and I am relying on the Oracle text. I understand how to use printjoins and how interrogate via "contains". I can successfully query for a period and get the desired result, if the period is integrated chain mid: for example) "john.paul.jones". However, when a deadline is the last characters: for example) "john.paul.jones." I can't get the query to return the desired folder. I looked in the I$ table and did not find the token "john.paul.jones.", what was there was 'john.paul.jones '. It seems that Oracle Text has not persisted to the chain with the Terminal period? Any help would be greatly appreciated.

    L

    Look at the punctuation of the lexer attribute in the text of reference [http://download.oracle.com/docs/cd/B28359_01/text.111/b28304/cdatadic.htm#CCREF0218].
    If the global nature of your collection of texts is not ordinary worth, then you can delete periods as a punctuation character - in other words, if your collection of text is something like e-mail addresses, where periods do not mean what they mean usually.
    If your collection is mainly regular penalties, and you don't want the period to include part of the token in the majority of cases, you will probably have to think in terms of processing of user input - that is to say, something like removing the end point of the input search to match what the php code Analyzer is plain text.

  • Rotate the text with the character within the text block style

    I would like to apply a paragraph or character style to a certain character in a text frame. I would need to rotate 90 degrees in the framework, separate from the other text. Is this possible?

    Insert the text block in the block of text as an anchor and rotation you need.

  • special characters in the text file import

    My project requires me to import a text file into a dynamic text field using the loadVariables function. My problem is that the text file contains an ampersign '& '. It seems that the ampersign stops the rest of the text of any on my flash movie. Is there a special character or an escape character that I can use to allow me to import the ampersign?

    I tried to use the & amp; and my dynamic text as HTML field. No luck. Oh... I use flash MX :(

    Any ideas?

    I found a link that allows you to:

    143 http://www.Adobe.com/cfusion/knowledgebase/index.cfm?event=view&ID=KC.tn_14143&EXTID=tn_14 & dialogid = 33731379 & iterationID = 1 & sessionID = 4830136b611e54860724 & stateID = 0 + 0 + 33735653 & mo = simple

    Example: & equivlant to 26%

    It works for me!
    Thanks for your suggestions.

  • Limit the first character in the text field to the letter and numbers?

    How can I limit only the first character entered in the text field as the letter H (uppercase) or any number? Thanks in advance.

    function of validateMemberID was a mistake on my part misnamed it. I thought about it...

    At the level of the JavaScript document

    Allow only characters that match the regular expression
    function validatePartialMemberId (value) {}
    return / ^ [H0-9]?\d{0,10}$/.test(value);
    }

    function validateFullMemberId (value) {}
    return / ^ [H0-9]\d{10}$/.test(value);
    }

    function checkMemberId() {}
    Get all of the characters that the user has entered
    var value = AFMergeChange (event);

    Allow the land to be developed
    If (! value)
    return;

    If (! event.willCommit) {}
    Event.RC = validatePartialMemberId (value);
    }
    }

  • Insert special character in the table containing the stored procedure

    Hello
    I'm running into a situation where I need to insert values such as
    speci'al
    special & not so' special
    But it went from an input parameter to a procedure where my Insert statement looks like
    Insert into my_Table (col1) Values (p_value);
    where p_values is an input parameter.
    I tried to look online, but all solutions are associated with sql * plus using game, I don't know how we can do it, any help/idea will be useful.

    Thank you!

    user10647455 wrote:
    I'm looking for something like this

    declare
    my varchar2(30);
    begin
    my := 'syn"Special"Char's/check/';
    mycode(q'[my]');
    commit;
    end;
    /
    

    It works:

    declare
        my varchar2(30);
    begin
        my := Q'[syn"Special"Char's/check/]';
        mycode (my);
    end;
    /
    
  • Under Type menu - Insert a special character - markers - current Page number in the text frame on the Master Page gives the letter A and also a horizontal black line the width of the text box.   This line is not a rule.  Turn on the Wellin gives another l

    Is anyone out there?

    I found the problem.  It was a rule after all.  I didn't the insertion point to the right place.  Everything is OK now.

  • is it possible to insert special characters in the text of a label control

    Can I insert an ascii extended character as a symbol of 'degree' (0xF8) in the label of a front panel control?

    Thank you.

    If you know the decimal ASCII code.  F8 is equal to 176, then hold down the Alt key and type in the number in the form of 4 digits on the keypad.

    So Alt-0176 on the numeric keypad enter the character directly without having to mess with the character map application.

    Another good thing to know is Alt-0177 which is ± (plus/minus symbol).

  • must allow a special character in the identification of email

    I can't print from my email working on eprint as eprint does not have an apostrophe "'" in the e-mail name.  Our servers is not a problem with that but eprint authorizes me to use overlays to the top email valid for printing services.  Can HP fix this or how do eprint a ud of electronic mail that contains an apostrophe?  THX

    Unfortunately, at this time ePrint is not designed to allow special characters in areas of mail. We can try another email set up for senders or can have e-mails sent to another email address, such as personal email and then send to the printer as a work-around.

  • Special character in the entry

    I am trying to use a script to change all the passwords to root on our ESXi servers, but our root has a password! in it, and this causes the script to fail.

    It is the line in the script when the user enters the password:

    $rootpswd = Read-Host -Prompt "Old root password"

    How can I change the script so that it will accept the! the password?

    Thank you


    Marc Crawford

    I should have been more precise, that I did not mean single quotes around the Read-Host prompt.

    When you use an exclamation as the 1st character in a string that you pass to the Read-Host cmdlet, you will have to put the exclamation mark twice. Otherwise, you come across this feature.

Maybe you are looking for

  • Can not delete emails after update to Thunderbird 31.2.0

    After update for Thunderbird Version 31.2.0 today, I'm not able to delete emails. Just nothing happens. Even the folder "Papierkorb" disappear. Can anyone help?

  • Camileo X 400 loss of video files

    I have a new Camileo X 400 with a sandisk Ultra 64 GB 30 MB/s installed SDXC card. On the two occasions that I recorded the video, about 45 minutes per video file, I played the videos on the LCD and checked, they are ok. Then, some time later, (after

  • I want to delete an inactive Apple account

    I have an I phone and a laptop asking yet old Apple ID. I have more access to the electronic ID/mail old, and it is inactive. I have another valid Apple id, but keep getting requests for the old id

  • How can I see texts such as Inbox and Outbox?

    Just bought everything first smartphone, motorcycle G (new model with 2 slots sim) would like to receive some advice please, I got the phone works to send and receive texts but would like to be able to see them as "Inbox" and "sent" but unable to pra

  • What is control by redundancy cyci

    When copying to DVD I get message not possible due to the cyclic redundancy check, what this means and how can we copy?