Change the size of document height by using a script.

Hello all, greetings to all!

It is possible to create a script that make mathematical calculations to add 2.5% (cm) size of document height? It is that I have a tissue type 'canvas' which reduces the time about 2.5%, when in contact with solvent printer ink. I tried to create an action for it, the problem is that there are many different sizes.

Ilustração.jpg

Adding canvas will not give you the right answer as if the paper shrinks, it will do so on the whole document.

Answer to resize the document so that it shrinks when it is the right height without distorting the content in the form of adding canvas will do.

#target photoshop;

If (documents. (Length) activeDocument.resizeImage (new UnitValue(100,'%'), new UnitValue(102.5,'%'), undefined, ResampleMethod.BICUBIC);

Tags: Photoshop

Similar Questions

  • How can I resize my image, 750 x 750 pixels with 2.5 inches of width and the size of document height 2.5

    Without getting the distorted image.

    You would need to use the crop tool and set it to this size.

  • How to change the size of the user interface component

    Hello

    How can I change the size (width and height) of the user interface component?  For example, I want to set the width of a ListField and add a scroll bar (horizontal). Thank you.

    Young

    GetPreferredWidth and getPreferredHeight methods can be rewritten to change the requested dimensions of a field.

    However, this does not mean that a field will support horizontal scrolling with only this change and can vary depending on the field.

  • Cannot change the size of the Page using Document format

    I created a working document which is a long page, 800 px by 4000 px. It's a document that has grown as it has been assembled, and I would regularly change the page size by using document format to lengthen the page so I could make room for additional content.

    Now I'm trying to reduce the length of the page, because we have removed some of the content. I need to change the page size of 4000 px long 3380 long PX. I'm going to the preparation of the Document, type the new page size, click OK and nothing happens. I tried to resize the page to 6000 px, and nothing happens. I tried to resize the page of 2000 px, and nothing happens.

    Did somehow lock the page size? I can't understand this one out, and the representative of Adobe tech (in India) including support less on the problem I did.

    Help! I have a deadline...

    I'm on an iMac nine running OS 10.8.5; InDesign CS6 (8.0.1)

    Thank you!

    DG

    In InDesign CS6, you must choose the tool (3rd from the top) Page to change the size of the page.

  • changing the size of the Document

    Is it possible to change the size of the document (or phase) of a file AS?

    I guess that's maybe something like

    Document.Height = 300;

    Document.Width = 50;

    but obviously, he is not "Document" - or if this is the case, there is another include that I use.

    Thanks for your help.

    As far as I know, you cannot change the dimensions of the stage.  Width and height of the stage can be obtained using stage.stageWidth and stage.stageHeight (where the stage is a property of a display object), but despite the documentation indicating the property in reading-wrie, I see that you cannot change its value.

  • How can I change the size of the document when creating a device independent postscript file?

    I need to create a device-independent PS file, but cannot change the size of the document (in gray in the dialog box). How can I do this?

    Install the ADPDF9. Description of the printer PPD and use that instead of independent device. See the comments in creation of PostScript files in Snow Leopard for print Workflows older | InDesignSecrets

    But my guess is that you print to PS to do a book, and there are better ways. Much easier to export a standard PDF file and use the functionality of Acrobat brochure, for example. There are also large scripts and plugins for ID.

  • help to change the size of precomp (weight and size using the script)

    Hi guys, need help with change precomp size (weight and size using the script), my problem in this... when I change the size of the model (height and weight) of GUI AE, AE change the size of the composition of the Center model, but if I change the size of the model of my script it change from upper left... so I need some how change in the center of scripts of composition or something like that?

    now I change size with this code

    MyComp.Width = myComp.Width.Width + 50;

    MyComp.Height = myComp.Width + 50;

    Hi Zipkiev,

    If you want to change the composition and all the layers it contains, there is a script: scale Composition.jsx that comes with Ae (in the Scripts folder) which does exactly the same thing.

    He puts on a scale by a factor uniform using a temporary null object. You can twist no uniform scaling by a factor.

    But if you want only to preserve the size of the layers and adjust their position so that their new position relative to the new comp Center is the same as previously, the script above can not help.

    In the simplest situation you just compensate for all positions of layers related by the same amount: [(compNewWidth-compOldWidth) * 0.5, (compNewHeigth-compOldHeight) * 0.5].

    Not sure it will work well in all situations (such as 3D with cameras).

    You can try it, it might work for you:

    COMP is the composition, newWidth, newHeight its new width/height

    var

    DX = (newWidth - comp.width) * 0.5;

    DY = (newHeight - comp.height) * 0.5;

    layer, n,

    p, j,

    value;

    COMP. Width = newWidth;

    COMP. Height = newHeight;

    for (n = 1; n<=comp.numLayers;>

    layer = comp.layer (n);

    If (layer.transform &! layer.parent) {}

    p = layer.transform.position;

    If {(p.numKeys===0)}

    p.value = value;

    value [0] += dx;

    value [1] += dy;

    p.setValue (value);

    }

    else {}

    for (j = 1; j<=p.numKeys;>

    value = p.keyValue (j);

    value [0] += dx;

    value [1] += dy;

    p.setValueAtKey (j, value);

    };

    };

    };

    };

  • Screen display: in some way, I changed the size of everything on my screen using the F keys. How can I change this back?

    Somehow, I changed the size of everything on my screen using the F keys.  How can I change this back?

    Restore point:

    http://www.howtogeek.com/HOWTO/Windows-Vista/using-Windows-Vista-system-restore/

    Do Safe Mode system restore, if it is impossible to do in Normal Mode.

    Try typing F8 at startup and in the list of Boot selections, select Mode safe using ARROW top to go there > and then press ENTER.

    Try a restore of the system once, to choose a Restore Point prior to your problem...

    Click Start > programs > Accessories > system tools > system restore > choose another time > next > etc.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    If the above does not fix it:

    Go to the Web site of the manufacturer of your laptop computer-graphics/computer card > drivers and downloads Section > key in your model number > look for the latest Vista drivers > download/install them.

    Then:

    http://Windows.Microsoft.com/en-AU/Windows-Vista/change-screen-resolution

    Change the screen resolution

    Screen resolution refers to the clarity of the text and images on your screen. At higher resolutions, items appear sharper. They appear also smaller, so more items adapted to the screen. At lower resolutions, fewer items adapted to the screen, but they are larger and easier to see. At very low resolutions, however, images may have serrated edges.

    See you soon.

    Mick Murphy - Microsoft partner

  • I can't use my keyboard unless I click on tool palette on my second monitor. I'm under 10.10.4 CS6. Basically - once I click the mouse in brush, stamp, etc., I can't cancel, fast replacement of tools, change the size of the brush etc. unless I click on th

    I can't use my keyboard unless I click on tool palette on my second monitor. I'm under 10.10.4 CS6. Basically - once I click the mouse in brush, stamp, etc., I can't cancel, fast replacement of tools, change the size of the brush etc. unless I click on the tool palette. Had this problem for months. Don't know what to do. Going to lose my mind.

    Have you installed the WhiteWindowWorkaround plugin to work around known issues in Mac OS?

  • Can I use actionscript to change the size of an object displayed according to the proximity of objects 2?

    Can I use actionscript to change the size of an object displayed according to the proximity of objects 2?

    As in the 2 closest objects get, plus another Gets?

    Yes, simply change the properties of scale based on the distance.

  • change the size of the document in Illustrator CS4

    Hello

    How can I change the size of a document in Illustrator CS4?

    Seems a simple question, but I can't find the answer...

    I looked in the document in place (in CS2 I change it here)

    Thank you

    Tone

    What has been the preparation of the Document in the older versions to set the page size is now integrated into the artboard tool. Double-click the work plan tool to access these settings.

  • How to change the size of the image using HP ePrint app on and ipad or iphone

    I have a printer HP Photo Smart 7520. I have loaded down the HP ePrint app on my iPhone and iPad.  When you print a photo, how to change the six (4 X 6 or 5 X 7, for example) before printing on the iPad or the iPhone?

    Hi @thwhite1,

    Welcome to the Forums of HP's Support. I see that you want to know how to change the paper size in the HP ePrint app.

    I've included a screenshot of the HP ePrint app and where you will find the option to change the size of the paper.

    Please let me know how it goes.

  • Change the size of the preview area XD

    I have a project with a lot of tips from art. They are the size of 1280 x 1024. When I preview them after the last update (0.5.4.51) I only see half of the window. I would like to have the ability to change the size of the preview window.

    Just to clarify the current behavior...

    In most cases, if you resize an existing work plan to be bigger, it automatically turns into a scrolling work plan.  The original height will be the size of display in the preview, and the new height will be the total height of the content that you can scroll in this window.

    So, for example, in the original screenshot above you may have begun with the size of the work plan "Web 1280" and then resizes taller - looks like it is 1280 x 1024 in the screenshot?  When you select the element inside the artboard, you will see a blue dotted line that indicates the height of the viewport (and in the preview window or web for sharing, you can use the mousewheel or the trackpad to scroll vertically).

    Automatically scroll work plan is convenient, but unfortunately it isn't always what you want.  So in our next update we will give you the options to enable or disable scrolling on any plan of work.

    In the meantime, if you want a larger plan of work just be up - never scroll - then you can use this workaround:

    1. Select the work plan tool
    2. Drag to draw a new plan of work as a custom size
    3. Optional: Enter the width/height values in the properties panel to get a more accurate size
    4. Locate one of your old workplans that has unwanted active scroll.  Marquee-select on any of the artboard to select the entire document, and then copy paste the content on the new work plan.

    Work plans which were drawn by dragging with the tool of work plan will never auto scroll on.  After step 3, you can use Cmd - D to duplicate the work plan Virgin created if you have several old worktops to fix.

    I know the workaround is a bit awkward - but fortunately it is temporary.  In our next release, you will be able to select (or multiple selection!) work plans and just disable scrolling directly.

    I hope that helps to explain things!

  • Satellite L300 - How can I change the size of the partition in Vista?

    The hard drive on my L300D is roughly evenly distributed between Vista/C: and D:/data. Does anyone know if there is something in Vista that will allow me to change the sizes of the partitions?

    Thank you very much.

    Peter

    Hello!

    The partition size can be easily changed in Vista. Therefore, you can use the Vista disk management utility. On the Toshiba site I found this document:
    http://APS2.toshiba-tro.de/KB0/TSB7101OB0006R01.htm

    I think that should answer your question. Isn t it then? ;)

    Good bye

  • Satellite Pro A300 - How can I change the size of the partition?

    Hello
    My Satellite Pro A300 came with 2 different partitions, and I would like to change the size of the partitions (the data partition is too small).

    Which would affect the recovery tools? Is there proposed formulas?

    Thanks in advance,

    Andres

    What operating system do you use on your laptop?
    If you use Vista, this document could be useful for you:
    http://195.182.196.33/KB0/TSB7101OB0006R01.htm

    This should normally does not affect the recovery of HARD drive but make sure to burn the disc of recovery if you didn t it yet.

    If you have the recovery disk, you are on the safe side.

Maybe you are looking for