Please help me fix the script

I try to write a script by my slef but not work

app.findGrepPreferencest = firstLineIndent:8, leftIndent:8;

app.changeGrepPreferences = firstLineIndent:8, leftIndent:16;

app.changeGrep ();

app.findGrepPreferences = app.changeGrepPreferences = null;

Can someone please help me fix the script, please.

Hello

Try this.

app.findGrepPreferences = app.changeGrepPreferences = null;

app.findGrepPreferences.firstLineIndent = '8 ';

app.findGrepPreferences.leftIndent = '8 ';

app.changeGrepPreferences.firstLineIndent = '8 ';

app.changeGrepPreferences.leftIndent = "16pt;

app.changeGrep ();

app.findGrepPreferences = app.changeGrepPreferences = null;

Kind regards

Cognet

Tags: InDesign

Similar Questions

  • Please help me fix my script!

    Please help me fix my script

    I use this script that copy from the adobe forum:

    app.findGrepPreferences.findWhat = "\\r";

    app.changeGrepPreferences.changeTo = "\\r\\r";

    app.changeGrep ();

    app.findGrepPreferences = app.changeGrepPreferences = null;

    to change my back one or two, but it will always change all my documents.

    How can I tell the script that I only want to change the selection?

    Hello

    Note the syntax ==> target changeGrep()

    If the target is app ==> it runs through the entire application of the ways each open document

    If the target is doc ==> it runs through all doc

    It can be called for textFrame, story, paragraph..., any text object.

    In your use case

    App.Selection [0] .changeGrep ();

    or browse the selection and appeal

    App.Selection [i] .changeGrep ();

    Jarek

  • When I try to defrag, a window opens and closes and a file download-security warning. A loop repeats. Other programs to do the same thing. Please help me fix this loop? SOS?

    When I run defrag, an IE window opens and closes and a file download-security warning comes up and asks me to run or save the file name: c:\windows\system32 dfrgui.exe, if I hit then another warning of IE - sec stands up and says 'the Publisher could not be verified. Are you sure that you want to run. I struck and the loop repeats. I run a diag of the F10 boot menu with dell. They say that its software and non-material, pay! Microsoft says that Dell is responsible. Other programs to do the same thing. I've updated and rerun my AVG security without error. We are automatically updated, and no other programs were added. Please help me fix this loop? SOS?

    Vista - open file - security warning
    http://www.Vistax64.com/Vista-security/125044-open-file-security-warning.html

    How to repair the operating system and how to restore the configuration of the operating system to an earlier point in time in Windows Vista
    http://support.Microsoft.com/kb/936212/#appliesTo

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/default.aspx/KB/929135

    Your programs launch properly from Safe Mode?  Or Normal Mode if you create another user to test with?

    Vista advanced boot options
    http://Techblissonline.com/Vista-advanced-boot-options/

    Try running ChkDsk to check your drive for errors. Right click on your drive icon / properties / tools / error checking.  Try first by checking do not each box (that it will run in read-only mode) to see if it reports any problems file or hard drive.  If so, restart it by checking both boxes and restart to allow him to attempt to fix any problems found.

    I see a lot of recommendations here for programs such as -

    Malwarebytes' Anti-Malware
    http://www.Malwarebytes.org/MBAM.php

    SuperAntispyware
    http://SUPERAntiSpyware.com/

  • Can someone please help to get the drivers/utilities on my Sony laptop to my bluetooth stack?

    Toshiba bluetooth stack, Sony & Windows 7

    "To continue or not to continue the reinstallation of the Toshibas enigma -" Toshiba bluetooth stack "-on a Windows 7 Pro upgrade Vista Pro.

    After a clean install, I lost my beautiful environment of Bluetooth on my laptop Sony vgn-bx51-vn in 2005 (a laptop that is like finding teeth of chicken on the Sony site).  I did a smart thing to keep the "Toshiba" Bluetooth file when I finally removed the windows.old folder after the re-installation.  Only smart because it allowed me to compare models with a pilot of 'original' newly downloaded and files utility (including msi files) Sony - the result was that there are a lot of files that is different.

    They newly installed drivers grumble horribly subject knowing incompatabilities with Win 7 (which is just a skin on top of Vista... or so I thought) and refuse to carry you.  They subsequently take you to Toshiba where you end by abandon the search for any useful help in spite of being a good faith user - no?

    Cut to the Chase.  Can someone please help to get the drivers/utilities on my Sony notebook by hook or crook.  NB. I hope just to aspire to the use of Bluetooth for something useful someday but am also irritated by the cul-de-sac which is software policy.

    Thank you very much - I.

    Ok.

    I mentioned that I had 2 problems - no Wifi and no BT.

    Wifi driver here http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&ProdId=2259&DwnldID=20790&ProductFamily=Wireless+Networking&ProductLine=Intel%C2%AE+Centrino%C2%AE+Wi-Fi+Products&ProductProduct=Intel%C2%AE+PRO%2fWireless+3945ABG+Network+Connectioneng#help

    And here's the fix for BT http://mikescloset.blogspot.co.uk/2011/12/dell-toshiba-bluetooth-350-and-windows.html

    Credit to Mike for the intelligent correction.

  • Help me fix the ToolTip timeout error

    I have a ToolTip feature that was working perfectly until I decided to introduce a delay before the ToolTip does not immediately appear after the hover.  The original function (which works well) is the following:

    buttonObj [Save_btn.name] = ["Save current product required for the XML file", - 50, - 25];
    Save_btn.addEventListener (MouseEvent.MOUSE_OVER, addToolTipF);
    Save_btn.addEventListener (MouseEvent.MOUSE_OUT, removeToolTipF);

    function addToolTipF(e:MouseEvent):void {}
    setTimeout(toolTipF,3000,e);
    //}


    function addToolTipF(e:MouseEvent):void {}
    var a: Array = buttonObj [e.currentTarget.name];
    var tf:TextField = new TextField();
    buttonObj [e.currentTarget.name] .push (tf);
    TF. Text = a [0];
    TF. Multiline = false;
    tf.autoSize = "left";
    TF. Border = true;
    TF. Background = true;
    addChild (tf);
    TF.x = a [1] + e.currentTarget.x;
    TF.y = a [2] + e.currentTarget.y;
    }

    function removeToolTipF(e:MouseEvent):void {}
    removeChild(buttonObj[e.currentTarget.name][3]);
    buttonObj [e.currentTarget.name] .splice (3,1);
    }


    What follows is by presenting the delay (only the changes are in bold, so the error must be in the "BOLD" parts):

    buttonObj [Save_btn.name] = ["Save current product required for the XML file", - 50, - 25];
    Save_btn.addEventListener (MouseEvent.MOUSE_OVER, addToolTipF);
    Save_btn.addEventListener (MouseEvent.MOUSE_OUT, removeToolTipF);

    function addToolTipF(e:MouseEvent):void {}
    setTimeout(toolTipF,3000,e);
    }


    function toolTipF(e:MouseEvent): void {}
    var a: Array = buttonObj [e.currentTarget.name];
    var tf:TextField = new TextField();
    buttonObj [e.currentTarget.name] .push (tf);
    TF. Text = a [0];
    TF. Multiline = false;
    tf.autoSize = "left";
    TF. Border = true;
    TF. Background = true;
    addChild (tf);
    TF.x = a [1] + e.currentTarget.x;
    TF.y = a [2] + e.currentTarget.y;
    }

    function removeToolTipF(e:MouseEvent):void {}
    removeChild(buttonObj[e.currentTarget.name][3]);
    buttonObj [e.currentTarget.name] .splice (3,1);
    }

    The error is as follows.  Note that the error is produced even when I stay for 10seconds the button is not a question of not granted a time limit for the ToolTip to appear.

    TypeError: Error #2007: child parameter must be non-null.
    at flash.display::DisplayObjectContainer/removeChild()
    at Websiteversion3_Scene1_fla::MainTimeline/removeToolTipF() [Websitevers ion3_Scene1_fla. MainTimeline::frame1:246]
    TypeError: Error #1010: a term is undefined and has no properties.
    at Websiteversion3_Scene1_fla::MainTimeline/toolTipF() [Websiteversion3_S cene1_fla. MainTimeline::frame1:234]
    service / http://adobe.com/AS3/2006/builtin: applies ()
    to SetIntervalTimer / onTimer)
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()

    Please help me solve the error, thanks!

    He fixed and you sent the mail

  • My 5s iphone is updated to 9.3.1 now it showing an error while it controls for software update. Error is "cannot verify the update ' so please help me solve the error

    Please help me solve the error message

    Connect the phone to a computer running iTunes 12.3.3 or later, with a cable and try check update

  • someone please help me restore the photos deleted from my camera sony cybershot

    someone please help me restore the photos deleted from my camera sony cybershot downloading on computer. Are there any hidden folder in drive g as basket in pc from where deleted photos can be restored

    N ° when the photos are removed from the Flash of the camera, they are gone.

    If you have not done something since then with the camera, you can download the software on your computer that may be able to recover deleted photos, or you can send the somewhere flash memory card that can do it for you.

  • HP Pavilion G6 2323sx: Please help me for the missing driver of my laptop. (acpi\hpq0004\3 & 11583659 & 0)

    Dear Sir / Maam,.

    Please help me find the driver for the unknown device from my laptop.

    Model HP 2323sx G6

    Operating system Windows 8.1 (64-bit)

    Unknown Device acpi\hpq0004\3 & 11583659 & 0

    Thanks in advace.

    Hello:

    You need this driver...

    http://h20566.www2.HP.com/hpsc/SWD/public/detail?swItemId=ob_125640_1

  • My brother bought window 7 and I use XP. What do we have to do for me to control his computer from my XP, so I can help or fix the errors.

    original title: remote assistance

    My brother bought window 7 and I use XP. What do we have to do for me to control his computer from my XP, so I can help or fix the errors.

    all you need is an application called "Remote Desktop Connection", it comes pre-installed in windows 7, if you have windows XP home, you can't get the remote desktop, but if you upgrade to XP Professional you can.

  • Deleted his bus from Add/Remove programs by mistake please help me get the sound on my computer. Thank you.

    Deleted his bus from Add/Remove programs by mistake please help me get the sound on my computer. I had downloaded new software I wanted to delete and that which the sound bus (I think that's what it was called was another program added with this software, it is a blue icon) I feel stupid, but really would like help getting the sound back on my computer. I have Windows XP Professional. Thank you.

    Hi Rhonda327,

    Check if an error code is listed in the Device Manager:

    a. Click Start, click Run and then type devmgmt.msc

    b. expand sound, video and game controllers

    c. double-click the sub element

    1. run the system restore. Restore the system to the date when it was working fine. You can check the link for the steps below: how to restore Windows XP to a previous state: http://support.microsoft.com/kb/306084

    2. you can also run the patch from the link below: diagnose and automatically repair audio playback problems:http://support.microsoft.com/mats/no_sound/en-us

    Check out the links that gives you information about the installation of drivers from the manufacturer's Web site and also not to know the manufacturer or the supplier of the device below.

    Link:

    How to update a sound card driver in Windows Vista and Windows XP:http://support.microsoft.com/kb/166774

    Add the above suggestions, you can alos use windows update to install the drivers for the device. Link, please refer to:http://www.microsoft.com/windows/downloads/windowsupdate/learn/windowsxp.mspx

    With regard to:

    Samhrutha G S - Microsoft technical support.

    Visit ourMicrosoft answers feedback Forum and let us know what you think.

  • Please, help to recover the BIOS on the dv7-4120er (xe276ea)

    Please, help to recover the BIOS on the dv7-4120er (xe276ea).

    I updated my BIOS, but now the screen is off.

    I have no HP_TOOLS of recovery on the HARD drive partition and I did not backup usb with BIOS.

    How can I recover my BIOS?

    Please help me.

    Please see HP Notebook PC - Restore the BIOS, which States that you may be able to create a 'USB key with a HP_TOOLS volume' to Flash the BIOS. Please see http://h30434.www3.hp.com/t5/Other-Notebook-PC-Questions/How-to-use-the-HP-BIOS-update-uefi-utility/... for step by step instructions that can be used to create the 'USB key with a HP_TOOLS volume '. You may be able to skip 'step 4 '. Please see the HP Pavilion dv7-4120er Entertainment Notebook PC drivers page for the appropriate download needed for this procedure.

    Updated HP Notebook System BIOS (Intel processors)

    HP System Diagnostics UEFI

    HP Unified Extensible Firmware Interface (UEFI) support environment

    HP update BIOS UEFI

    If you have any other questions, feel free to ask.

    Please click the 'Thumbs Up' white LAURELS to show your appreciation

  • Please help me correct the printer prints in code

    Please help me correct the printer prints in code

    Hi, Vicky,

    Printer make a model, please.

    Did the firmware update?  Visit the site of the manufacturer of the printer for the updates.

    Right click on my computer

    Click on manage

    Click on Device Manager

    Click on the + sign next to the printer

    Right-click on the item in the menu drop down and select uninstall

    Restart your computer and try printing again

    Look for updates on the manufacturer's website.

  • HP Pavilion g6: Please help me remove the Power On password or administrator password

    Please help me remove the administrator password or power on password. The stop code is: 68478111

    Hello:

    Please see the info on the link below which should solve your dilemma.

    http://h30434.www3.HP.com/T5/notebook-operating-systems-and-software/system-halt-error-message-or-BIOS-password-reset-generator/m-p/5010033

  • Have inadvertently made my banks logo my background on my table, please help, not found the answer anywhere.

    Have inadvertently made my banks logo my background on my table, please help, not found the answer anywhere.

    Hello

    See if this helps you:

    "Change your desktop background (wallpaper).

    http://Windows.Microsoft.com/en-us/Windows/change-desktop-background-wallpaper#1TC=Windows-7

    See you soon.

  • Please help me choose the right format mask

    Hello everyone.

    We use Oracle 11.1.0.7 RAC.

    Please help me choose the right format for function to_char mask. On the left is a digital input, on the right is output desired:

    NUMBER VARCHAR2

    0,123 0.123

    12345678-12345678

    12345678.1234 12345678.1234

    12345678.123 12345678.123

    12.00000008 12.00000008

    WITH data AS
            (SELECT 0.123 n FROM DUAL
             UNION ALL
             SELECT 12345678 FROM DUAL
             UNION ALL
             SELECT 12345678.1234 FROM DUAL
             UNION ALL
             SELECT 12345678.123 FROM DUAL
             UNION ALL
             SELECT 12.00000008 FROM DUAL)
    SELECT
         TO_CHAR (n)
    FROM
         data;
    

    Thank you, Dmitry.

    Hi, Dmitri,

    Dmitry Dunaev wrote:

    Hello everyone.

    We use Oracle 11.1.0.7 RAC.

    Please help me choose the right format for function to_char mask. On the left is a digital input, on the right is output desired:

    NUMBER VARCHAR2

    0,123 0.123

    12345678-12345678

    12345678.1234 12345678.1234

    12345678.123 12345678.123

    12.00000008 12.00000008

    1. WITH the data AS
    2. (SELECT 0,123 n FROM DUAL)
    3. UNION ALL
    4. 12345678 SELECT FROM DUAL
    5. UNION ALL
    6. SELECT 12345678.1234 FROM DUAL
    7. UNION ALL
    8. SELECT 12345678.123 FROM DUAL
    9. UNION ALL
    10. SELECT THE DOUBLE 12.00000008)
    11. SELECT
    12. To_char (n)
    13. Of
    14. data;

    Thank you, Dmitry.

    I don't think that TO_CHAR can do by itself.  You should maybe call TO_CHAR and then manipulate the output a bit.

    Looks like TO_CHAR with 1 single argument does exactly what you want except when it returns a string starting with a decimal point, in which case you want to concatenate a '0'.  So call TO_CHAR with 1 argument, see if returns the string begins with a decimal point and, if so, put a '0' on it, like this:

    WITH got_str AS

    (

    SELECT n

    TO_CHAR (n) AS str

    FROM the data

    )

    SELECT n

    CASE

    WHAT LIKES str '. %'

    THEN "0". Str

    Of ANOTHER str

    END AS str0

    OF got_str

    ;

    Output:

    STR0 N

    ---------- -----------------------------------------

    0,123.123

    12345678-12345678

    12345678.1 12345678.1234

    12345678.1 12345678.123

    12.0000001 12.00000008

    What do you want for greater than-1 negative numbers?  You may need to make the CASE a little more complicated expression, like this:

    WITH got_str AS

    (

    SELECT n

    TO_CHAR (n) AS str

    FROM the data

    )

    SELECT n

    CASE

    WHAT LIKES str '. %'

    THEN "0". Str

    WHEN the str LIKE '. %'

    THEN '-0 "|" SUBSTR (str, 2)

    Of ANOTHER str

    END AS str0

    OF got_str

    ;

Maybe you are looking for

  • Firefox on Ubuntu Linux does not open the PFD files (blank tab opens)

    Firefox running on Linux (Ubuntu 13.04).When I click on any file (or attachment) which is in PDF format, Firefox opens a blank tab and display content.I saw a similar question for Apple computers, but it does not work under Linux and neither does Win

  • Satellite L100-179 - cannot use the full amount of RAM

    Hello I have the laptop above and for some time have been under Windows XP with the RAM, he came with, I have now bought 2 sticks of 1 GB, after checking the max RAM allowed, the problem is that when I install Windows reports that 896 MB of RAM insta

  • Various Newby Questions on get Podcasts on iTunes

    I want to download podcasts (.mp3 files) to iTunes 2 Web sites that I administer - one is a WordPress ( http://www.hopeandpassion.org/?page_id=232 ) site and one is a non-WordPress ( http://www.norwinalliance.org/audio-links.php ) site. There are abo

  • How to disable Lenovo energy management

    I have Vista Home Premium on my Y430. Once I disabled Lenovo Energy Management and used the Vista build-in power management. My impression was that the battery lasted longer when you use the build-in one than Lenovo Energy Management (4 hours from 3

  • How to install Windows XP SP2 on Satellite A205-S4587 no floppy USB drive

    Hi all. I ask forgiveness for my EnglishI have the Toshiba Satellite A205-S4587 model. For me it is not necessary for Windows Vista operating system, and I want to establish the Windows XP SP2 operating system. Because I have all queshion. 1. If I is