Double and over the place change into single space

Hi all

I am a beginner in the script. With the help of scripts CS3 tutorial to learn the script.

Today my task is in my paper, I want to change all my spaces double and above on the use of unique space loop.


My Script follows:

myDocument var = app.activeDocument;

app.findTextPreferences.findWhat = "NothingEnum.nothing;

app.changeTextPreferences.changeTo = "NothingEnum.nothing;

app.findTextPreferences.findWhat = "";

app.changeTextPreferences.changeTo = "";

app.activeDocument.changeText ();

var myFind = myDocument.findText (true);

for (i = 0; i < myFind.length; i ++) {}

Alert (i) / * I think it's the line I need * /.

}

Can someone help me to run the program properly.

X the learner says:

If I have a doubt that I raise my questions in the forum. Please help me in the future. Explain like what you mentioned in the above line.

Well, only when I have time of course.

If we answer your question, can mark you it as such? That will help people when they have the same question.

Tags: InDesign

Similar Questions

  • My keyboard is so sensitive, he jumps all over the place if I brush just another key.

    My keyboard is so sensitive, he jumps all over the place if I brush just another key.  I never know where it will take me when that happens.  Is there a place I can take care of this problem?  Shortcuts?  Press control?

    Original title: keyboard key

    Hello

    Most manufacturers provide methods to disable the touch pad so check with your
    the manufacturer of the laptop supports, their books online and ask in their forums.
    Make sure you have the latest drivers available - firstly starting from the manufacturer of the laptop
    the site and on the site of the manufacturer of the real device (such as Synaptics or)
    Alps) to see if there are even newer versions. They may also have an installable
    utility to control the toggling of the TouchPad. Some use the function key (F-keys)
    to enable and disable the touchpad (latest drivers).

    There may be a utility in the notifications area (near the clock in the lower-right).

    Panel configuration-mouse - there are often - tab device settings - settings
    Some have a disable option and others.

    ==========================================

    This utility also lets you control the TouchPad: (Vista, &, 8 & 8.1 - I have not
    tried with Windows 10 but it should work.)

    TouchFreeze - free
    http://code.Google.com/p/TouchFreeze/

    I hope this helps.
    --------------------------------------------------------------------------------------------
    Rob Brown - Microsoft MVP<- profile="" -="" windows="" experience :="" bicycle="" -="" mark="" twain="" said="" it="">

  • How to list the when a Table is created, and when the last change?

    Is there a way to know when a TABLE was created originally, and when the last change (=. for example, the last INSERTION of a line or UPDATE a line)?

    Peter

    Hello!

    select created,last_ddl_time from dba_objects where object_type = 'TABLE' and object_name = 'table_name'
    

    created ways to create object (table)
    last_ddl_time means when the structure of tables was the last modified time

    But there no opinion with dml last on the table. You must provide this with a few columns on table (Last_dml_time) that should be filled with
    Some database triggers

    Or if you have enabled AUDITING, then last time dml is registered also in audit trail

    T

  • I have a 32-bit windows 8 unique language and I want to change it single language 8 64-bit windows can I use the same product key for 64-bit?

    My office is running 64-bit and I bought a reason to single language UK 8 32-bit windows of I do not know more about this "32-bit 54 bits.

    and now, I thought about it, I want to change language unique to 64-bit windows 8.

    Is it possible to use my product key windows 8 single language UK 32 bit os for windows 8 UK OS 64-bit language?

    If it is possible where can I download a single language of Windows 8 UK 64 bit OS?

    Yes, it is valid for either 32 or 64 bits, its up to you which you want to use the architecture. Please note 1 key, 1 license.

    You'll have to Google download

  • Addition of Mac and also the buttons change the wording

    Hello

    IM new to Adobe Muse on mac but have worked with her before on a windows computer and did not have these problems before.

    IM wondering why when I add the header buttons on my site I can only add a. I'll widgets then click here to add menu and then horizontal and get the button one alone but I can't add on that as the + never happens. I can also change the text inside "originating" more. I had no problem before on my windows computer does all this. Also, I don't want to just copy the button and hold it paste the rest as it is much more difficult to size them have full rights and also change all the settings on each key separately.

    One last thing would be useful as the top menu is placed all the way from left to right, but when I saw it leaves a small gap on each side in white when the bar/menu (Home, news,) is black.

    Any help would be great!

    David

    SnapnPay

    When you add a menu widget to the page it automatically draws its links in existing senior-level pages of your site. Looks like you don't have a page, home page, for the moment, that is all that should appear. When you add more pages, they will be automatically added to the menu. The menu labels are taken from page names, so if you change the name of the House to something else, it will change its label in the menu.

    If you have manual control over menus, open the widget settings and change the Menu Type to manual. You must define the label name and the hyperlink in yourself and you can add more items that you need. Remember that this does not automatically updated with changes made to the site.

    I hope this helps.

    David

  • How iterate over the attributes of a single entity?

    I'm working on a script of transformation of the logic model. I take a list of entities:

    var = model.getEntitySet () .toArray () entities;

    iterate over the entities:

    for (var e = 0; e < entities.length; e ++) {}

    var = [e] entities entity;


    and try to get a list of all the attributes of the current entity:

    var attributes = entity.getAttributeSet () .toArray ();

    After that, I try to iterate through the attributes:

    for (var a = 0; a < attributes.length; a ++) {}

    attribute var = attributes [a];

    While performing an iteration on the attributes, I realized that the list is always the same. I always get a list of all the attributes probably of the whole model, even for entities without any attribute.

    How can I get a list of the attributes of a single entity?

    Hello

    Use entity.getAttributes)

  • By copying and pasting the diaper changes, they do not transfer even when I connect them, help

    I made changes to the image of the baby opening his eyes upward, when I copy and transfer the image onto a new background changes to the eyes do not follow. I tried to save the image separately in a new file, I've linked layers changed with no results, changes to the eyes refused to transfer as well as the overall picture. I know that it got a be something very simple, Miss me him. I use Photoshop CC the last updated version.

    Thanks for the help.

    Alden

    If you try to copy the pixels more then a layer you use copy merged copy not right. Copy copies pixels in the selected area in the active layer of the target, fusion copies copies of the composite.

    CTRL + C = copy

    Shift + Ctrl + C - copy merged

  • different output for max() with prescription and over-the-counter

    with t1 as 
    (SELECT 'case2' AS promo_id, to_date('8/20/2012','MM/DD/YYYY') as promo_start_dt, to_date('8/24/2012','MM/DD/YYYY') as promo_end_dt, '30' as qty from dual
       UNION
      SELECT 'case2' AS promo_id, to_date('8/26/2012','MM/DD/YYYY') as promo_start_dt, to_date('8/27/2012','MM/DD/YYYY') as promo_end_dt, '40' as qty from dual
       UNION
      SELECT 'case2' AS promo_id, to_date('8/27/2012','MM/DD/YYYY') as promo_start_dt, to_date('8/29/2012','MM/DD/YYYY') as promo_end_dt, '40' as qty from dual
      )
      select t1.*, max(promo_end_dt) over(partition by promo_id) max_val from t1
    
    promoid    promo_start_dt    promo_end_dt  qty     max_val
    case2      8/20/2012       8/24/2012           30     8/29/2012
    case2      8/27/2012             8/29/2012           40     8/29/2012
    case2      8/26/2012            8/27/2012           40     8/29/2012
    
    but why this below query is giving different output, the below query should also return the same output, adding order by promo_start_dt is giving different output
    
    with t1 as 
    (SELECT 'case2' AS promo_id, to_date('8/20/2012','MM/DD/YYYY') as promo_start_dt, to_date('8/24/2012','MM/DD/YYYY') as promo_end_dt, '30' as qty from dual
       UNION
      SELECT 'case2' AS promo_id, to_date('8/26/2012','MM/DD/YYYY') as promo_start_dt, to_date('8/27/2012','MM/DD/YYYY') as promo_end_dt, '40' as qty from dual
       UNION
      SELECT 'case2' AS promo_id, to_date('8/27/2012','MM/DD/YYYY') as promo_start_dt, to_date('8/29/2012','MM/DD/YYYY') as promo_end_dt, '40' as qty from dual
      )
      select t1.*, max(promo_end_dt) over(partition by promo_id order by promo_start_dt) max_val from t1
    
    giving output as 
    
    promoid    promo_start_dt    promo_end_dt  qty     max_val
    case2      8/20/2012       8/24/2012           30     8/24/2012
    case2      8/27/2012             8/29/2012           40     8/27/2012
    case2      8/26/2012            8/27/2012           40     8/29/2012

    Hello

    This is the expected behavior. Analytical functions still work on the lines in the order specified in the function order_by_clause and in the specified partition.

    So, when you treat the first row if ORDER BY is specified, it will calculate the function based on the first line, on the second, based on the first and the second on the third based on the three rows.

    If you do not ORDER BY then the analytical function is calculated according to the whole score.

    that is to say:

    WITH mytest AS (    SELECT 'A' p, LEVEL n
                          FROM DUAL
                    CONNECT BY LEVEL <= 10)
    SELECT p, n, MAX (n) OVER (PARTITION BY p) max_n
      FROM mytest;
    
    P          N      MAX_N
    - ---------- ----------
    A          1         10
    A          2         10
    A          3         10
    A          4         10
    A          5         10
    A          6         10
    A          7         10
    A          8         10
    A          9         10
    A         10         10
    
    WITH mytest AS (    SELECT 'A' p, LEVEL n
                          FROM DUAL
                    CONNECT BY LEVEL <= 10)
    SELECT p, n, MAX (n) OVER (PARTITION BY p ORDER BY n) max_n
      FROM mytest;
    
    P          N      MAX_N
    - ---------- ----------
    A          1          1
    A          2          2
    A          3          3
    A          4          4
    A          5          5
    A          6          6
    A          7          7
    A          8          8
    A          9          9
    A         10         10
    

    Kind regards.
    Al

    Published by: Alberto Faenza January 24, 2013 16:19

  • copy and paste the sql statement into sql * more

    How do you paste the sql statement into sql * more... I tried the following options, get the windows interface for this sequel to the documentation below, but that did not work

    http://download.Oracle.com/docs/HTML/A88829_01/ch3.htm

    then I tried to create a simple .txt file with my sql statement and tried to run using @name (where name is the name of the file) and it gives me the following error SP2-0310: cannot open the file 'firstscriot.sql '.

    You name the file name.txt? Then you cannot start with @name, because SQL * PLUS will add the extension .sql

    Try instead the @name.txt or name the file name.sql

    And check if you have the correct path.

    Concerning
    Marcus

  • InDesign CS4 does not display the icon in the shape of triangle for the images changed into links

    My InDesign crashed the other day and now it gives me is no longer the yellow triangle icon in the links Panel to indicate that image has been changed and must be updated. I generally do not connect the image to the original through Indesign, but work independently in Photoshop. This has never been a problem. After that I updated the image in PS, the triangle appears instantly in ID in order to be able to click on it and update the image.

    I can always click on the Refresh button to update the image, but I wish that these rear indicators because it helps me with older documents - so that I can know what are the images really need to update and which are not.

    I restarted the Panel and launched and closed the bridge such as suggested in other older discussions, and he has not made a difference. I also noticed that if I try to open the original image by ID with open with, the icon for the PS, for example, doesn't think I'm in PS (it opens the image in Windowd Paint). It makes me wonder is the whole connection between ID and PS is messed up. How can I correct this connection?

    Have you tried to delete your preferences?  How it is here.

  • HP 2000 Power 2000-2c29WM PC: enter your displays of power on password and then the system goes into repair automatic bootloop

    It asks password admin or power on password and past the preparation of auto repair. So, if I could get the power on password and has anyone encountered this problem

    @MovingShadowTec

    When asked for the password enter 74520968

    REO

  • How to save downloaded and open the PDF directly into my laptop, compared to saving the file in the cloud? Can I remove DC and install Acrobat Reader, which is thin and easier to use for my needs and much, much more secure?

    Somehow, I downloaded and installed Adobe alleged DC update for the existing acrobat Reader installed on my laptop.

    DC app has been a disaster for me in terms of generation of convoluted navigation and extra work.

    In addition, I do NOT trust or want an application based on a cloud because of the deep and hard-learned risk, privacy and security, as well as the occasional loss of connectivity online and access, what urgent needs can get GROUND in terms of use of such an external cloud-based application.

    Issues related to the:

    [1] how to save a PDF downloaded and open directly on my laptop, a report file to save the file in the cloud and then copying it in the folder of the laptop? This process in several steps inside the DC is a frustrating PITA, as Adobe Acrobat Reader has been sufficient for my needs.

    can [2] Alternatively, I remove CD and install the latest version of Adobe Acrobat Reader, which is thin and easier to use for my needs and much, much more secure?

    Thank you very much in advance for the help and deliberate in a timely & the readers attention. Today is Tuesday, November 3, 2015.

    Kind regards

    Stephen H. Franke

    E-mail: shfranke@hotmail... com

    Hi stephenf95557665,

    (1) you can simply save the file on your computer as allows you to save in the older version of the player, it is not necessary to register I your cloud of document.

    If you save the file to the document cloud, you will be able to access any system from anywhere.

    (2) If you still think earlier version users need, then they can probably uninstall the last being & reinstall the old version using this link http://get.adobe.com/reader/enterprise/

    Kind regards
    Nicos

  • Jump the cursor-it moves on its own and jumps all over the place

    After an insertion point to recent "recovery" exercises with my Dell PC (runing Microsoft Vista, my cursor has developed a mind of your own and jump everywhere I try to write even a single sentence. Help!

    FreddieM

    Hello FreddieMunnings,

    This thread has been created in the Microsoft answers Site Feedback forum. the Microsoft moderation team has moved this thread to the Performance and maintenance Forum.

  • I'm updating my floppy drive that has a very early version of hcl on this. I've been all over the place and still can not find. Help?

    ... all I'm really trying to do is identify all material on multiple PCs that I have too much space in every sense... trying to determine what is worth keeping or not.  Thought that the best way to do that would be to update the HCL... hours have passed and I still can't find where update!

    Hi Robin Walton,.

    To update any hardware device on the computer, you will need to contact the manufacturer of the device or the computer manufacturer for more information about the availability of updated drivers.

  • Copy the titles in the new session and preserve the placement/time clip

    I have several sessions of dialogue that I need to combine into one. When I copy and paste in the new session the second piece and so forth slide up to 0. How can I avoid this and do everything to stay in his place?

    Session of orig

    After pasting audio track 2 and 3 new session slipped up to 0

    I thought about it. I selected all the titles (Ctrl A) one click right selected "locked in time" and then paste to 0 on the new session.

Maybe you are looking for

  • G56: I forgot my admin password.

    I need this pc for my homework and I can't make it work. I forgot my admin password. I get a 58331346 code. Someone please help.

  • Satellite 2410: Question about the different ways to use BlueTooth

    Hello I can't find a place to buy a bluetooth module for my Toshiba Satellite 2410 - the manual says I can, and I know that there is space on the underside of the laptop to insert it. I can't seem to find one to buy - anyone know if they actually exi

  • MacBook pro screen turns off randomly?

    My 15 inch Macbook Pro 13 (obtained in new end 14 h & B, started using it at the beginning of the 15) has a screen which turns off at random (dim backlight is - I can see a slight difference when I actually turn off the laptop), in addition to the pr

  • (KB2467175) installs successfully but is available again

    Original title: Re-install an update already installed? My computer tells me that I have a "major update" described as "Security Update for Microsoft visual C ++ 2005 Service Pack 1 Redistributable Package (KB2467175). Whenever I install it (successf

  • Windows Media Center didn't undating not yet.

    A few years ago my Media center was running down, less than a week before the updates are available.  Now he has done it again.  I miss programming next Tuesday - July 22, 2015.  Under the heading "about guide data" he told zap2it expires then.  Micr