change in locked stories (GREP)

Hi all

I'm looking for a way to change all the locked stories without the need to unlock.

I tried a lot of things in the scripts, but I haven't found a way to change hidden layers not locked stories or block of text

is it possible to do in the script because I found it possible but on apple coding

Thank you

Suzan

Hello

Generally to aid "[target] .changeGrep () ' will not work."

I found another way, this work for me (cc version9.3) without unlocking frames from layers and related texts.

main();

function main() {
  var doc = app.activeDocument;

  var find_grep_obj = {
    appliedFont: "Arial",
    fontStyle: "Regular",
  };
  var change_grep_obj = {
    appliedFont: "Myriad Pro",
    fontStyle: "Bold",
  };

  with (app.findChangeGrepOptions) {
    // includeFootnotes            = false;
    // includeHiddenLayers         = false;
    includeLockedLayersForFind  = true;
    // includeLockedStoriesForFind = true;
    // includeMasterPages          = false;
    // kanaSensitive               = true;
    // widthSensitive              = true;
  }

  var match = grep_find(doc, find_grep_obj);
  for (var mi=0, mlen=match.length; mi < mlen ; mi++) {
    var container = match[i].parentStory.textContainers;

    for (var ti=0, tlen=container.length; ti < tlen ; ti++) {
      // without unlocking
      // container[ti].locked = false;
      // container[ti].itemLayer.locked = false;
    };
    for (var prop in change_grep_obj) {
      match[mi][prop] = change_grep_obj[prop];
    };
  };

  function grep_find (target_obj, find_grep_obj) {
    app.findGrepPreferences = NothingEnum.nothing;
    app.findGrepPreferences.properties = find_grep_obj;
    var result = target_obj.findGrep();
    app.findGrepPreferences = NothingEnum.nothing;
    return result;
  }
}

Thank you

mg.

Tags: InDesign

Similar Questions

  • Change in Apple Store

    Hello, I would like to change my Apple store in the Australia to the United States, but I can't because I have a free trial subscription of Apple's music that does not expire before 10 15, 2016. I have to wait until the subscription expires before I can change the Apple stores?

    Thank you very much!

    Click here and ask for help from the staff of the iTunes Store.

    (144335)

  • Change country Apple Store ID?

    I tried so many ways, but I'm not able to change the country on the base of my App without inputing ID credit cards... How can I do? Thank you!!

    Hello

    Instructions for changing your iTunes Store country are available below. Your billing information must match the store you want to buy:

  • If I change my iTunes store, going to lose my old purchases?

    If I change my iTunes store, going to lose my old purchases?

    Not sure what you mean by losing.

    You lose nothing of what you have stored somewhere.

    You cannot access another country's iTunes store, unless you are within the borders of this country, then you would not be able to re-download anything from another country.

    As long as you keep your content on your computer and save them, you will not lose.

  • How to change the App Store?

    Change the App Store United Kingdom in India

    1. open the app store

    2. scroll to the bottom

    3. There is a national flag at the bottom right icon

    4 click it to open the entire region page, then choose the India.

  • I want to change my lock screen background

    Customize active win8
    I'm not party to customize activated Windows 8. Please help me I want to change my lock screen background

    Hi erfaneslami,

    I think you're wanting to know how to change your lock screen (not having is not a problem, just want to know how)? If I misunderstood, I apologize but give money steps a shot and see if you can change your lock screen.

    Starting from the start screen , tap lock screen
    Select settings
    Select the lock screen

    From there, you will be able to change your lock screen.

    For more information about Windows 8, take a look at the information here.

    Thank you!

  • Cannot change screen locked in 8.1 Win image

    I recently a substantive change to lock screen problem. I'm under win pro 8.1 and is activated. But when I select a picture, the circle on the right preview page keep going round and round but it didn't there no preview and I can't change the lock screen wallpaper. I tried sfc/scannow, but it says that it cannot repair some files. Does anyone know how to fix this?

    Hi John,.

    Welcome to the Microsoft community.

    This problem may occur because of file system corrupt, corrupted user profile or the key is removed from the Windows registry.

    I suggest you try the methods and check them off below if this is useful:

    Method 1: Run "DISM Cleanup-Image' tool.

    Follow the steps below:

    1. Open a command prompt and run as administrator.
    2. At the elevated command prompt, copy and paste the command below that you want to use.

    DISM / Online/Cleanup-Image /CheckHealth

    DISM / Online/Cleanup-Image /ScanHealth

    DISM / Online/Cleanup-Image /RestoreHealth

    3. in the end, it is recommended to restart the PC to configure updates that may have been affected by the present.

    Method 2: Using the Option "restore defaults".

    On the lock screen customization page, right-click on a thumbnail of the image and select the option 'restore defaults'.

    Method 3: Renaming SystemData file.

    1. press "Win + R" keys to open the dialog box RUN. Now, copy the rest of string in the text box and press ENTER:

    %ProgramData%\Microsoft\Windows\

    It will open the "Windows" folder that contains many other subfolders inside.

    2. now to take possession of the folder "SystemData.

    3. after taking possession, rename the folder to another name such as SystemData_bak, etc.

    You can also try the suggestion of anthonyxxx responded on November 2, 2012 in the link below:

    https://social.technet.Microsoft.com/forums/Windows/en-us/e274cca0-87f3-428C-8e0d-e8407380a39e/cant-change-lock-screen-Windows-8?Forum=w8itprogeneral

    For any Windows help in the future, feel free to contact us and we will be happy to help you.

  • not able to change my lock screen background in windows 8

    I had a problem
    When I try to change my lock screen background, I get an error saying "setting of the lock screen has failed. Please try again ".

    Line 1: Locking error screen
    Line 2: Setting of the lock screen has failed. Please try again.

    pls help me solve the problem
    Concerning
    Bakele

    Hi Bakele,

    This occurs generally if there are changes that happened in group policy. I would suggest trying the following methods and check if it works for you.

    WIN8: How to handle the screen lock on Windows 8 and Windows Server 2012 Image:

    http://support.Microsoft.com/kb/2787100/en-us

    Please reply with the status of the issue, so that we can better help you.

  • IMPOSSIBLE TO CHANGE THE LOCK SCREEN, HOME SCREEN

    I just installed windows 8 pro. Im having trouble to change my lock screen, home screen and I can not change my account to put my photo on it. help please!

    Hi Vincent,.

    For you help I would be grateful if you could answer the following question:

    (1) who (Local or Microsoft account) user account you are using to connect to the computer?

    (2) what happens when you try to change the image?

    (3) you get an error message / code?

    (4) is a security software installed on the computer?

    (5) have you made any changes to the computer before the show?

    This happens usually if Windows 8 is not enabled.

    I suggest you to check the status, if Windows is activated.

    (a) press the Windows key + W.

    (b) Activation of type and press enter.

    Check out the link and the Coachman,

    Customize your PC

    http://Windows.Microsoft.com/en-in/Windows-8/change-backgrounds-pictures#1TC=T1

    If Windows is not activated, then I suggest you to follow the steps to activate Windows and check the issue:

    To start the Product Activation Wizard, follow these steps:

    (a) to the start screen, drag from the right side, or hover your mouse on the top right of the screen to display the menu of charms.

    (b) tap or click the charm of parameters.

    (c) press or click change PC settings.

    (d) If your PC is not activated, computer settings provide instructions that are customized to your activation error. If telephone support can provide assistance for your mistake, tap or click the appropriate link, which may resemble one of the following conditions:

    ·         Activate

    ·         Activate by phone

    ·         Contact customer support for assistance

    For more information:

    How to contact a Microsoft Product Activation Center by phone:

    http://support.Microsoft.com/kb/950929/en-us?WA=wsignin1.0

    Please come back with more information on the issue so that we can help you better.

  • When I try to change my lock screen wallpaper I get error saying "setting of the lock screen has failed. Please try again ".

    Original title: locking error screen

    Hello. I use Win 8 Pro x 64 and I'm having a problem affecting the lock screen wallpaper. I am the admin of the machine and Windows is activated.

    After a few days ago, Windows stopped to change my lock screen background. When I try to change it, the error is displayed on the screen:

    LOCK SCREEN ERROR

    Setting the lock screen has failed. Please try again.
    However, I can still change my profile picture and the bottom of the start menu.
    Other users of the computer can change the lock screen normally. My user account is linked to my Outlook.com account as well as others.
    I already tried the other 'solutions' out there: in doing a selective startup with msconfig, disable services applications at startup and also manually delete the folder "C:\ProgramData\Microsoft\Windows\SystemData". Needless.
    I also have the feeling of other users on the web: it's somehow connected to some Windows updated published these days.
    I would appreciate any help on this matter.
    --
    André
    E-mail address is removed from the privacy *.

    Hi, Tadasha. Thanks for the reply.

    In regards to KB 2770917 updates, I already installed it on my Win 8 as well as others (I keep the OS always up to date). So it has not really helped but thanks.
    On the tip of the gob0nkers is not really the case here, because I don't want to set a wallpaper of single lock for each user (in fact I had already read his answer to the question of ch). So far I have found no article on the web by offering an effective way to work around the problem.
    What I've done: created another user profile and abandoned the old (who introduced the problem). I think that it is related to the file the user AppData or something.
    So far things are working well with the new profile of the user.
    Thanks for the help!
  • Can I change a locked region of a page based on templates?

    Hi all -

    Well, to cut to the Chase, I have a page that is based on a master template which no longer exists. I need to change the < title > attribute in the cephalic region.

    normally, I just open the main template for this page and change the < title > tag it. but, as I said, there is no longer the main template (the Moose model name has been changed, I think).

    I was hoping I could just correct this line to reference the master model current, correct. but I can't find a way to change this locked line of text. Unfortunately, the < title > tag was not in an editable region.

    does perform a work around, or do I have to rebuild everything this page by using the new correct model?

    Thank you Murray-it is exactly what I ended up doing.

    I just copied and pasted the editable code regions into a new master, then make some changes to css to get straight. has taken 5 minutes.

  • Change jbo.lock.mode in an EAR file

    Anyone knows if I can change jbo.lock.mode in an appmodule after I generated an EAR file?

    Where all the properties on an app module are stored (what file)?

    Best regards, reZer

    Hello

    All application module properties are set by using configurations on the module of the application. The settings are stored in the bc4j.xcfg file (when you look in Jdev, select the module from the application, look in the structure window, then expand the files). Configurations can be edited by right-clicking on the module of the application.
    Usually, it is convenient to create at least a second configuration for deployment and use it in the Datacontrols.dcx file in your GUI project.

    Kind regards
    Jeroen van Veldhuizen

  • How can I change my country store have 75 cents to credit?

    I have 75 cents to credit and cannot change the country of the store.  Someboy can tell me a product I can buy for this price or how do I handle this? Thank you

    Try to contact iTunes Support and ask them to withdraw the balance of your account: https://www.apple.com/emea/support/itunes/contact.html

  • Game change/iTunes iTunes Store

    Hi Fellows!

    I now live in the United States and tried to change the Brazilian to store US but iTunes does not because I have an iTunes game subscription valid until June/July 2016 and he says that I have to cancel on command to change stores. I can't find where to cancel it. And also, is there another way to change the stores without losing the subscription I already paid?

    Looks like you will have to wait until the subscription period ends before that you will be able to change the country: If you can't edit your iTunes Store country or region - Apple Support

    If you subscribe to iTunes game or you have a subscription to Apple's music, you have to wait your game subscription iTunes or Apple expired music composition.

    You may also disable autorenewal for iTunes game or turn off your membership automatically renewed music from Apple.

    After the expiry of your subscription or membership, you can change your country.

    You can try to contact iTunes Support and see if they can cancel it: http://www.apple.com/support/itunes/contact/

  • E700 liquid: How can I change the lock screen apps?

    I no longer use the default lock screen apps. I use Chrome instead of the build-in the browser. How can I change the applications on the lock screen?

    Thank you.

    4 the lock screen applications are the same of the 4 on the bottom of your home screen.

    If you need to change the default browser of chrome in the home screen.

Maybe you are looking for