Script for measures relating to the document change and other details of size in all open documents

Hi all

Once again, in my work, I have to change in several files to the size and type of specific measures:

-in the preferences "units and increments:

thumbs to milimiters

and the increment of cursor keys

-J' I also need to change the document format

width and height

and size of bleed.

Would be a great help if I would be able to change this once to a set of open files... in my work I need to do this all the time... and of course, I miss the "apply to all open documents.

Thank you

Rui

Hello Rui,

Try something like this:

app.documents.length && app.documents.everyItem().properties = {
    viewPreferences:{
        horizontalMeasurementUnits: +MeasurementUnits.MILLIMETERS,
        verticalMeasurementUnits: +MeasurementUnits.MILLIMETERS,
        cursorKeyIncrement: '1mm',
        },
    documentPreferences:
        {
        pageWidth: '200mm',
        pageHeight: '250mm',
        documentSlugUniformSize: true,
        slugTopOffset: '10mm',
        },
    };

@+

Marc

Tags: InDesign

Similar Questions

  • How can I get the history, SID and other details of the accounts of users deleted in Windows XP, 7 and 8?

    Original title: deleted user accounts.

    Hi guys,.

    I want to know the activities of a user whose account has been deleted. How can I get the history, SID and other details of the accounts of users deleted in Windows XP, 7 and 8?

    Hello

    Thanks for posting in the Microsoft Community.

    There is no newspaper available for the activities of the user. There are just a few activities of windows and the error logs is stored in Windows.

    Hope this information helps.

    If you need help to resolve any issues related to Windows, please reply and we will be happy to help you.

  • delete the message id and other details of a response e-mail

    When I opened an email I receive all the details of the message at the top of email which is then on all the answer or send emails too. This includes the message id, key x-account, x-uidl, etc etc. How can I remove these data!

    View - Headers - Normal

    Press Alt or F10 to restore the menu bar where it is hidden.

  • Is it possible to find the two sentences into one pdf file? For example, I know the words 'Here' and 'the answer' occur more than once in my document, but only once on the same page. I'm looking for this page.

    Is it possible to find the two sentences into one pdf file? For example, I know the words 'Here' and 'the answer' occur more than once in my document, but only once on the same page. I'm looking for this page.

    I tried to do this by using the search but it will find only them, if they occur as a long chain, that is to say "Here's the answer" rather than how they occur in the document it is to say "Here 's" a bunch of information that leads you to 'the answer'. The search feature so standard did not help.

    Then I tried to do this by using the tool to delete (obviously not the application of writing!) because it allows me to search for multiple words or phrases, however it is not highlight what page both are found. I tried to turn on the preference to enable deletions of comments and even if it meant that I could then go through all the comments, it's still not faster than my document is more than 1,000 pages, which meant there were too many total comments for me to be able to easily identify which page had both.

    Any ideas?

    There is no built-in way to search for two strings and limited to show only the results that appear on the same page.

    It can be done by using a custom script, however.

  • When I change how a user connects power on and off a screen appears saying "client for Netware has disabled the Welcome screen and the fast user switching. To restore these features...

    Original title: how to uninstall client services for netware?

    When I change how a user connects power on and off a screen appears saying "client for Netware has disabled the Welcome screen and the fast user switching. To restore these features, you must uninstall client services for Netware... But it is impossible to find... Help?

    Hello LindsayJune,

    Click the Start button.
    Click on Control Panel. Select network connections
    Right click on 'Connect to the Local network', then click 'properties '.
    Search for "Client Service for NetWare" slot "this connection uses the following items."
    Click it, and then click the "Uninstall" button
    Restart your computer.

    Uninstall client for Netware feature will allow the option of quick change of user on your computer.

    I hope this helps.

  • How to write a script for date get to the Clipboard

    Hi experts,

    How to write a script for date get to the Clipboard.

    the date format will be like this:

    05 - may

    respect of

    John

    Thanks guys, thanks Sanon

    I finally use the .bat doc

    like this:

    @@echo off
    for /f "delims =" % in (' wmic OS Get localdatetime ^ | find ".") "") Set "dt = %% a"
    the value "YYYY = % dt: ~ 0, 4%.
    the value "MM = % dt: ~ 4, 2%.

    If MM % is 01 set MM = January
    If % MM == 02 set MM = February
    If MM % is MM value = March 03
    If MM % is 04 MM value = April
    If MM % is 05 MM value = may
    If MM % is 06 MM value = June
    If MM % == 07 set MM = July
    If MM % is MM value = August 08
    If MM % is MM value = September 09
    If MM % is 10 MM value = October
    If MM % is 11A set MM = November
    If MM % is game MM 12 = December

    the value "DD = % dt: ~ 6, 2%.
    the value "HH = % dt: ~ 8, 2%.
    the value "Min = % dt: ~ 10, 2%.
    Set "s = % dt: ~ 12, 2%.

    Echo DD - MM HH % %% % Min | Clip

    It works

    respect of

    John

  • Windows cannot find C:\WINDOWS\system32\rundll.exe. Make sure you typed the name correstly and then try again. To search for a file check the Start button and then click search.

    I tried to launch my Spysweeper and found that is not there, then I re downloaded and I could not install it because it was already on my computer.  I went to the control panel to remove and got the message:

    Windows cannot find C:\WINDOWS\system32\rundll32.exe.  Make sure you typed the name correctly and then try again.  To search for a file, select the Start button and then check the search...

    What should I do?

    Hi gsrow,

    You can go there!

    Cannot find the Rundll32.exe file when you open the control panel:
    http://support.Microsoft.com/kb/812340

    Alternatively, copy the folder C:\Windows\System32\DllCache Rundll32.exe file to the System32 folder. Ramesh Srinivasan, Microsoft MVP [Windows Desktop Experience]

  • call a stored procedure for each row in the transitional attribute and display the data in the form of af: table. The other rows are based on the entities

    Hi Experts,

    JDeveloper 12.1.3.0.0

    I have a VO based on entity object. With a column of the VO is transient attribute (I created).

    I need to call a stored procedure for each row in the transitional attribute and display the data in the form of af: table. As well as other attributes.

    So can anyone suggest how can I achieve this?

    Thank you

    AR

    I think that you need a stored function (which returns the value) in this case, is not?

    Take a look at:

    https://docs.Oracle.com/CD/B31017_01/Web.1013/b25947/bcadvgen005.htm

    and search for:

    Invoking stored function with only Arguments in

    call your function in the Get attribute and return value accessor...

  • Photoshop CC was supposed to be able to use without an internet connection if I worked online at least once a month...  I tried to work offline at home after working online for a while. The sign came and said ' no Internet connection /- and the options we

    Photoshop CC was supposed to be able to use without an internet connection if I worked online at least once a month...

    I tried to work offline at home after working online for a while. The sign came and wrote

    «No Internet connection / - and the options have been - try again or continue offline "and I could not work no prob. by choosing «continue in offline mode»

    However, I've used photoshop for a few hours yesterday and I brought my laptop home from my photographer friend to share the work of editing... and I couldn't open Photoshop.

    "The network is not connected TRYagain.

    It was the only option, does not allow me to continue offline...

    You have an idea why I couldn't?

    An Internet connection is required the first time you install and your creative Cloud of license applications.

    You can use the applications in offline mode, but must be online from time to time to validate your software licenses. Please see this link for more details: CC help | Creative cloud / Common Questions

  • I bought the Photoshop 19.99 plan for a month so that I can check the new Illustrator and other new programs CC and see if I liked the concept... Now that I checked out, I decided to upgrade to the full cloud...  There is a prom one year

    I bought the Photoshop 19.99 plan for a month so that I can check the new Illustrator and other new programs CC and see if I liked the concept... Now that I checked out, I decided to upgrade to the full cloud...  There is a promotion for one year to 29.99 per month for users of cs3, but when I try to upgrade my contract he wants to load the full 49.99... is there someone I can call?

    Hello Mary,.

    There is a telephone support | Orders, returns and exchanges, you can use > http://helpx.adobe.com/x-productkb/global/phone-support-orders.html.

    If necessary and for further questions click on http://helpx.adobe.com/contact.html and 'open' Please use the cat, I for my part had the best experiences. I quote Adobe Preran employee: the chat button is enabled as soon as there is an available agent to help.

    Hans-Günter

  • I have a MacBook Pro 17 withProcessor - in 2.33 GHz Intel Core 2 Duo (circa 2007).  Running OS 10.7.5 (Lion).  Not compatible with the OS later.  Hardware can be upgraded to the latest processors and other components to make it compatible with the new OS

    I have a MacBook Pro 17 withProcessor - in 2.33 GHz Intel Core 2 Duo (circa 2007).  Running OS 10.7.5 (Lion).  System indicates the computer is not compatible with OS later.  Hardware can be upgraded to the latest processors and other components to make it compatible with the latest OS.  I think that later models of Macbook Pro 17-inch with processors that allow updates.  I was wondering if these can be swapped or if alternatives were available.

    Only the RAM and storage (HD, SSD) can be changed.  Everything is welded to the map logical and selected specially for the system configuration.

    I'm sorry.

  • Executable for freecell has stopped working... and other games too.

    Executable for freecell has stopped working... and other games too.  I tried to uninstall and re-install of the windows features option, but it did not help.  Anyone got any ideas how to fix?  Have no idea what caused the problem that I play them often.  Windows Vista Edition Home Premium.

    Thank you all.

    Your profile problem would be assigned to a corrupted profile - if you look in the file C:\Users\, you should always have on your documents.
    http://Windows.Microsoft.com/en-us/Windows-Vista/fix-a-corrupted-user-profile

    Between that and the problem with the games, it would be a good idea to perform a scan of the hard disk, just in case where it fails.
    http://Windows.Microsoft.com/en-us/Windows-Vista/check-your-hard-disk-for-errors

    Note that even though the disk check said it corrects a problem, I recommend to backup your data.

    You can also try a system restore to before the problem began:
    http://Windows.Microsoft.com/en-us/Windows-Vista/what-is-system-restore

    It can solve the problem of profile as well, assuming that the hard drive is fine but if not follow the steps above.

  • installation of updates from windows to windows 7 after 10/25/10 makes me lose all access to the internet (wireless and others)

    I have r530i samsung that is less than 8 weeks, after that 1 week, a new set of windows udates appeared which caused my Internet to lose. I spoke to my internet provider, between us, we confirmed there was nothing wrong with the connection or otherwise (I was able to access the internet from another PC using the same provider and user name) it was suggesteed downloads had done something for my wirless modem.

    I did a complete system restore and it worked just fine.

    a few weeks later, the same problem occurred after some updates of windows. Unfortunately the fault can be diagnosed because I can't access the internet? I did a full recharge of the system of 23/10/10, this has worked fine, windows then downloaded updates and my internet access has failed once again so I have disabled the automatic updates and everything seems fine.

    all connections work well, I can still see the home hub it won't let me access the help please

    Hello

    There are various reasons for internet connection doesn't work after installing the update of windows on the computer.

    First of all, I would say that you check the update is causing the problem.

    To see the updates are installed on your computer

     

    (a) open the updates installed by clicking the Start button, click Control Panel, clicking programs, and then r undeprograms and features, click view installed updates.

    Once you know the update's KB number then visit the Microsoft Download and put the number in the search box, download and install the update manually after placing the computer in a clean boot state.

    http://www.Microsoft.com/downloads/en/default.aspx

    To help resolve the error and other messages, you can start Windows Vista or Windows 7 by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    See the link below to learn more about how to clean boot.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    Reset the computer to start as usual

    When you are finished troubleshooting, follow these steps to reset the computer to start as usual:

    (a) click Start, type msconfig in the search box and press ENTER.

    (b) If you are prompted for an administrator password or for confirmation, type your password or click on continue.

    (c) under the general tab, click the Normal startup option, and then click OK.

    (d) when you are prompted to restart the computer, click on restart.

    I hope this helps!

    Halima S - Microsoft technical support.

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

  • I have a problem of access to the Outlook account and other pages because appears "certificate error" what's happened with these certificates?

    I have a problem of access to the Outlook account and other pages because appears "certificate error" what's happened with these certificates? Help please.

    There are two main reasons for the mistakes of certificate:

    1. Your computer's time is not set correctly.  Check your time year/month/day/hour/minute/timezone/light of day.  Right-click on the clock in your taskbar and select "set Date/time" and make sure you are ready approximately 5 minutes of real time (don't forget time zone and DST).
    2. The second reason is that Windows XP is not very good for updating root certificates.  Go to the following site:
         <>http://support.Microsoft.com/kb/931125 >
      and go down to the section:
      'Update Package root (designed for Windows XP only)'
      There is a link, you can use to download a update for your root certificates package.  Download this package and double-click it to update.

    HTH,

    JW

  • In Adobe Flash CS6, I have a blue box appearing around lines drawn with the line tool (and other tools like the brush etc.). I can't understand how to disable.

    In Adobe Flash CS6, I have a blue box appearing around lines drawn with the line tool (and other tools like the brush etc.). Whenever I try to use a tool, a blue box appears around the line and I have to double click on it to handle, which opens just this line in a screen finery semi where all other objects are semi-gris in the background. I can handle this line in this screen, but nothing else at this point I could do 5 minutes ago. For example, I can no longer reach the 2 lines drawn by the tool online together. For some reason, it started randomly (probably due to an accidental combination) and I just can't put it to what it was. I inserted a video showing if all goes well I mean. Any help would be appreciated.

    Object drawing mode. Simply disable it in the tools Panel, or by using the default keyboard shortcut, which is J.

Maybe you are looking for