Use the adjustment options on all objects of a locked layer

This will be easy for some of you.  But I'm just a kid in it.

I have a locked layer called AD.

Not all ads get their boxes.  So, I'd love to run a script that would be looked at the locked by the layer name layer and make all the content of image proportionally fill.

I tried to restore the other code I found here, but I failed miserably.  I appeal to the gods!

Hello

Try this:

myDoc = app.activeDocument;

myLayer = myDoc.layers.item ("AD");

myLayer.locked = false;

for (k = 0; k

If (myDoc.allPageItems [k] .itemLayer is myLayer)

{

currPItem = myDoc.allPageItems [k];

currPItem.fit (FitOptions.PROPORTIONALLY); or another option you choose

}

myLayer.locked = true;

Enjoy

Tags: InDesign

Similar Questions

  • Continue to try to turn on my firewall, but won't automatically and using the manual option does not work either.

    Continue to try to turn on my firewall, but won't automatically and using the manual option does not work either.  Can repair you.

    Hello
    Follow these instructions:
    Download and install Windows Repair:
    When the repair of Windows opens, click on the tab to start repairs, click Start. Uncheck all boxes except for the following:
    -Reset the registry permissions
    -Reset the permissions of files
    -WMI repair
    -Repair Windows Firewall
    Then click Start. Once it is finished, restart your computer. Let us know if that helps you.
    Brian
  • Lightroom CC gel when you use the adjustment brush

    I recently discovered the power of the adjustment brush for Dodge & burn my RAW photos. I am progressing through a photo editing however, my Mac gets slower and hangs with the beach ball. I upgraded my RAM from 8 to 16 GB and updated from a disk to a 1 TB SSD HARD 750Gig, but it always crashes when I get into an editing tool. My computer is a MacBook Pro 13 "(mi-2012), processor: 2.9 GHz Intel Core i7, memory: 16 GB 1600 MHz DDR3, graphics: Intel HD Graphics 4000 1536 MB." In the Lightroom preferences, running, I get an error message when I click use GPU: "acceleration of the graphics processor has been disabled due to errors. Everyone knows about this problem? It drives me crazy. Surely I don't have to buy a new, more powerful Mac just to use the adjustment brush properly?

    This slowdown/gel is a known problem with make a lot of adjustments and/or healing spot on a single photo.

    There are a number of possible remedies

    1. Get a faster CPU (speed of the car and the amount of memory and power of the graphics card will not affect this problem)
    2. All of your brushing and/or spot as the next step in the last edition and the last step, the healing light up any correction of lens (if desired)
    3. Make the brush in Photoshop Elements or Photoshop
  • Cannot add other changes by using the adjustment brush in Lightroom 5.

    Use Lightroom 5 - when I go to a previously published picture to do more to change by using the adjustment brush, I opened the effect I want to use (Dodge, for example), but all of the sliders are inoperative. The word "Dodge (Edited)" appears in the header of effects. This is why I can not make any further changes to the image. I open the drop down menu effects and ticked 'restore default presets', but nothing helped. All welcome solutions.

    Make sure that the flow and the density are not set to 0 or another low value. Try setting the two to 100.

  • Payroll ID must be passed automatically using the profile Options.

    Dear all,

    Please suggest for power condition.

    I've created a new report of employee details where I need to go from the Payroll_ID per_all_assignments_f table.

    We have more 7 payroll in our facility. These wages are set using per_security_profile_id possibility of responsibilities.

    Thus, users attached to specific responsibilities should consider only their payroll in the payroll_id of the report parameter.

    Case 1. How can I pass Payroll_ID parameter using the profile option.

    Case 2. Security > Security profile > profile of payroll, Security tab, if you click on the check box "Show all wage masses" for security, how to pass all payroll_ids.

    Thanks in advance.

    Kind regards

    Afzal.

    Hi amal.

    You should check the Pay_Payrolls_F view and not the table (PAY_ALL_PAYROLLS_F)

    If you are checked from the backend, that define the correct responsibility (via fnd_global.apps_initialise) before trying the query.

    See you soon,.

    Vignesh

  • Can't reproduce using the command + option + arrow keys.

    Hello

    I have a new iMac running on 10.6.3.

    I just switched from Illustrator 10 to Illustrator CS3, and I'm a little exasperated. One of the things that is drving me crazy is that I can't take objects using the command + option + arrow keys more.

    Why?

    Thank you!

    Chris.

    Trash your Illustrator preferences, restart and try again.

  • I lost the toolbar that displays 'file' 'view' 'edit' etc at the top, it is impossible to follow your instructions for using the 'View' option to fix my toolbars.

    I lost the toolbar that displays 'file' 'view' 'edit' etc at the top, it is impossible to follow your instructions for using the 'view' option to fix my toolbars. I have no idea how access toolbars without this toolbar - I can't believe this allows this toolbar to delete (I did accidentally while trying to get an another toolbar restored). Thanks for any help

    Hi toby,.

    on the assumption that you always have access to the navigation bar, right click on the stop button, when the home page is loaded and check the 'Menu Bar' option in the context menu that appears.

    If you need more help see the knowledge base article the Navigation buttons such as back, home, bookmarks and recharge are missing

    Daniel

  • Using the scan function on all-in-one printer with wireless print server

    I have an Epson CX7800 and that you have installed the Linksys Wiress G print server.  I was not able to access the scanner since the connection to the print server.    Just printer function works well from what ever printer I choose to print from, cannot use the scanner option.  Any help would be appreciated.

    Figured it out.  Didn't know you had to click on connect before analysis.

  • On Windows 8, by default, OneNote when I try to use the print option. How do I set printer as default and not in OneNote?

    When I try to use the print option. How do I set printer as default and not in OneNote? Also, when I want to print from a web page (on the Web page printing option) it goes to OneNote and not print. I have also pulled up a file saved in OneNote and selected the print option in the Menu. I selected a specific page and is nevertheless not print?

    Because your message is off-topic in the comment forum, I moved it to the forum Windows 8 "Performance and Maintenance", where it is more on the subject.

    As you watch the start page, type "default printer".  A list appears on the right side of the screen.  Tap 'settings' and 'Change the default printer' will appear on the left.  Tap it.  Your devices folder and printers opens on the desktop.  You will see that "Send to OneNote" will have a green check mark next to it.  Right click on the printer, if you have already installed it, then select "Set as default".  Close the folder.  Therefore, when printing, your printer will be the default device.

    If you have not yet installed a printer, make sure you download the latest driver for 8 compatible of Windows to the web site of the manufacturer and install the driver following the instructions of the manufacturer.  Then set the default device.

  • How can I use the search option in the pdf file in my mobile? [Android]

    How can I use the search option in the pdf file in my mobile?

    Yes, the text search is also available on Android Acrobat. After you open a PDF file, look in the top bar of the magnifying glass icon. If the top bar is not visible, tap anywhere on the screen to make it appear again.

    Thank you

    Acrobat DC team Mobile

  • Using the adjustment brush to the size of the image 100%

    I have used the adjustment brush in ACR ver 8.1 in CS6 & CS6cc.  I can use the brush to place the mask but wish I could edit the mask to 100%.  This requires that I move the image around the use of the hand tool, but by selecting the hand tool to deselect the PIN for the adjustment brush.  After moving into a new place in the picture and select the adjustment brush, how do I turn on the PIN to touch up the mask?

    When you work with the ay tool in Camera Raw, hold the space bar will give you the tool moving for as long as the space bar is pressed - and back to provious tool when leave.

  • IMPDP | Possible using the query option

    HI PPL,

    I wanted to know if IMPDP is possible by using the query option, as I took full expdp dump of the mentioned table and want to import only select lines.

    Impdp arup/arup directory = demo_dir dumpfile = employees.dmp
    Query = employees:------"" where salary\ > 10000\ order of salary "tables used ="

    version: 10 gr 2
    platform: UNIX

    concerning

    Obviously, it will be slow if you are using the query option, because IMPDP must import only the data that meets the criteria; It of why we export only limited data (one or two tables as needed) and import them completely.

    Concerning
    Girish Sharma

  • DataPump export using the query option

    Hello

    OracleVersion: 10.2.0.1
    OperatingSystem:windows

    Here, I need to take an export datapump based on a specific condition. Here, I'm not able to get the backup.

    Please help me. Get the backup to this condition what's possible or not.
    E:\oracle\dbdump>expdp scott/tiger directory=dbdump dumpfile=extract_1.dmp logfile=extract_1.log tables=emp,dept query='"where deptno< (select deptno from dept where loc = DALLAS) "'
    
    Export: Release 10.2.0.1.0 - Production on Thursday, 29 October, 2009 12:16:20
    
    Copyright (c) 2003, 2005, Oracle.  All rights reserved.
    
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Starting "SCOTT"."SYS_EXPORT_TABLE_01":  scott/******** directory=dbdump dumpfile=extract_1.dmp logfile=extract_1.log tables=emp,dept query='where deptno< (select deptno from dept where loc = DALLAS) '
    Estimate in progress using BLOCKS method...
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 128 KB
    Processing object type TABLE_EXPORT/TABLE/TABLE
    Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX
    Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
    Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
    Processing object type TABLE_EXPORT/TABLE/POST_TABLE_ACTION
    ORA-31693: Table data object "SCOTT"."DEPT" failed to load/unload and is being skipped due to error:
    ORA-00904: "DALLAS": invalid identifier
    ORA-31693: Table data object "SCOTT"."EMP" failed to load/unload and is being skipped due to error:
    ORA-00904: "DALLAS": invalid identifier
    Master table "SCOTT"."SYS_EXPORT_TABLE_01" successfully loaded/unloaded
    ******************************************************************************
    Dump file set for SCOTT.SYS_EXPORT_TABLE_01 is:
      E:\ORACLE\DBDUMP\EXTRACT_1.DMP
    Job "SCOTT"."SYS_EXPORT_TABLE_01" completed with 2 error(s) at 12:17:10

    Hello..

    Try

    expdp scott/tiger directory=dbdump dumpfile=extract_1.dmp logfile=extract_1.log tables=emp,dept query=\"where deptno< (select deptno from dept where loc = 'DALLAS') \"
    

    HTH
    Anand

    Published by: Anand... on October 29, 2009 13:04

  • FireFox opens a lot of tabs on its own. I can't do something, but to close it using the windows Task Manager. all this occur after installing the add-on flashgot. (I've used this module before and it was working OK)

    I use Firefox for two years now and use the flashgot. and I really like it.
    This laptop has firefox on it since the first day. and I got flashgot on this as well. But today when I tried to download something that I have that option (save the file) flashgot wasn't there. I was a little surprised but downloaded and installed flashgot anyway. He asked me to restart firefox and I let him. then when it restarted I had a lot of pop windows asking me which application is used to open this link (it wasn't a link and I got only firefox so I picked it up) was windows 10 or more pop so I chose to use this option for all. When I did so all of a sudden got a lot of poping up tabs, then a new window pop Firefox on with a lot of poping up tabs and then a new window. i've got up to 19 poping windows with lots of tabs. I had to close it with the Task Manager.

    now when I want to use firefox about 20 tablets pop up then a new window Firefox pop up, and then when I type a url another 20 tablets pop then a window pop...

    This laptop may have problems. am scaning now using an ESET online scanner to see what is happening.
    Thank you for your help in advance

    Create a new profile as a test to see if your profile is the source of the problems.

    See basic troubleshooting: a new profile

    There may be extensions and plugins installed by default in a new profile, so check that in "tools > Modules > Extensions & Plugins»

    If this new profile works then you can transfer files from the old profile to the new profile (be careful not to copy corrupted files)

    See http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • I can't view my folders using the folder options

    In my folder properties, I can check/uncheck "Read only", but the 'Hidden' attribute has a checkbox selected but grayed out and I can't view it.

    I had the virus in my system that automatically hidden my every folder in all drives.

    I open the folder and files by using the path that is iritating too.
    I can't view the folders because of the "Hidden" attribute
    Wiki also says that I should be able to disable the 'Hidden' attribute, but not on my system.
    I'm the admin and the only user of this computer.  Of course, I can 'see' the folder hidden because of the-> Folder Options Control Panel.
    Thanks a lot for any help :)

    Are you sure that the virus has been correctly removed?  Run a TDSSKiller and a Malwarebytes scan on the machine.

    This grayed out checkbox "Hidden" usually means that the file also has the "system" attribute set on it, this can be solved by using the Attrib command at a prompt (run as administrator).

    At the elevated command prompt, use the CD command to navigate to the root folder:

    cd\

    In the root folder, you can get a list of your folder with the following attributes:

    attrib /s /d

    The list will be long, it is best to redirect the output to a file:

    attrib /s /d > c:\attrib.txt

    to open the file from the command prompt just enter the path:

    c:\attrib.txt  (then )

    A peculiar quirk of the Attrib command, is that if the system and hidden attributes are defined, you need to remove both at the same time, you cannot delete one while the other exists.  To remove the hidden attribute and the system:

    attrib h s/s/d

    On the issue of the root folder this command will remove the hidden attribute and system on all folders on the disk... the problem is the attrib command automatically treats all files, so it will also remove the system attribute on all files, including all the files in the Windows directory and its subdirectories.

    That's the kind of mess that sometimes treat when dealing with viruses or other parasites such.  Another problem even worse that sometimes must be addressed due to viruses, it's permissions changed, it is sometimes difficult to know what did exactly a virus, and how the system is compromised following a infection, for these reasons administrators COMPUTER in business or enterprise environment very often consider servers or workstations reviews to be compromised beyond confidence after an infection and the only acceptable in these environments of the Mission is to flatten the box and restore an image or to rebuild the machine.

    John

Maybe you are looking for

  • 9.3.3 iOS update notifications from breaksWhatsApp

    That's just my two iphones (6 and SE) who killed WhatsApp notifications? Everything worked up until the update. Concerning

  • iTunes 12.4 dosent recognize my iphone more than 6 s

    my itunes dosent recognize my iphone 6s more try re install the itunes on my windows pc... but the result is the same

  • iTunes sync between two Macs

    Newby here: must be a current situation... I have an old iMac from 2004 still purring along and I use it only for iTunes, fuelled an amp for home.  There are about 20 GB of songs.  My 'new' baby is an iMac 2012 also with about 20 GB music.  A large p

  • Can I pick up Vista?

    Hello I just bought an older Dell Optiplex who had originally installed Windows Vista but had been downgraded to XP. Can I restore the computer to how Vista was installed? And if I do I will answer Vista? This is the product key is the top of the PC.

  • Install Microsoft Wireless 1000 and 2000 keyboard mouse

    I downloaded the latest driver for the keyboard and the mouse. When I try to install my computer is not see it. I can't touch the botton on the device not found. When I look at the selection of blue tooth box, "allow a device to plug" is gray, cannot