Transform horizontal flip and then transform again individually

Hello

I am trying to write a script that will apply a transform horizontal flip of selected items in a page and then apply a transform again individually. I have a photo and a box and I'm trying to get them to change places

I managed to get a job of script that will flip horizontally selected items, but I can't understand how to run the transformation still individually if the elements are not back.

var doc = app.activeDocument

var myObj = new Array;

myObj = app.selection;

app.activeWindow.activePage.groups.add (myObj);

app.activeWindow.activePage.groups.item(-1).select ();

var myObj = app.selection [0]; myObj.flipItem (Flip.HORIZONTAL, AnchorPoint.CENTER_ANCHOR);

myObj.ungroup ();

Thank you

Owen

Hello

Same way but separately

var
  myObj = app.selection,
  mGroup = doc.groups.add(myObj);
mGroup.flipItem(Flip.HORIZONTAL, AnchorPoint.CENTER_ANCHOR);
mGroup.pageItems[0].flipItem(Flip.HORIZONTAL, AnchorPoint.CENTER_ANCHOR);
mGroup.pageItems[1].flipItem(Flip.HORIZONTAL, AnchorPoint.CENTER_ANCHOR);
mGroup.ungroup();

Jarek

Tags: InDesign

Similar Questions

  • Error when opening file reader pen "the driver or network connection that the shortcut 'Target.lnk' refers to is unavailable. Make sure the disk is properly inserted or the network is available, and then try again. »

    Original title: during opening of pen drive file to msg "the drive or network that all connection 'refers to mpr shortcut' folders.lnk all in unavailable.make that the disk is properly inserted or the network is available and then try again."

    OS:-xp sp2

    pen drive :-transcend

    earlier, my USB had worms, bt Finally I took it off my ESET internet security (fully updated).

    BT still records are transformed into shortcut of 1 kb. and makes me worried coz I m nt able to open these files... Please help me out of this problem... I need my data, its urgent.help me as soon as possible to change these documents in their original format.

    my folders have files .doc, some do' report.unfortunately not have a backup of these files.

    target location: Z3ojKiH9lvFefkO0mG6Hl1XplgLV3L0YJVfdZRr3dtLhEN80DnzEPQX8Y2sziakx2axTnS4SA0447SPkbMn4QN

    In the location target properties are even 4 all records

    Clinical target:-H:\Z3ojKiH9lvFefkO0mG6Hl1XplgLV3L0YJVfdZRr3dtLhEN80DnzEPQX8Y2sziakx2axTnS4SA0447SPkbMn4QN\73mrVQz9rDByh9hfKJ9v0lt5z3m0s5hP0l.exe real sheet.xls

    What exactly is...

    I ve deleted the worms... checked by ESET, CLAMWIN PORTABLE, lapi ny window 7 WINDOW DEFENDER friend.

    ESET that worms have been Win32/AutoRun.VB.UG.Worm.

    now, I ve you gave details d, should know the problem I ve.i believe.help me

    Thank you for your time, but I did nt get the solution everywhere so formatted, it

  • Re: Tecra M10 stops down if it is locked and then login again (XP pro)!

    Hello

    A few weeks ago, I got a * Toshiba Tecra M10 * my company which I use as mobile office.
    I have downgraded to Windows XP pro, which was delivered with the M10.

    The laptop works fine except one question:
    * If I lock Windows using the < CTRL > + < alt > + < del > and then connect again, Windows stops! ?? *

    This does not happen if I turn on the laptop in the morning if I logon after the notbook has been powered on it works very well and does not stop is!

    Suspicion, what I can do to avoid this unwanted closure?

    Thanks a lot for your help!
    Concerning

    Sergeant

    I have never heard of this issue

    But I searched on the Toshiba site and I created this document which might be useful for you:
    http://APS2.toshiba-tro.de/KB0/TSB9102IN0000R01.htm

    Check it!

  • The mouse abandons its connection and then connects again a few seconds later.

    The mouse abandons its connection and then connects again a few seconds later.

    Bluetooth: Unreliable wireless performance may occur when external USB 3.0 devices are close - Apple Support

  • "The drive where windows is installed is locked. Unlock the drive, and then try again. »

    Have a laptop Envy M6-K010DX. Due to a problem of the internet while improving to win 8 to 8.1, the PC does not start correctly, and Windows Explorer will not load. Has decided to "Refresh" of the operating system and is gone to F11 restore utilities. When I go to the utility of refreshment and follow the prompts that I reach a message that says, 'the drive where windows is installed is locked. Unlock the drive, and then try again. "I was looking for support for the unlocking instructions and apart from some commands bootrec (which did not work - probably because I don't have a Win 8 disc) not much is available.

    The only access I have for execution of orders made by the tasks Manager command-line and F11. What is this 'locked' drive, anyway? Someone at - it any information on that?

    Hello Lara.

    IF you have updated from 8 to 8.1 and the process was interrupted during installation, this may damage the disc and therefore locked error. "Refreshing" the system would not be the answer that you need to clean install Windows 8 again. 8.1 update can break the bond of the recovery partition, especially if it has become corrupted as indicated.

    You must clean up the installation with the recovery discs, you must have created before you updated to 8.1.

    In addition, if you do not have the recovery disks, you can buy a set of HP or install a regular copy of Windows 8 and then update the drivers manually. HP has the Windows key now integrated into the bios.

    This forum is used on a voluntary basis and is not maintained by the HP Support for substitution of contact.

    Your message looks like not it was even 24 hours old before you decided to delete it from the original computer?

    I'm sorry to hear you had to do this.

    If you need to HP support, you must contact them directly to your country or region.

    Contact HP-Assist phone USA | HP® official site

    Contact HP worldwide | HP® official site

    Good luck with the new computer.

    Any brand or model you purchased now, don't forget to create the recovery disks/drive.

  • Will not install driver installer of EPSON Scan (L210) - ' error occurred when installing re start the computer, and then try again.

    Original title: problem installing scanner

    EPSON Scan (L210) setup driver moved - "is an error occurred when installing re start the computer, and then try again.

    Hey there, MAHIPALSINGH143

    Welcome to the Microsoft community forums.

    So that the community help to install your printer, we will need more information. Please answer these questions:

    1. Windows what operating system are you running (Windows 10, 8.1, 7)?
    2. The troubleshooting steps have so you far?
    3. Did you upgrade to a new operating system?
      1. If Yes, what operating system you were on before?

    When you look at the error message, it doesn't look like you need to update your drivers. You will need to go on the official website of manufacturers, with your EPSON.

    Here is the site for the EPSON drivers: http://www.epson.co.uk/gb/en/viewcon/corporatesite/support

    When I entered your model of "Epson Scan (L210)" number, it does not recognize the product. Would you be able to check and make sure that you have provided the correct model number? Your model is a new printer?

    Kind regards

  • When I try to send a picture through Windows Live Mail I get an error message telling me to delete the picture, and then try again.

    When I try to send a picture through Windows Live Mail I get an error message telling me to delete the picture, and then try again.

    original title: RECEIVES the MESSAGE of ERROR WHILE SENDING AND RECEIVING PHOTOS

    Hello Jane,.

    The best place to ask your question of Windows Live is inside Windows Live help forums. Experts specialize in all things, Windows Live, and would be delighted to help you with your questions. Please choose a product below to be redirected to the appropriate community:

     

    Windows Live Mail

    Windows Live Hotmail

    Windows Live Messenger

     

    Looking for a different product to Windows Live? Visit the home page Windows Live Help for the complete list of Windows Live forums to www.windowslivehelp.com.

  • Halo: Combat Evolved for PC works only on Windows Vista - Error Message "" unload the debugger, and then try again."

    I'm having a problem running Halo: Combat Evolved on Windows Vista. I can insert the disc and install the game without problem. The problem is that when I try to launch the game, I get error message saying "" unload the debugger, and then try again." I tried to install some of Halo patches to see if that would fix the error (for example, 1.6 and 1.7), but when I try and open the patch .exe file I get an error message telling me to go to a microsoft Web site or try to update the game manually. In addition, I tried to contact Gearbox Software to see if they could help me, all they said was to contact Microsoft.

    Does anyone have any suggestions as to why the game does not work for me and how can I make it work?

    Let me know, thanks. :)

    Hello whyohwhy42,

    I suggest that you follow the section below. This includes various possible steps to solve this problem:

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

    Thank you
    Irfan H, Engineer Support Microsoft Answers. Visit our Microsoft answers feedback Forum and let us know what you think.

  • sound recorder, no not enough memory available to complete this operation. Quit one or more applications to increase available memory, and then try again.

    I tried to use sound recorder to test a microphone and it came with an error message after pressing the record and then he said, sound recorder, not stop not enough memory available to complete this operation. Quit one or more applications to increase available memory, and then try again. This issue is out of nowhere because he has never had this problem before. It's a brand new computer that ive built from the bottom up, and I have 4 GB of memory. only a little more than 2 is actually identified by windows xp, however. Ive looked in the Task Manager and it says I have 2 GB of free, so I don't know what to do

    Hi superconfused123,

    This problem occurs because of a design limitation in the tape recorder.

    You can check the link below: you receive a "not enough memory to complete this operation" error message when you try to record a .wav file using sound recorder: http://support.microsoft.com/kb/284893

    With regard to:

    Samhrutha G S - Microsoft technical support.

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

  • 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]

  • Error in the painting: "there is not enough memory or resources to complete the operation. Close some programs, and then try again. »

    Original title: new resource error in painting, whenever I try to close the file or select all content

    (Using XP with SP3) Use this machine for months and months and I use paint all the time to capture screens and paste a part in the documents. Don't know what I did but all of a sudden this error when I try to select - all or to close the window in paint:

    "There is not enough memory or resources to complete the operation. Close some programs, and then try again. »

    Even clicking end task in the Manager of tasks gets this message before TM requires the application to stop. Back to zero does not solve the problem, and other programs (memory hog) encounter any problems at all. Virus protection is up-to-date, ran a few cleanups, no help. I think that somewhere, paint is watered - I can download and reinstall?

    Hi ebjeebee,
     
    This problem can occur for the following reasons:

    • If the bitmap file is a compressed format that Paint cannot read. For example, paint does not support CVID compressed bitmap files. If you try to open such a file in Paint, the above error message occurs.
    • If the default image for the paint attributes are too large. This setting depends on the memory and disk space.
    To resolve this issue, use the appropriate method:
    • If you receive the error message above when opening a bitmap in Microsoft Paint, the only resolution at this time is to open the bitmap file in another program.
    • If you receive the error message above when opening Microsoft Paint, follow these steps to fix it:

    a. open an existing bitmap.

    b. in the Image menu, click attributes.

    c. click on default and then click OK.

    d. on the file menu, click Save as and save the bitmap with a new name.

    e. close and restart Paint.

  • Impossible to install the bluetooth driver in XP Mode, error "this software cannot be installed remotely. Please connect to the local computer, and then try again.

    I have win 7 pro as my OS, whenever I try to install the bluetooth driver in xp mode, I get an error message saying "this software cannot be installed remotely. Please connect to the local computer, and then try again.

    Check this box:

    http://support.Microsoft.com/kb/2438651/en-us

  • I can't open microsoft office outlook. It says cannot open the outlook window. I tried to run "outlook.exe/resetnavpane, but it shows and error msg 'make sure you typed the name correctly and then try again.

    I can't open microsoft office outlook. It says cannot open the outlook window. I tried to run "outlook.exe/resetnavpane, but it shows and error msg 'make sure you typed the name correctly and then try again.

    I can't open microsoft office outlook. It says cannot open the outlook window. I tried to run "outlook.exe/resetnavpane, but it shows and error msg 'make sure you typed the name correctly and then try again.

    There is a SPACE between 'exe' and ' / '. You didn't have that. That's why.

    Please copy and paste it in the search box ot Run box... outlook.exe /resetnavpane

    t-4-2

  • Encarta Dictionary works do not mistake: this service could not be searched because you are not connected to the Internet. Connect, and then try again

    Original title: Encarta Dictionary (not searched)

    Encarta dictionary does not. I get the message "this service could not be searched because you are not connected to the Internet.  Connect, and then try again. "However, I am connected to the Internet.

    Hello

    1. don't you make changes to the computer until the problem occurred?

    I suggest you try the steps mentioned below and check if it helps.

    Method 1: Try to start your system in safe mode with network and check if the same problem occurs.

    http://Windows.Microsoft.com/en-us/Windows-Vista/advanced-startup-options-including-safe-mode

    Method 2: If the question does not exist in Mode safe mode then try to put your computer in a clean boot state.

    By setting your boot system minimum state helps determine if third-party applications or startup items are causing the problem.

     

    How to troubleshoot a problem by performing a clean boot in Windows Vista or Windows 7:
    http://support.Microsoft.com/kb/929135

    Note: After the boot minimum troubleshooting step, follow step 7 in the link provided to return the computer to a Normal startup mode.

    Hope this information is useful.

  • Driver EPSON Scan Setup installs - "error produced during installation to re start the computer, and then try again.

    New Epson Scanner GT - S50 Epson scan, set up driver will not install. keeps giving me "is an error occurred when installing re start the computer, and then try again" works fine on another pc with windows 7, but not from Dell. Tried to download from the website and cd. all other software is loading fine. Epson technical support cannot fix. Help!

    I finally had my Epson GT - S50 working. I have a contract with support iYogi.They tech were recommended by Dell.  It took them more than 12 hours to solve this problem. They had to do a full factory reset. I have had all my drives. The alleged problem with mine was HP. I have a hp all-in-one. It damaged my windows files. On re install, I had to install Epson scan first, this hp. I would not buy an epson again. The product works well now but still double flow a lot and is very picky. When it works well, it really accelerates my work verse scan with the Hp all-in-one. I'm really happy that I have a scanner, but wouldn't recommend an Epson.  I highly recommend I have Yogi tech support. They are worth every penny.

Maybe you are looking for

  • Connected with the fake apple on iCloud ID

    On iTunes and AppStore I connected my correct apple ID but in icloud I don't know how some different apple id is connected, and I do not know the password of it. Im not able to disconnect from icloud, because it requires the password. so, help me to

  • migrate domain controller

    I have a server windows 2008 x 86 business as a primary domain controller.  What I want to do is move not only to new hardware but for migrating to server 2008 x 64 so I can install exchange 2007.  I was wondering about what is the best practice to d

  • In Outlook express may not include sound

    When you send a message, you should be able to include sound clicking format on background.  But the background is not available.   I reinstalled outlook express, but it makes no difference.  I hope someone can help me because Microsoft Help wants $9

  • LaserJet Pro 200 M276NW color does not print more than once; application freezes

    Hello.  I had a problem with Laserjet Pro 200 color M276NW my family when printing from my desktop Windows 7 (64 bit) for quite awhile.  The first time I print a document after starting my computer, it prints the entire document very well.  However,

  • Get the error message: error 42144 TL0 {archive OLE is corrupted.}

    I try to help my husband with this error message he gets.  It is running Vista with IE 8 on a Sony Vaio laptop with ram 1 G.  He's very frustrated.  Does anyone have any suggestions or can provide any help? Thank you, karfrank