Is it possible to group 2 objects that are located on 2 different pages in InDesign CS4 JS

Is it possible to group 2 objects that are located on 2 different pages. Would it be something like that:
        var myArray = new Array;
        //Add the items to the array.
        myArray.push(myLine1);
        myArray.push(myLine2);
        //Group the items.
        var myPages = app.activeDocument.pages;
        myGroup = myPage.groups.add(myArray);
Thank you very much for your help.
Yulia

You can group objects from distinct pages only if they belong to the same spread.
For instance, if you have a rectangle on page 2 and a rectangle on page 3 in a "facing pages" configuration, this should work:
var doc = app.activeDocument;
var r2 = doc.pages[1].rectangles[0]; // rectangle on page 2
var r3 = doc.pages[2].rectangles[0]; // rectangle on page 3
// it's better here to handle the parent spread:
var g = doc.spreads[1].groups.add([r2,r3]);
// but this may also work:
// var g = doc.pages[1].groups.add([r2,r3]);
// var g = doc.pages[2].groups.add([r2,r3]);
@+
Marc

Similar Messages

  • If an internal ID is changed for the Work Repository how does it affect objects that are already in it?  Will they continue to run or do you need to cycle the ODI agent?

    I was having trouble migrating the Master and Work repositories from my QA to my Prod environment.  I was getting an error message that the internal id's were alike so I changed the internal id in my Prod Master repository.  Then I tried to migrate the Work repository and was getting a similar error.  I did a search on the internet for the error message and it recommended that I renumber the Work repository so I did.    My concern now is how these changes affect the objects that are already in the repositories?  Will those objects continue to run?  Also do these changes take affect immediately or do you need to cycle the ODI agent?

    Well I cannot completely assure you but so far I have not faced any issues after a renumber. It will affect the exist object only when you have imported the object in synonym_update mode. I believe you have the daily backup of your production repository.
    Bhabani
    http://dwteam.in

  • How do I preview objects that are outside of artboard.

    Hello,
    When I placed an illustrator file in Indesign, I would select command+D > select "Show Import Options" and we have a preview of the image. On some occasions, the preview will include all extraneous objects that are outside of the artboard and other times, it will display only the image within the artboard or bounding box. (Please see attached samples)
    Does anyone know the reason behind this?
    Thanks,
    Sutagami

    The only way I can reproduce what you are experiencing is if I save out as an .eps and am not mindful of the Artboard check box on the save dialog. If you deselect this check box you will get all of the file content, if you select this check box you will only get the designated Artboard bounding area. But you never said what file format your are saving or what version of Illustrator you are using. I have to assume you are in CS4.

  • Security Scopes: All instances of the objects that are related to the assigned security roles greyed out

    So the guy who built our SCCM server is no longer in the company and his AD account no longer exists.  I noticed in SCCM however his account as the "All instances of the objects that are related to the assigned security roles"
    is selected. however the option is greyed out for everyone else.
    This option is the one found under Administration/Security/Administrative Users select the user and open properties then select the Security Scopes tab.
    Is there a way we can provide another user this same level access when we can no longer access through the original build account?
    Already looked into tombstone resurrection of his account thats a no go.
    

    Hi,
    I recommend you rebuild SCCM or open a case with Microsoft.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • To get all the objects that are used inside the class

    Hi All,
    All i wanna know is to get all the objects that are used inside the class.
    Ex :
    Class A{
    Emp e;
    public add(Dept d){
    e.deptid = d.deptId;
    in this class i have two objects, one Emp obj and another Dept object.
    I wanna get the details abt this class Emp and Dept by simply parsing the file and by not loading this class in JVM.
    Could any pls hel me out.??
    thx.

    I wanna get the details abt this class Emp and Dept
    by simply parsing the file and by not loading this
    class in JVM.Your problem statement is vague and the constraint is IMO hypothetical.

  • Filter photos that are located in more than one album

    I'm trying to organise my iPhoto events onto albums in the new photos app in 10.10.3, however, I think I messed up with a bunch of photos and need to start clean, I need to be sure that one specific photo or group of photos are located in a single album, kinda like iPhoto used to work with events, I know a photo can be in more than one album at a time, but how do you tell with filters?
    Tried to create smart album but seems to be no criteria for that.
    Thanks.

    You can't.  You know that during the conversion from iPhoto to Photos all of your current iPhoto Events also were converted to albums inside the folder in the sidebar titled "iPhoto Events". 
    So you only have to worry about new imports which go into Moments.

  • I just noticed that I can no longer select photos out of my finder that are located in my Aperture/Iphoto Library.  I used to be able to attach photos to my gmail out of the aperture library in the finder and for some reason, no longer can.

    I just noticed that I can no longer select photos out of my finder that are located in my Aperture/Iphoto Library.  I used to be able to attach photos to my gmail out of the aperture library in the finder and for some reason, no longer can.
    I can't access these images except to go into the applications. 
    Also, I'd like to import my iphoto library into aperture, and move aperture library to an external drive.  I tried the import first, but there wasn't enough space.  Then I tried copying over the aperture library onto the external drive but it failed bc it said file was in use. 
    As it is, I only have 50gb left on my imac, and the aperture library is 150gb.  Also, I have over 10k images in both libraries combined and there are tons of duplicates that need to be sorted, and hopefully not messed up because I've organized most of them.
    So in short, I need to know how to do the following:
    -select photos in finder in aperture/iphoto libraries
    -move aperture library to live on external drive
    -import iphoto library into aperture library
    -eliminate dups but maintain organization
    -moving forward i need a better workflow so that I import images from camera, and can organize right away into albums rather than creating projects by default and then creating albums so essentially the photos are in 2 different places, even tho they are referenced
    -live happily ever after
    Thanks in advance for any support you can offer!!

    If you're using apps like iPhoto or Aperture then they replace the Finder for managing your photos. The point is that you use the (many) options available via these apps for the things you want and need to do with the Photos.
    So, simply, you don't select the photos in the Finder. I'll append the supported ways to do this - which are faster and will yield the current version of your Photos - to the end of this post.
    -move aperture library to live on external drive
    Managed or Referenced Library? Managed -
    Make sure the drive is formatted Mac OS Extended (Journaled)
    1. Quit Aperture
    2. Copy the Library from your Pictures Folder to the External Disk.
    3. Hold down the option (or alt) key while launching Aperture. From the resulting menu select 'Choose Library' and navigate to the new location. From that point on this will be the default location of your library.
    4. Test the library and when you're sure all is well, trash the one on your internal HD to free up space.
    Referenced -  relocate your Masters first.
    These issues are covered in the Manual and on this forum hundreds of times.
    -import iphoto library into aperture library
    FIle -> Import -> iPhoto Library? Have you done this already? If so are you trying to move the Masters to Aperture from an  iPhoto Library? Or Consolidate them?
    -moving forward i need a better workflow so that I import images from camera, and can organize right away into albums rather than creating projects by default and then creating albums so essentially the photos are in 2 different places, even tho they are referenced
    You can't. Every photo is in a Project.  They’re the basic building blocks of the Library.
    You might want to spend a little time with the manual or the video tutorials. I'm not sure you've grasped the app  you've purchased.
    The following is written for iPhoto, but about 97% works for Aperture too.
    There are many, many ways to access your files in iPhoto/ APerture:   You can use any Open / Attach / Browse dialogue. On the left there's a Media heading, your pics can be accessed there. Command-Click for selecting multiple pics. This is what you use to attach your shot to your GMail
    (Note the above illustration is not a Finder Window. It's the dialogue you get when you go File -> Open)
    You can access the Library from the New Message Window in Mail:
    There's a similar option in Outlook and many, many other apps.  If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto/ Aperture.
    If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser.
    If you want to access the files with iPhoto/ Aperture not running:
    For users of 10.6 and later:  You can download a free Services component from MacOSXAutomation  which will give you access to the Library from your Services Menu.
    Using the Services Preference Pane you can even create a keyboard shortcut for it.
    or use this free utility Karelia iMedia Browser

  • How to get the list of object that are going to modify during the upgrade?

    We are upgrading sap 4.OB to ECC 6, is there any place we will get the list of standard object which are going to modify in service market place? Please let me know the link to get those details.
    Thanks

    Usually you get this list when upgrading first system (sandbox type) via SPDD and SPAU. (useful for objects modified in your system - SNOTE or mofications) - The whole list of modified objects will be huge,  many (most) objects were modified (created, even deleted) those last 13 years.
    There are also tools that may help you like [panaya|http://www.panayainc.com/] (but i'm not sure for a 4.0B, it worked fine for a 46c) - look for tools/vendor at [Partner Information Center: Search|http://www.sap.com/partners/directories/SearchSolution.epx]
    Regards,
    Raymond

  • CMS objects that are orphaned in the Input FRS

    Post Author: [email protected]
    CA Forum: Administration
    Is there a tool / way to comb through the CMS objects and clean up CMS objects that do not have a file that exists in the Input FRS?
    Not sure how we ended up with these orphaned objects, product of migration i guess.

    Post Author: jsanzone
    CA Forum: Administration
    Jason,
    I'm not sure what the case would be if you were to allow these orphans to linger around, as best as I can tell there are no inherent problems.  However, as good administrators we sometimes feel best when things are neat, tidy, and all accounted for.  In answer to your question, I do not know of any tool per se, other than using the artificats that Bus Objects leaves us with to "check things out" and to also use other resources as we see fit.  The best I can imagine in getting to the data you seek is as follows:
    -  use the Query Builder tool (/businessobjects/enterprise115/WebTools/websamples/query/query.aspx"&gt;https://<server>/businessobjects/enterprise115/WebTools/websamples/query/query.aspx?
    - in the "enter your SQL code here" box, type: select si_files,si_name from ci_infoobjects where si_obtype=260 (then click on "Submit Query")
    - you will get a screenful of info back in your browser, and this is where the "tricky" part starts.  If you're working in a unix (or unix-flavored) environment (or have "grep", "cut" and "paste" for windows), you can highlight all the text that is returned, then copy to a text file.  Using grep, you can grep on "SI_FILES SI_PATH" | cut -c24- and output to another text file.  Then you can grep on "SI_FILE1" |cut -c10- and output to another text file.  Then finally, paste -d"/" <file1text> <file2text> (this puts the two parts together with a slash between thus resembling a file name.  The next task is to go the place where your filestore is at (if you've not moved it from the original installation, then most likely at "C:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\FileStore").  From here you'll have to obtain a pathname/filename list of all your "*.wid" files (in unix this is easy, however, in Windows/DOS, you might try zipping everything to a PKZip file, then "test" the file and copy/paste the output from it to another text file.  Once you have the two text files in front of you then you can use a variety of tools to "match things up" (i.e. import to Access as two tables and use inner join/outer join techniques, etc, etc).
    In my particular case, the query builder is telling me that I have 894 objects, however, doing an Explorer search I get 880 objects, so I have 14 orphans in CMS.  I'm not sure how this happens either and I'm not sure how I'd go about removing these puppies from CMS either, but I guess if I took the above steps, I'd know exactly which IDs in CMS were out of whack.
    Good luck.

  • Refrencing objects that are not present on frame 1 of a movieclip

    Hi everyone!
    I'm working with a movieclip right now that has two frames in it.  I want the user to be able to go back and forth between the pages by clicking on tabs on either page.  The button that they click on is only present on the frame that it is applicable (so, the button to switch to frame 2 is only present on frame 1, and vice versa).
    I want to control when they are able to click back and forth, and be able to turn the buttons on and off whenever I need to, but since the button to switch back to frame 1 is only on frame 2, when I reference it from the main timeline, the button registers as a null object.  How do I refrence an object that is not present on the first frame of a clip?
    Here's the gist of what I have.  The main timeline has an object called "mAccess" that has 2 frames, Windows and Reports.  At the top there are two tabs, one for Windows, one for Reports.  The Windows tab is only clickable when on the Reports frame (frame 2) and the Reports tab is only clickable when on the Windows frame (frame 1)
    Main Timeline:
         mAccess.bReports.addEventListener(MouseEvent.CLICK, gotoreportstab);
         function gotoreportstab(event:MouseEvent) {
              mAccess.gotoAndStop(2);
         mAccess.bWindows.addEventListener(MouseEvent.CLICK, gotowindowstab);           <---  This gives me the error about the null object reference,
         function gotowindowstab(event:MouseEvent) {                                                                 since bWindows does not exist on frame 1 of mAccess.
              mAccess.gotoAndStop(1);
    Thanks for whatever help you can give me!

    the bottomline is you can't reference an object that doesn't exist (yet).  the easiest work-around is to make sure your object exists on the frames where you need to reference it.  the object doesn't need to be visible so this isn't much extra-work.  you can add and remove the object from the displaylist as you see fit or enable and disable its visible property. 

  • Is it possible to save files that are not on my macbook

    is it possible save files not on my macbook

    Where are the files going to be that you want to save.
    Time Machine, if that is what you are talking about, can only save files that are locally stored on disks that are HFS+ format. TM is specifically designed to use the Mac format.. it cannot work on network drives. It cannot work on other format drives.
    If you are not specific to Time Machine.. your computer can save files on the TC.. that are stored anywhere just by copy and paste.. but the TC is not really a good storage . .It is unable to back up itself and TM as noted already cannot back it up.

  • Cannot transfer response group calls that are parked and time out

    Hello all,
    Need your help with a peculiar issue. The deployment consists on one Lync Server 2013 Front End server acting also as mediation server. Communication with the PSTN is through a ITSP (no SBC on place).
    There is a response group created for the main line (the office's published number) that plays a greeting and then it sends the call to a queue (in attendant mode). Any user available picks up the call, puts it on park and IM'es the final recipient (which
    uses any phone to pick up the call). Everything works as expected, except when the call in the parking lot times out, it rings back on the client that picked the call first, but when he picks it up, it doesn't show the options to transfer the call. The top
    of the call window says "Connecting call...", but the call is connected and the person is able to talk with the person that was on parking.
    I have reviewed the client's log file using Snooper, and there is not errors. In the CDR records, everything seems normal.
    The curious thing is that if the call goes directly to the user (using his DID or on a Lync to Lync call) and the calls is parked and it times out, it connects normally, and the user can transfer the call or put it on parking again. The problem happens only
    whit calls that are pick up from the response group.
    Any ideas?
    Patricio Carpio.

    Please check if this issue happens with other Response Group agent.
    As the status “Connecting call” exists, this may cause the option “transfer the call” missing.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • How to delete webintelligence objects that are not viewed

    Hi,
    I need to find a way to delete the objects that have not been viewed in the last 12 months. We are using Business Objects XI 3.1 here. I've already looked for this feature around a lot of sites and foruns, but I still have not found anything.
    We have over than 2.500 webintelligence objetcs in our environment. A lot of them are useless. So we would like to clean up the reports that are not viewed by the users. Maybe we would use this feature one time every year.
    Thanks in advance,
    Gustavo Borges

    We decided to clean up the old documents taking a look to their last modified date. It'll be easier and we won't loose important documents. That is gonna be enough for us.
    Thanks,
    Gustavo Borges

  • How to find all those list of SAP standard and custom objects that are changed from a specific point of time

    Hi all,
    Please let me know the process to track or find all the SAP Standard and custom objects. that got changed from a specific point of time.
    Is there any function module or any table where this change log is maintained.?
    I just only need the details ,wheather that SAP standard or Custom object has got changed or not.
    Thanks in advance

    Hi RK v ,
    I really don't know what your actual requirement is , but if you want to know the objects as per the modification , then transport request will be much help to you .
    Have a look into table E070 and E071 .
    Regards ,
    Yogendra Bhaskar

  • How to remove Business content objects that are not required?

    Hi all of you,
    I had extracted some of the objects from business content from FI such as General LEdger and Asset Accounting. After extracting it, my c drive is full and I am not able to open any other file. So I want to remove these FI objects that I had extracted from Business Content. Can any one please guide as to how should I remove these already loaded Business content objects?
    Thank you.
    TR.

    Hi,
    You can right click on the objects (unused) and delete.
    actually when you activate business content its version is changes from "D" Delivered to "A" Active but these objects will always be available as D version to you. Even if you delete the activated objects now & need those in future you can reactivate them.
    hope it helps
    Regards
    Vikash

Maybe you are looking for