JS for resizing and scaling of grouped objects

Hi, someone at - it pls advise how to write JS to resize and scale grouped objects...

For example, if the group objects consists of forms and texts, when resized and scaled the text must also be enlarged or reduced as appropriate...

Thank you very much..

App.Selection [0] .horizontalScale = app.selection [0] .verticalScale = 50;

Works for me - text frames get revised down with text and everything. It seems not serious if they are in a group or not.

Tags: InDesign

Similar Questions

  • Sarhunt code for resizing and Adobe Muse

    Hey everybody,

    First of all, I want to say thank you to the people who have helped me already. You are really a great community and a great resource for beginners like me.

    Secondly, I have trouble with the resizing/scaling. I have discovered an old post on dynamic resizing/zooming by sarhunt. The code works when I Preview in Adobe animate. But when I do drag the file .oam published in my Adobe Muse Web site and then get an overview of the Web site, is no longer resizes. Can someone help explain where I could go wrong and what I can do to fix the problem?

    Currently, I'm in CompositionReady:

    var stageHeight = sym.$('Stage').height (); Set a variable for the height of the stage

    SYM. $("#Stage") .css ({/ / set the origin of the transformation to always fit in the upper left corner of the scene})

    'transform-origin': "0 0".

    "- ms - transformation-origin": "0 0".

    ' - webkit - transform-origin ":"0 0".

    ' - moz - transform-origin ":"0 0".

    "transform - o - origin": "0 0"

    });

    function scaleStage() {}

    var point = sym.$('Stage'); Define a reusable variable to refer to the scene

    var parent = sym.$('Stage').parent (); Define a reusable variable to reference the container parent of the scene

    var parentWidth = stage.parent () .width (); Get the parent of the soundstage

    var stageWidth = stage.width (); Retrieves the width of stage

    var desiredWidth = Math.round(parentWidth * 1); Set the new width of the scene as it evolves

    var scale = (desiredWidth / stageWidth); Set a variable to calculate the new width of the scene he puts on the scale

    Resize the stage!

    internship. CSS ('transform', ' scale (' + scale + ')');

    internship. CSS ('- o - transform', ' scale (' + scale + ')');

    internship. CSS (' - SM - transform ', ' scale (' + scale + ')');

    internship. CSS (' - webkit - transform ', ' scale (' + scale + ')');

    internship. CSS (' - moz - transform ', ' scale (' + scale + ')');

    internship. CSS ('- o - transform', ' scale (' + scale + ')');

    parent. Height(stageHeight * Rescale); Reset the height of the container parent for objects below will be redistributed as the ADJUSTABLE height

    }

    When the browser is also

    $(window) .one ("Resize", function() {}

    scaleStage();

    });

    When the first load of the page

    $(document) .ready (function () {}

    scaleStage();

    });

    Thank you.

    Muse currently does not support animations of edge resizing in the browser. Even if the animation on the edge resizes very well, after that the MCO is placed in Muse we have no way to know that it must be resized, to remedy this take us the height and width of the size of the animation in Muse and fixed the iframe (i.e. OAM) to these dimensions.

    We are looking into being able to support this feature in the future. In the meantime, there is unfortunately only one size, the animation can be when placed in Muse.

    Sorry for the inconvenience,

    Dana

  • Scaling of grouped objects

    I want to change a whole group of image / text / logos together - is - it possible within the Muse, or what I need to to scale each element individually?

    Thank you

    Grouping does not adapt content, that it only changes the container over the other boxes because that's how a browser would include as well. Muse will be re - calculated sizes of images and other content rasterized, however. It may simply not be particularly useful or have quality problems.

    Mylenium

  • privileges for partitions and see them in object

    Hello

    Anyone seen this before? The dw team has an appid with privileges from read/write to a partitioned table.

    connected under appid adshX, I am able to choose among stgadm3. TMUTL_FND_POSN partition (p1)

    1 * select count (*) in the stgadm3. TMUTL_FND_POSN partition (p1)
    SQL > /.
    COUNT (*)
    --------------------------------------------------------------------------------
    927282

    again, logged in as adshX appid, I am able to choose among object, but only the name of the table is returned.
    SQL > select subobject_name, object_name, object_type, owner
    of object where owner = 'STGADM3' AND object_name = "TMUTL_FND_POSN";

    OWNER TYPE_OBJET PARAMETER SUBOBJECT_NAME
    --------------- ---------------------- --------------------- ----------------------
    STGADM3 TABLE TMUTL_FND_POSN

    If connected as sys or system, the partition table AND are returned from all_objectds.
    OWNER TYPE_OBJET PARAMETER SUBOBJECT_NAME
    --------------- ---------------------- --------------------- ----------------------
    STGADM3 TABLE PARTITION P1 TMUTL_FND_POSN
    STGADM3 TABLE TMUTL_FND_POSN P_MINUS_1 PARTITION
    STGADM3 TABLE TMUTL_FND_POSN

    In addition, the ID adshX have access to views dba_ *, but which returns the correct results.
    OWNER TYPE_OBJET PARAMETER SUBOBJECT_NAME
    --------------- ---------------------- --------------------- ----------------------
    STGADM3 TABLE PARTITION P1 TMUTL_FND_POSN
    STGADM3 TABLE TMUTL_FND_POSN P_MINUS_1 PARTITION
    STGADM3 TABLE TMUTL_FND_POSN

    My first thought was that some private was missing, but because they can read/write/create tables and partitions with this id, I don't know what other private, they would need so that the information will be displayed.

    It is an oracle 10g db.

    Thanks, Pete

    >
    My first thought was that some private was missing, but because they can read/write/create tables and partitions with this id, I don't know what other private, they would need so that the information will be displayed.
    >
    You can make it appear by granting the user to SELECT ANY TABLE or DBA, but you may not want to do. Even grant ON the table to the user allows you to hide the information of subpartion.

  • Hi, my name is Nigel I lightroom CC. After the merger of HDR photo and then adjusting them. Could you tell me how to back up purely as a j - peg so I can post photos for friends and the social group.

    It seems to save it in a dng file do not allow me to show it to others.

    You use the file-> export to create a JPG of the DNG file.

  • Is it possible to group objects, which are placed in the project and then hide them with line a single action-script? THX in advance, Philip

    I work in CP 9 and I'm going to try the following: the user must be able to make ALL invisible or visible to highlight boxes by clicking on the corresponding button on the first page layout. Thus, for example, if the user does not want the highlight boxes appear, click on "Hide the boxes" and boxes are hidden for the rest of the project. I managed to get to this point for help... but it is still a lot of work for me to manually enter all the different names of these boxes in the action-script. So my question is: is it possible to group objects, which are placed in the project and then hide them with line a single action-script? THX in advance, Philip

    Actually... releasing the CpExtra HTML5 widget, it will be possible.

    It has a function called @syntax that allows you to perform an action (for example HIDE) automatically on any object throughout a project of Cp9 simply based on the name of the object.

    So for example, if you named all the boxes to highlight you want hidden this way to have the suffix _HideMe and you say CpExtra you want all of them hidden if a user variable is assigned to a certain value, then that is what will happen.

    That's the good news.  The bad news is that the widget is still in BETA final tests at the moment, so you may need to wait a bit before you can realize your idea.

  • Change the display time for grouped objects

    Hello, I have problems to change the display time for the grouped items. I use 7 Captivate and I love how now grouped items display only as an element in the timeline because it reduces the number of lines visiblein the chronology for each object on a slide. However, now that the grouped objects is more individually appear in the timeline panel, I can't see all the adjustments for group objects together.

    If someone else has had this problem and is there a work around? My main problem is that if I need to extend or shorten the audio to the slide, and I assigned a tip action to be grouped in order to adjust the grouped object to match the audio, I must now separate adjust, regroup, then reset the advanced action by using the name of the new group. It's frustrating and tedious.

    To enlarge and view the items grouped on the timeline, you need to click the arrow next to the group name. Once you develop, you can select the individual object and adjust the timings.

    Alternatively, you can select the individual object in the Group on the slide and adjust the timing of the accordion of timing. You can do it without separate.

    Anthony

  • I do my job to the computer on a MAC computer. I want to create a document using Pages and then convert the document to PDF and send a group email. I want to send the PDF using the pdf for each receiver icon must click the icon to open t

    I do my job to the computer on a MAC book PRO. I want to create a document using Pages and then convert the document to PDF and send a group email. I want to send the PDF using the pdf for each receiver icon must click the icon to open the document. My problem is the document does not show the icon, but rather the document is already open. I spoke with 2 Apple. 'Experts' care and can help me. Can someone tell me what to do?

    It's a question of how the recipients e-mail programs deal with attachments. Many e-mail programs will open all the files they can handle, including files jpg and PDF, by default, and if the recipient has not changed that there is nothing you can do about it. The only solution is to the compress first, then it will be delivered as an attachment, allowing the recipient to decompress and open it.

  • I don't remember the password for my network, but I do remember the password for my computer and my home group.

    I don't remember the password for my network, I remember the password to my computer and my home group, they are all different to change that, but family crisis distract me unable to use my ipad now or my other computer help!

    original title: password

    Hello

    What operating system is installed on the computer?

    Perform the steps mentioned below, if you have Windows 7 installed on the computer and see if the problem persists.

    a: right click on the wireless in your taskbar icon.

    b: open network and sharing Center and then click manage wireless networks on the left.

    c: you will see all the networks you have connected too.

    d: right click on any connection to Properties.

    e: click on the Security tab that shows the details of the security of the network including the password. Click on the box to Show characters.

    Hope this information helps.

  • Home page by default for OBIEE 11 g based on the users and the wise group

    Hi all

    I'm using OBIEE 11 g.

    I need set the page default dashboard for the user and the wise group.

    EX:

    User1 is belongs to Group1 and Role1 - they need to see the default homepage as Dashboard1.

    User2 is belongs to the Group 2 and Role2 - they need to see the default homepage as Dashboard2.

    Kindly guide me to achieve.

    Please answer as soon as POSSIBLE.

    Thanks in advance.

    RR

    It is generally considered poor form to scream as soon as POSSIBLE to a question. http://www.CatB.org/ESR/FAQs/smart-questions.html

    As far as your question goes, it is that the CHEMINPORTAIL variable is for:

    http://docs.Oracle.com/CD/E23943_01/bi.1111/e10540/variables.htm#i1013436

    OBIEE - system (reserved variables) session variables | GerardNico.com (BI, OBIEE, data warehouse and OWB)

  • Portal of WC - need information about the Migration or DB tables for roles and users/groups.

    Hello

    We are to modernize the WebCenter portal for a client of 11.1.1.3.0 to 11.1.1.8.0.

    Anything can let me know the procedure of migration or the involved DB tables that store the roles and the "user groups &" under the administration of security.

    A manual level by recreating all roles and users and groups one by one is my last option.

    Thank you

    Jean Claude

    Hello.

    Do not recreate it manually.

    The documentation must guide for PS2 - PS7 migration explaining step by step what to do regarding the security / policies.

    Read it slowly and carefully.

    Using WLST backup/export/import of your policy store scripts / qualifications.

    Following links can help you understand the WLST Scripts for the migration of security:

    http://docs.Oracle.com/CD/E29542_01/core.1111/e10043/addlsecfea.htm#JISEC3639

    Custom security infrastructure controls WLST - 11g Release 1 (10.3.6)

    We have migrated many times of 11.1.1.4/5 to 11.1.1.8. Always on the PS3 (11.1.1.4) version.

    11.1.1.3 to 11.1.1.4 was the biggest change from my point of view. I never had the opportunity to PSx PS2.

    For migration tasks, my recommendation is to ask for doubts or things not clearly in Support of Oracle documentation.

    Kind regards.

  • I'm on a W7 PC, of FlashProCC. -Have a Z1, jpg in the library. Choose Properties, export for ActionScript and get name Z1, class flash.display.BitmapData - how I introduce in a display by using Action Script 3.0 object?

    I'm on a W7 PC, of FlashProCC. -Have a Z1, jpg in the library. Choose Properties, export for ActionScript and get name Z1, class flash.display.BitmapData - how I introduce in a display by using Action Script 3.0 object?

    var z1:Bitmap = new bitmap;

    Z1. BitmapData = new Z1 (1,1);

    yourDisplayObject.addChild (z1);

  • Ungroup a group and keep the scriptlabel for each item in the Group

    Hello

    does anyone know how to ungroup a group of rectangles with a certain tag (example groupA) give one every rectangle a clean label (the same text groupA)

    I can find the Group and ungroup it but I can't label the rectangles...

    var oPageItems = app.activeDocument.allPageItems;

    for (var j = oPageItems.length - 1;)  j > = 0; d-) {if (oPageItems [j] .label == ("groupA")) {oPageItems [j] .ungroup ()))}}

    ...???

    Help, please

    Hello

    front

    oPageItems [j] .ungroup ();

    go through the loop and set a label for each item within the Group:

    for (var k; k)< opageitems[j].length;="">

    oPageItems [j] [k] .label = "groupA";

    assuming that your oPageItems [j] is a group indeed.

    I hope that...

  • How you can group objects without deleting existing animations of the main object?

    I would like to know if its possible to avoid to remove animations when the grouping.

    For example, I have a group of objects that have animations, and I would like to add another object to this group without deleting the group entertainment.

    If you want a set of objects to animate separately, do not group together them. Instead block them;   (Arrange > Lock)

    You can add other objects to add and lock slide then those.

    Individual objects when grouped (Arrange > Group), become indeed a single object, unique objects have only an animation, all the individual objects that have animations will lose their when grouped together.

  • Group object help

    I have 3 address spaces of category C I need to define an access list. Most of them will have www, SSL, FTP...

    Is there a way I can use the group object or define a range of addresses...

    for example:

    I want WWW, 80, SSL, FTP on the addresses 216.82.64.61 - 216.82.65.99

    How can I do this without having to type everything in?

    Thank you!

    No problem. And Yes, we can also manage your other application. Just add the following (assuming that the inside/outside interface but this may change as needed):

    public static 216.82.0.0 (Interior, exterior) 192.168.0.0 255.255.0.0

    With this command in place, the PIX will replace the '192.168' with '216.82"on all packets that pass through the interfaces in question. The last 2 bytes will be unchanged.

    Is that what you're looking for?

    Scott

Maybe you are looking for

  • error: no boot disk was detected...

    I have a hp pavilion 23 all of a. Message from the above subject line. I tried Windows + b + power switch. Power off, but do not restart. Computer is less than a year. Help, please!

  • UEFI on Yoga 2 13 password?

    Hello I bought a new laptop Yoga 2 13 and I'm trying to access the configuration of the UEFI. But my computer asks me a password. I have never set one up, is it a universal password? Who put it there? The company who sold me the computer or Lenovo? T

  • Error encountered and unknown code B56 Windows update

    B56 Windows update error encountered and unknown code. * Title *.B56 Windows update error encountered and unknown code. I can't install 10 updates because of this ERROR! Someone at - it a difficulty for me or answer? I tried to install these updates

  • AVT picture becomes clearer

  • I can't windows 98 to connect to the net and I can not install the ethernet driver to install

    I don't know where start the ethernet card I have windows 98 can not install without a driver updated, I can't find a driver that I can towards the down loaded to an open disk and run winzip does not open on a disc and it wont let me install where it