placeItem.move (point) duplication

Can someone confirm if this is a bug please?

I'm creating a series of images embedded and then adding them to various groups, hera is a simplified version to recreate the bug

   var file = new File("/Users/Greg/Desktop/image.png");
    
   var img = app.activeDocument.placedItems.add();
   img.file = file;
   img.position = Array(0, 0);
   img.embed();
    
   var parent = app.activeDocument.groupItems.add();
   img.move(parent, ElementPlacement.INSIDE);
   parent.translate(50, -50);

For me, it seems to be duplicate the image... an embedded image at 0,0 and a picture linked within the parent group to 50-50

Although it is possible to create "img" by the parent.placedItems.add () is not really an ideal solution in my current project

Greg

Once the image is embedded is so more than variable - to enter a new variable to work with her - and after the img.embed (), you can reuse as img = app.activeDocument.rasterItems [0];

Or you can simply duplicate all elements placed first and then cross the entire document and incorporate as the last step.

Tags: Illustrator

Similar Questions

  • Re: Mouse freezes, changes to 'move' pointer and zoom in or out

    My mouse pointer freezes or randomly replaces the pointer 'move' and zooms the page inside or outside when you use internet explorer 9 or 18 of Firefox.

    My computer is only 3 months old and I have had this problem since the beginning. I called Toshiba support and they had me go in the BIOS default settings and restore, but it has no effect.

    Restore default BIOS, reinstall the operating system and test the functionality with the factory settings.

    If the same problem still occurs once I recommend you contact Toshiba again and let the technicians to fix it for you.

  • Move Point Road when near a Guide

    It's something I meet here and there.  The point at the intersection of A and P letters needs refined, but when I press and hold the Ctrl key to facilitate this, it converts the pen tool to the tool move because it is too close to the guides.  So, I need to change the direct Selection tool, which disrupts the workflow, or turn off the guides.  Is it possible to do this without turning off the guides, or tool change?  I tried different combinations of modifier keys, but nothing helped.

    I don't know if it will work for you or not. Use the keys Shift + Ctrl +;   to turn snap OFF zoom way can use the stylus Ctrl + to close the anchor point

  • An erratic move pointer

    Hi Forum,

    I have a HP Pavilion dv4T-1400, running Windows 7, 64-bit. My touchpad has been giving me some difficulties today. The pointer has moved erratically, highlighting and selecting things even though I have not touched, and if I tap the and let my finger there, the pointer moving madly. It's never happened before.

    After consulting all the tips help I could find, I updated the driver and adjusted the touch sensitivity settings to be lower. None of these factors, which have had no effect.

    I'd appreciate any help I can get!

    Hello

    Instead of updating the touchpad drivers try everything first uninstall the drivers for the touchpad Control Panel, and then download it from the link below after selecting the operating system:

    HP Pavilion dv4t-1400 CTO Entertainment Notebook PC drivers & downloads

    If this does not help then follow the directions in this POST

  • Cannot move * without * duplication!

    Whenever I drag a shape with the tool Selection or free transform, the form I am slide gets duplicated. It's like the Flash I'm holding down the Option key when I'm not. This little video shows the problem: http://www.erikphansen.com/flash-selection-tool.mov

    Back to zero doesn't fix it. But I just found out that you are using the Flash of a guest on my Mac user account works. So, somewhere there is a preference which is ruined.

    Ideas?

    I'm on a MBP running OS 10.7.4 and what is the last Flash CS 5.5.

    Thank you very much

    Erik

    Pref. of compensation did not.

    However, I have it fixed. I'm sure the problem was some weird conflict with Air Display, which I had installed but was not yet using about 95%. He also seems to have understood alignment to work pixel which I noticed has been dismantled. Weird weird weird.

    Erik

  • Movie Clip duplication problem

    Hello world
    I'm trying to encode a clip so when selected a duplicate is created in a predefined location (called origX and origY). I tried to adapt the code in the help files but, alas, no joy. Where am I going wrong (see attached code)
    'meter' is just a counter that increments each time that the MovieClip is clicked, and is added to the string representing the name of the last instance of the clip.
    The s in "trace" are just there for the test, but reveal a _x and FLF 'undefined' for the new movieclip.
    Rick

    well a few things here - first you really should try to place your code on the timeline rather than "attach" them to buttons or movieclip - there are reasons, and it is just a best practice. However there are a just a few things your missing here:

    the first parameter in the duplicateMovieClip method must be a string, not an object - and unlike the attachMovie method, the second parameter must be the assignment of depth. In addition you can 'position' the clip in the call using an Init object in the call as a third parameter. If indeed orginX / there are read correctly (without path to _parent) then you could do the whole, and this code is "attached" to the "cow" MC - then you can use the following:

  • Wireless Bluetooth not recognised in Vista - mouse pointer move not.

    Have Microsoft and Logitech wireless mice. New batteries in both. Everyone has light display in bluetooth adapter and mouse. Neither will move pointer... What can be the problem?

    Thank you!

    Have you installed the drivers, firmware, or software required for the function of the mouse?  Even if you did since the discs that came with the mouse, it could have many updates since then.  Go to the manufacturer web sites to get downloads there is place and install them and then restart and see if the mouse works now.  Make sure you get accurate versions applicable to your mouse AND your version of Vista. Also, try to plug one at a time - they may be conflicting with each other.  If no, go to start / Control Panel / mouse and check the settings to make sure that bluetooth is turned on (and the same goes for bluetooth itself).

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Move the point of alignment of the symbol in CS4, how?

    Boy I feel stooopid.  I can't find how to move the point of alignment of the symbol in Flash CS4.  It's easy reeely in CS3.  A clip I made was of course a registraion point at the Center, and I'm using AS 3.0 to place the instance on the stage, which means of course that I see now the lower right of the movie...  I don't want it to use as place the clip at a different time, I just want to know how to move points of alignment of all symbols in CS4.  When I go to edit a symbol I see reticle existing symbols which I assume are the existing alignment point, but how can I move?

    Confusedly yours.

    Dave N

    I don't have CS4, so I don't know if there is a change in how it is done. Also, I'm not otherwise in CS3 to open the symbol and move items around, not the point of alignment, either manually, or via the alignment tool.  Then you may know sdomething I did not... but that's how I do it where it's not how you do it.

  • AppleScript move files to the specific folder for Automator

    Hello

    I have a script to do a bunch of stuff that makes PDF files that I have stored in different folders. I want to be able to move the items by using a loop

    i.e. repeat with i from 1 to (number of files in the folder x) - assuming that all records have also the same number of files

    move point i of the x to folder toCombine folder

    pass I have folder is the folder toCombine

    pass the z to record toCombine folder i

    Tell application "combines."

    run

    tell the end

    end repeat

    "Handset" is just a simple automator app that takes the contents of the folder of the folder "toCombine" and adds them in the order I want which is X > Y > Z as page 1, 2, and 3. However, I see fluctuations in the order that I continue to work loop while watching the toCombine file, resulting in Z > Y > X and stop randomly.

    I added delay and even a control to see if there is no X before moving the point Y etc..

    Is there a solution for this?

    Just an idea: are you aware that the point of any folder i always refers to the alphabetical order of the Articles?

    For example:

  • HD duplicated on the desktop - cannot move

    Hello. Hope you can help me.

    An 'expert' he has not attempted to solve a problem with a memory stick --, but it reproduces therHD in my desk AND wiped out my itunes music library.

    Now, my Mac is very slow and the internet takes age dependant, with beachball runs rather well.

    This morning, I deleted a bunch of things, so that the internet at work.

    I can't move this duplication, or remove it.

    I have attached a screenshot.

    iTunes is intact apart from the music library.

    I have this on my phone - iphone 4.

    I don't know how to copy without the risk of losing everything.

    I've tried so far-

    delete the apps that guy left out.

    Forest drive

    EXIF Untrasher

    Martin site

    File data recovery

    Scanned with Malwarebytes Anti Malware for Mac

    CCleaner

    First aid _ Apple SSD - test ok

    OK Mac HD.

    A ran anti virus. everything is ok.

    Someone suggest what to do next. Thank you.

    Hello again - sad than no response.

    The HD has certainly copied and move - even on an external drive, all attempts have failed.  My computer is a virtual stop. It took all day to download 2 files.

    Hoping for some advice on how that I solve this problem.

    I cross my fingers.

    LC

  • Impossible to move a window, a single click opens program

    In Windows 7 with Service Pack 2. Recently, a simple mouse click on a desktop icon opens the program. A simple click in the title bar of an open program it maximizes and won't let me move it.  He has just started and seems to be intermittent.  All this experience and have a fix.  I put the files option in two clicks, but without success.

    Hello

    Thanks for posting your query in Microsoft Community and we can help you with your problem.

    To help you to propose measures to solve the problem, I would appreciate if you could answer the following questions:

    1. what type of mouse you are using? Is it wired or wireless mouse?

    2. is it a laptop or a desktop computer?

    I suggest that you check if the mouse settings are correct.

    Method 1: You can follow these steps and check if it works.

    a. open the mouse by clicking the Start button, click Control Panel, clicking hardware, and then clicking on the mouse.

    b. click on the Pointer Options tab and then do one of the following:

    ·         To change the speed at which the mouse pointer moves, move her select a slider toward slow or fast pointer speed.

    ·         To make the pointer work more accurately when you move the mouse slowly, check the Enhance pointer precision.

    ·         To speed up the process of selecting a choice when a dialog box appears, select the automatically move pointer to the default button in a dialog box.

    ·         To make it easier to find when you move the pointer in the, select the display pointer trails check box, and then move the slider towards short or Long to decrease or increase the length of the pointer trail.

    ·         Ensure that the pointer doesn't block not your opinion on the text you type, select her Hide pointer while typing check box.

    ·         To find a misplaced pointer by pressing the CTRL key, select the location of Show in the pointer when I press the CTRL key check box.

    Change the settings of the mouse

     http://Windows.Microsoft.com/en-us/Windows7/change-mouse-settings

     

    Method 2: If you use touchpad, try to reduce the sensitivity of the Touchpad and check.

    a. click on the "Start" icon in the lower left corner of the screen. Select "Control Panel". Then, select "mouse" under 'hardware and sound'. You can also click on the touchpad while the cursor is anywhere on the desktop. In this screen, choose "mouse pointers."

    b.Select the tab "buttons" at the top of the dialog box that opens. This shows the type of touchpad device installed on your laptop.

    c. set the touchpad for right or left-handed use in this dialog box. You can adjust the speed of the double click of your computer as well. When you have finished making changes, click 'apply'.

    d.Pick the tab 'settings' from the dialog box now. You can see the touchpad for your Vista machine highlighted on the screen. Select "settings".

    e.Read the information provided in the following dialog box. It gives you options for your touchpad Cup, using the buttons, scrolling, pointer movement and sensitivity.

    f. make any changes that you want from the various subjects. When you make a change, click 'apply'. When you have completed all your changes, click 'OK'.

    g. don't some works on your computer for a while, if the touchpad is still too sensitive, return to the menu 'mouse' and continue to adjust the settings to what you get them just the way you want.

    Method 3: If the problem persists, try to perform a clean boot and check if the number reoccurrs.

    Place the computer in a clean boot state, then check if it helps. You can start Windows 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.

    How to perform a clean boot for a problem in Windows Vista, Windows 7 or Windows 8

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

     

    Note: After troubleshooting, be sure to configure the computer to start as usual as mentioned in step 3 of the article mentioned above.

    Hope this information helps. For any other corresponding Windows help, do not hesitate to contact us and we will be happy to help you.

  • Each grid of hanging point

    Sometimes I need all the points of my way of working to be aligned with the grid of the document.

    Now I do it manually, each stage of the cycle and type new rounded coordinates or activate the alignment on the grid, and then drag each point with the mouse.

    Is there a way to automate with JS?

    error was because of me. I was not thinking clearly and had to do with art example I played with being grouped so it worked.

    which is set in the code below, it is now just about all pathitems in the doc.

    has hangs all the anchors on all mm, moves manages same distance he moving to the anchor.

    Please note that this is likely to change the art as it moves points in the same form of different amounts and in different directions.

    but obvious value to put in writing.

    var doc = app.activeDocument;
    var tomm = 2.83466796875;
    for(var i=0; i		   
  • Impossible to place a point on top of each other after a release of the outline of the stage, as if a magnetism happens, thank you for your help

    After a step of a closed contour output, I remove a point, divide the new contour of the original sketch and then I make a mirror of the new contour. Finally when I try to place a point of the contour of the mirror on top of the sketch in the mirror, it is impossible and Illustrator move point horizontally as soon as I drop the mouse.

    I'm working on Illustrator CS6 on a Mac. But I tried it on a PC and the same problem occurs.

    Thank you for your help

    Stone,

    In such cases, the first assumption is aligned to the pixel grid.

    You can select the entire document and untick finally align on the pixel grid in the transform palette and uncheck also align new objects to the pixel grid in the options of the Launcher.

    You can avoid the types of documents with the default (RGB for the web and other) or change the default value for such documents.

  • Install Firefox 32 and 34 do not sync even in a clean

    I have been using Firefox Sync since it was an armor called extension and it has worked perfectly so far.

    I used Firefox on Ubuntu 14.04 Aurora, but I had to uninstall Ubuntu completely from my computer and install Windows 7. The point is that on Windows, I tried with Firefox Aurora (34) and liberation (32) recover my favorites, and none of them is synchronization. Everything seems to work well, even I can see a message saying "Firefox will begin synchronization momentarily" after logging in to my account, but that never happens. It is said it is correctly synchronized but I never get the bookmarks/history of my old Ubuntu.

    I have more devices is connected to my account, but only one access right now, this is my Android phone, where I have Firefox Beta (33). Here, everything works fine, I have my favorites, because they were in my Ubuntu.

    Any idea what's going on? Let me know if you need other information.

    The synchronization logs look especially successful. He finished at half way through the history of synchronization, is that the entire file or is there additional lines after that?

    I always see errors during synchronization of bookmarks, e.g. "could not move point _QPSFiHp2U_X", which suggests a sort of corruption in the data of bookmarks. I wonder if it's the same mistake typing your android device, making it appear no synchronization.

    I suggest starting from scratch as much as possible, with all of the following steps:

    (1) unplug all devices sync
    2) go to https://accounts.firefox.com/ and delete your account
    3) go to https://accounts.firefox.com/ and re - create your account
    (4) put in place new synchronization on the device android. I hope that this will allow him to synchronize successfully
    (5) on your other devices start from a new firefox profile and connect them to synchronize one at a time

    If it still does not work, this may mean that one of the bookmarks on your android device is "unsyncable" in some may, and we will have to try to track down and remove it by hand.

  • iMac stops accepting orders

    I am running 10.11.4 on 27 "late 2009 with an i7 2.8 GHz, 8 GB 1067 MHz DDR3 & a Radeon HD 4850 512 MB. Whenever the computer has worked for a number of hours when he suddenly stops accepting entering the bluetooth mouse, keyboard & magic pad. Can move pointer/cursor but that's all. I can't even power switch down. Only solution is to cut power, restore and power again. After that, everything seems normal. Ideas?

    Restart your computer, hold down the option/alt - P - R keys command before the gray screen appears. Continue until you hear the startup chime for the second time.

    Reset the NVRAM EXTRA memory

Maybe you are looking for

  • downloaded v.21, but do not get new user interface

    I downloaded the latest version several times. I want the new UI, but my browser will not convert to the new user interface. I don't know if there is an option somewhere is going to fix this problem, or what is happening. Any help would be appreciate

  • Services do not run in win2k3r2?

    In my server, I installed Win server2k3 r2 Standard with sp1. my server is running for 3 years with any problem, but last 3 days in theaters do face has a few problems in services, i.e. computer browser service does not work and service of network co

  • How to delete the corrupted registry key

    I try to install the Excel 2010 beta, but it says Office 2003 is damaged and must be repaired or removed and will not be installed (I have several versions of Excel is installed, including 2003). So I tried to run a repair of Office 2003 from the Off

  • Install Microsoft SQL Server 2005 Express edition service pack 4 (KB2463332) fails with the 0xD59 error code

    Computer tried to install the automatic update for SQL Server 2005 pack 4 (KB2463332) fails with the 0xD59 error code

  • CC publication error

    Hi, my lightrrom CC work fine on a PC until yesterday when I get the message "an internal error has occurred. There is something wrong in CryptUnprotectData". No matter who else seen elsewhere? should I reinstall lightroom?Mark