Duplicate method (CS2 and CS3)

Hi,
I asked a question about duplicating images from one document to another that didn't exist on the local drive anymore.
I tried someones suggestion to duplicate the box containing the image, to the other document, then setting the new box's properties to match the target box and deleting the target box.
That method works great with CS3 but the same code does not work with CS2 - just wanted to post my method to see if anyone could see why....
(Before running this l've opened two documents with a rectangle labeled 'pic1' on both - l've only placed an image in doc 1's box)
property myDocuments : {}
set boxName to "pic1"
tell application "Adobe InDesign CS3"
-- tell application "Adobe InDesign CS2"
      -- Source
      tell active document
            set MyRectangles to page item boxName
            set MyRectangle to item 1 of MyRectangles
            set thePage to parent of MyRectangle
            set thePageNumber to name of thePage
      end tell
      if (count documents) = 0 then
            display dialog "Please, open a document" buttons "OK" default button 1 with icon caution
      else
            repeat with d from 1 to count documents
                  set MyDocument to document d
                  set end of myDocuments to MyDocument
            end repeat
      end if
      set docCount to the number of items in myDocuments
      repeat with x from 2 to docCount
            set proceed to true
            set myPasteDocument to (item x of myDocuments)
            tell myPasteDocument
                  -- Target
                  set MyTargetRectangles to page item boxName
                  set MyTargetRectangle to item 1 of MyTargetRectangles
                  set theTargetPage to parent of MyTargetRectangle
                  set theTargetPageNumber to name of theTargetPage
                  set {y, x, l, h} to geometric bounds of MyTargetRectangle
                  -- LINE ONLY WORKS IN CS3 not CS2
                  set MyTargetRectangleCopy to duplicate MyRectangle to page theTargetPageNumber
                  -- DELETES FROM DOC2- CS3 and CS2 - OK
                  delete MyTargetRectangle
                  -- MOVE AND SET MOVES DUPLICATE ITEM on DOC1 - SHOULD BE ON DOC2
                  -- LINE ONLY WORKS IN CS3 not CS2
                  move MyTargetRectangleCopy to {x, y}
                  set geometric bounds of MyTargetRectangleCopy to {y, x, l, h}
            end tell
      end repeat
end tell
Regards, Gary.

The most important droplet's action is still in CS2.
For some reason CS3 reads the droplet but CS5 does not.
xtools seems like it is exactly what I need. However, I get a little lost right at the beginning of the installation instructions "Unbundle the zip file and use it as is"
I found "DropletDecompiler.jsx" but I do not know what to do with it.

Similar Messages

  • Cs2 and cs3 and cs4 on the same pc xp? could be a mess up?

    Hi
    i have some questions
    i bought cs2 some time ago , i guess 4 years but now i don't remember
    and i did installed on my pc ,  never had a problem
    after when cs3 come out , i tried the trial version , the first time i did  not like it , but after 2 weeks , i liked and i need it for camera raw
    i upgraded my cs2 license
    well the point i donwnload the trial version of cs4  (english version , because most of the tutorials are in english) while cs2 and cs3 are in my language
    i tried to make a custom install (i did not install all the comonent)
    something went wrong ,when i tried to uninstall cs4 , i don't know but cs4 did not uninstall all the components (the uninstaller keeps adobe color Na, Ja, Eu, color common setting and cmaps)
    i downloaded the cs4 cleaner for adobe page , but the adobe cleaner for cs4 was not able to clean these components, it tried to clean cs3
    well i  had to use windows installer clean up manually
    delete every thing that is related to cs4
    uninstall cs3 and re-install it
    so after this mess, i ask if i can keep cs2 cs3 and cs4 (i think i will buy or upgrade) in the same pc running xp?
    my second question
    2) after updating cs4 , run the cs4 update utility and update all the cs4 components , cs4 seems to be more fast then cs3 , still on old pc with a powerfull machine like a p4 3.6 with 2gb of ram  and a good graphic card pci express
    is my feeling ? is the cs4 more fast then cs3 on not fast pc , isn't it?
    thanks too much
    and have a nice day

    thanks John Joslin
    CS4 is faster than CS3 on a computer which supports it.
    which are the computer that supports it ? i run xp
    why did the uninstaller do a mess up ?
    thanks

  • Images print too dark from Photoshop CS2 and CS3

    Having used both CS2 and CS3 I now realise that the prints that I work on in either appear much brighter on the screen that they do when printed, as much as 3 stops darker when printed. I have also noticed that in other programs such as Google Picasa that I use as a viewing tool the images appear closer to the images from the printer. I have used various pro-labs that require their profiles to be used and my own epson 3800 printer at home and despite trying lots of different settings I am unable to get prints that look like they do on the screen they are always darker.
    I am using windows XP on a dual core 2.4 PC with 2 Gb ram and an ATI Radeon X1600 series grafix card which I have just updated the driver on. The monitor is an LCD type and is calibrated weekly using a spyder 2 express.

    First isolate whether your display is too bright or your printer is too
    dark. I'd start by printing images from another source and see if they
    look as they should. www.drycreekphoto.com has a number of calibration
    images that should do for this purpose.
    Once you've isolated the problem, we can take it from there.

  • [JS] Need Help Removing File extension (in CS2 and CS3)

    Hello All.
    I have a menu in a dialog that needs to list some file names, but without their file extensions (which will always be .txt in my case). The following is some code that successfully does this in CS3, but I also need it to work in CS2. Do you have any other ways to do this? One code that works in both versions (CS2 and CS3) is ideal.
    myNameWithoutExtensionFunction = function( myNameWithExtention ) {
    myNameWithoutExtension = myNameWithExtention
    myEndOfFileName = myNameWithoutExtension.lastIndexOf( "." )   // get the last period (.) in the filename
    if ( myEndOfFileName > -1 ) {
      myNameWithoutExtension = myNameWithoutExtension.substr( 0, myEndOfFileName )
    return myNameWithoutExtension
    Thanks in advance.
    Dan

    I realized my mistake. The above code works just fine in CS2. My mistake was elsewhere. The name I was sending to this function wasn't being recognized by CS2. Once I corrected that and sent a valid name to this function it worked. So in case someone needs to remove file extensions, feel free to use the above function!

  • IPaletteMgrService in CS2 and CS3...

    I try to use IPaletteMgrService in both CS2 and CS3 on the Mac (10.4.x, PPC only or Universal) and I am going no where... as always, I can get it to compile but the call back is not happening.<br /><br />In the class descriptoion table, I have:<br /><br />Class {<br />    kBscPnlPaletteMgrServiceBoss, <br />    kInvalidClass,<br />    {<br />        IID_IPALETTEMGRSERVICE, kBscPnlPaletteMgrServiceImpl, <br />    }<br />}<br /><br />and implementation as:<br /><br />class BscPnlPaletteMgrService : public CPMUnknown<IPaletteMgrService> {<br />public:<br />    BscPnlPaletteMgrService(IPMUnknown *inBoss);<br />    virtual ~BscPnlPaletteMgrService() {}<br /><br />    virtual void PaletteMgrStarted();<br />          <br />    virtual void PaletteMgrAboutToShutdown() {<br />        SysBeep(33);<br />    }<br />};<br /><br />void BscPnlPaletteMgrService::PaletteMgrStarted()<br />{<br />    SysBeep(33);<br />    CFShow(CFSTR("it's a wonderful world"));<br />}<br /><br />CREATE_PMINTERFACE and REGISTER_PMINTERFACE are provided.<br /><br />Btw, the callback functions' parameters are different in CS2 vs. CS3.  This is the CS3 version.  <br /><br />Any help would be appreciated.<br /><br />pete

    I realized my mistake. The above code works just fine in CS2. My mistake was elsewhere. The name I was sending to this function wasn't being recognized by CS2. Once I corrected that and sent a valid name to this function it worked. So in case someone needs to remove file extensions, feel free to use the above function!

  • CS2 and CS3 HATE more than 4-5 font styles......

    Running Mac OSX 10.4.11 with dual 2 GHz Power PC G5, 1 GB Ram.
    Both CS2 and CS3 start acting R E A L SSSSLLOOOWW when I'm using more than 4-5 font styles on a page, like when creating a new logo, and typing the same name in different font styles.... At that point every action takes a while, and I find myself waiting for the computer to react, while I can hear the hard drive crunching...
    This happens ONLY when I have several font styles opened.... Once I outline them all, the speed is back to normal....
    As my primary Scratch Disk I have my hard drive, which has more than 70 GB available free disk. Secondary Scratch Disk is set for NONE.
    What gives?????

    The problem more then likely is 1 GB of RAM running on 10.4.11 which needs almost that amount to run by itself.
    The problem with the 150 GB drive is not so much that it is small by todays standards it is probably an older hard drive and therefore probably has a 8MB buffer making itwell slow at transferring files such as to a scratch disk which is also part of the problem as it is also probably the scratch disk and now you have these two things going against you and slowing the whole thing down each time you do anything that caches.
    Like loading a applying styles to fonts.
    I would suggest more then 4 GB of RAM and another hard drive partitioned so one partition can be used as a dedicated scratch.
    Also you might look, to see if I am correct, by means of the About this mac under the Apple menu and look at the hard drives buffer if 8MB then you might want to replace it
    with a hard drive that is much larger and has a 32 MB buffer.
    Just some things to consider you are a bit behind the times.

  • LR1 undoes CS2 and CS3 Raw Changes

    I imported a full wedding of already adjusted CR2 files into LR1. On random images it undoes my RAW adjustments (from CS2 and CS3) and sets them back to default. It still does show the little icon that says something was changed but when opened the settings are default...

    thanks John Joslin
    CS4 is faster than CS3 on a computer which supports it.
    which are the computer that supports it ? i run xp
    why did the uninstaller do a mess up ?
    thanks

  • Bigger Tiles Plugin CS2 and CS3 on XP

    How come the files is not located in the extensions folder in either versions.
    Isn't it supposed to be located here?:
    Program Files\Adobe\Adobe Photoshop CS3\Plug-Ins\\Extensions\Bigger Tiles folder
    I am on XP with both CS2 and CS3 installed. I can't find any info on this....been searching forever.

    thien: I believe it is on the CD in the goodies folder.

  • Will CS2 and CS3 install on a Windows 8 machine?

    I use a combination of CS2 and CS3 software and will need to get a new machine soon. I see below that someone got DW MX2004 to install on a Windows 7 machine. Is it possible that CS2 and CS3 will install on a Windows 8 machine?

    Hi Paevo,
    Try installing in the compatibility mode.
    Thanks,
    Preran

  • Can I delete CS2 and CS3 files?

    I have installed CS5 all OK. Can I dlete CS2 and CS3 files to save space? Laptop is much smaller than tower!

    I believe with files you mean application cs2 and cs3 , If that is right then you can uninstall the CS3 and CS2 without and problem.

  • File format differences between Illustrator CS2 and CS3

    Does anyone know the difference between the file format of Adobe Illustrator CS2 and CS3? Is there a document that documents this? Can someone send a link? The reason I am asking is that I have written a plug-in which saves the current CS3 document back down to CS2 so that users who are still using Adobe Illustrator CS2 can open it. However, if the same document is opened by a CS3 user, what objects, constructs or data structures are likely to be lost because the file has be converted down to CS2? Most things seem to be retained and I have yet to find a problem but if yo save manually from CS3 to CS2, Illustrator puts up a warning stating "Saving to a legacy format may cause some changes to your text layout and disable some editing features when the document is read back in". Does anyone have any more detail on this?
    Thank you

    There are new features in CS 3 as opposed t CS 2 and the text engine has been improved some what in CS 3. If you have text on a path that is say curved you are going to see a loss in the spacing and way it is oriented. fixed in CS 4.
    I forget some of the new features in CS 3 what was not a feature in CS 2 will be flattened when saved back.
    Or the feature will simply not be available.

  • Fle format difference between Illustrator CS2 and CS3

    Does anyone know the difference between the file format of Adobe Illustrator CS2 and CS3? Is there a document that documents this? Can someone send a link? The reason I am asking is that I have written a plug-in which saves the current CS3 document back down to CS2 so that users who are still using Adobe Illustrator CS2 can open it. However, if the same document is opened by a CS3 user, what objects, constructs or data structures are likely to be lost because the file has be converted down to CS2? Most things seem to be retained and I have yet to find a problem but if yo save manually from CS3 to CS2, Illustrator puts up a warning stating "Saving to a legacy format may cause some changes to your text layout and disable some editing features when the document is read back in". Does anyone have any more detail on this?
    Thank you

    The AI File Format is not publically documented, as far as I know. I'm sure there are plenty of differences between CS2 & CS3's file formats, but you're not likely to find anything official on the subject.
    What you lose saving back you're more likely to get help on, assuming someone's actually investigated this. I haven't, unfortunately. I wouldn't mind knowing either if someone has information on this.

  • Problems opening and saving PNG over network with CS2 and CS3

    using os10.4.11
    photoshop CS2 or CS3
    I've recently tried to save images in PNG format,  small (no more than a couple hundred kilobytes) and found that whenever I tried to save to the server it would hang photoshop and require a force-quit. Saving the same file to the desktop works fine. Copying said file to the network and then trying to open that PNG from the server results in a photoshop hang, while opening that same file from the desktop works fine. I know all about the fact that Adobe doesn't support working over a server, but that's never been an issue at my workplace in all the years I've worked with (never had problems saving/opening any format, no corrupted files ever). If I try to open that same PNG from the server with CS2, same result. If I try to open it over the server using Photoshop CS, or version 7, however, it opens just fine. If I copy the Photoshop CS version of the PNG plugin and replace the PNG plugin installed with CS3 by default, then it seems to work and I can now open and save PNGs anywhere with no problems. Has anyone else had this problem? I can see that the file size of the PNG plugin has changed version to version, so something about it has changed. It seems as though there is something defective about the ones installed with CS2/3, and just copying the CS version into my CS3 folder clears up the problem.
    Also, the problem is not limited to my computer. Other macs that try to open PNG files from the server using CS3 or 2 also hang.

    Yes, we're a prepress company moving around probably a few dozen gb of data per day, saving PSD, TIFF, EPS, JPEG, all kinds of formats. It's the first time I've had a client requesting PNG files, and so the issue has come to light. This is the first time I've ever seen any kind of issue opening/saving across our network in 8 years. (the only time I've ever seen a corrupt file was a 1.6gb image that didn't copy correctly, and that wasn't a photoshop-related corruption, but an OS drag/copy of the file)
    I'm not sure if I'll be able to find someone with OS 10.5 or some other version to see if they cause problems. If anyone else reading this who works over a network can test a PNG open/save over their network and list their OS and Photoshop version it may help. I'm going to see if I can find some other computers to try it out on in the meantime and mention it to IT.

  • Edit for CS2 and CS3

    Am making my transition from CS2 to CS3 and after installing and activating
    CS3, it now shows that program as an option for editing a picture, but it
    removed CS2. Is there a way for me to put back in CS2 as well? While I will
    eventually be doing all my edits in CS3, for the time being, I feel more
    comfortable having both available from the right-click menu in LR 1.1.
    Thanks much.

    Go to Lightroom - Preferences and click on the "External Editing" tab. In the lower half of the form you can set another app as an "additional external editor" - it then comes up as a choice when you right click in LR.
    Damian

  • Did Illustrator change how EPS files are dealt with between CS2 and CS3?

    Here's an odd question for you. I have an EPS file that opens fine when I use Illustrator CS2. However, when I try to open the same file in Illustrator CS3, 4, and 5, the colors come in wrong. I don't mean color slightly off wrong, The colors are changed to something completely unrelated and scrambled. To make things more confusing, everytime the view changes, the color and  patterns change as well. This makes me think that it is something with  how Illustrator is interpreting the EPS file. If I try to open the file  in Photoshop or Distiller, the file comes out looking normal. Any  suggestions? Thanks for your input!
    ~Mike

    I do Graphics/Production work for an archaeological firm. Before I started working here, they decided that of the different export options from our GIS department, EPS was the format that gave us the least problems and the highest quality. This was decided when we were using Illustrator 10. Now we're making the shift from CS2 and 3 to CS5 (getting our department on the same version), we are running into this problem with the EPS files and I am trying to find a solution to make all of our lives easier. One of the other options that we are kicking around is ditching the EPS file format all together and shifting to using a high quality PDF instead. Could this cause any loss of quality?

Maybe you are looking for

  • Missing finder feature in Tiger

    Hello, In previous OS versions When viewing audio files in column view or using "Get Info" In 10.2 Jaguar or 10.3 Panther. the file info showed the Duration of your audio file. This is helpful to me when putting asset catalogs together for various pr

  • Intercompany billing customer

    Hi All, In Intercompany billing,we will create a customer under both the company codes to whom we are delivering the goods.Is it also necessary to create one more customer under ordering party to create intercompany billing...Kindly suggest... Rgds,

  • Why are transparent Keynote objects visible in playback?

    I often want an object to rotate around one end rather than about the center. My workaround is to duplicate the object in question, flip it around both axes and attach it to the end of the object that I want to be the axis of rotation. At this point,

  • Music controls semi-unresponsive

    hey all, i have seen at least one thread on here about the dock icons being unresponsive but i found a new 'bug' yesterday. When the ipod is in landscape mode (say when you are on the internet) and i double tap the home button to pull up the music co

  • How can i edit the text in a fillable pdf form?

    I ve a fillable pdf form that needs to be updated - minor change such as 2011 into 2012. I've tried to type in the new text in but I could not manage to change it. any idea on how to do it? sorry but i'm not familiar with the abobe x pro at all. Than