ExtendScript for CS3 and CS2

I recently created a CS3 script but also need to make a CS2 version for some of the PC's that have not moved over to CS3. I currently have both CS2 and CS3 installed on my PC for this reason.
The issue I'm have is that ExtendScript for CS2 does not seem to work properly.
For example in CS3 to add a layer I did:
try{
myDocument.layers.item("Slug").name;
catch (myError){
myDocument.layers.add({name:"Slug"});
to achieve the same in CS2 I did:
var mysluglayer, myactlayer;
mysluglayer = app.activeDocument.layers.item("Slug");
try{
mysluglay = mysluglayer.name;
catch(myError){
mysluglayer = app.activeDocument.layers.add({name:"Slug"});
Now when I run it in ExtendScript I get and error on:
mysluglay = mysluglayer.name; ---> Object is invalid.
If I run the script from ID CS2 the script works.
Is this because I have 2 versions of ExtendScript on my PC?
The other issue is I'm trying to set Layer 1 as the active layer after by:
myactlayer = app.activeDocument.layers.activeLayer('Layer 1');
try{
myactlay = myactlayer.name
catch (myError){
myactlayer = app.activeDocument.layers.item('Layer 1');
The error I get is app.activeDocument.layers.activeLayer is not a function
Is this option available in CS2 or is it only available in CS3?

LayoutWindow is an object class. To access a member of the class, you need to address the property of the parent object. So:
app.documents[0].layoutWindows[0].activeLayer = "Layer 1"
is what you need.
Except that that doesn't work! This looks like a documentation problem. If you run that you get an error message to the effect that it was expecting a layer object or a string. But actually, it doesn't take a string, because (I think) layer objects are properties of the document, not the window. So, instead, you must use:
myLayer = app.documents[0].layers.item("Layer 1");
app.documents[0].layoutWindows[0].activeLayer = myLayer;
Dave

Similar Messages

  • CS3 and CS2

    I was searching forum and read that it may be an issue with installing CS3 and CS2 on the same computer. Can someone confirm this for me as true.
    Thanks,
    Tim

    Never had any problem at all, although (disclaimingly yours) YMMV.
    I should mention that my experiences are based on chronologically installing CS, CS2, and CS3,
    i in that order.
    (It might be important -- perhaps someone with lots of free time can experiment with different install orders.)
    As the file extension for all three versions is the same (".indd"), Windows cannot link files made with different versions to their original creators, and using the Explorer, the latest installed version will lways open. However, each separate program can be started manually, and can open its own documents and older ones w/o any problem at all.

  • End of Upgrade Cycle for CS3 and CS4... Really Adobe?

    As if business wasn't bad enough now I see there will be no upgrade paths past december for CS3 and 4 users. Is this how Adobe plans to keep users away from stopping their upgrades and reducing the number of machines they run Adobe products on? I understand Adobe is not a non-profit and has has to turn a revenue, but the geniuses at Marketing here have made a huge mistake by basically telling their customers that what they have so far will be worth zilch in comes 2013. That arbitrary deadline, is not consider some people who on the east coast are now cash strapped as anyone having to choose between home repairs and other such marvelous stuff and upgrading to CS6 guess what they'll choose. And for the lucky ones not heavily affected by the storms, they will donate to help their community before they will spend money to upgrade perfectly good software.
    It wasn't enough that the upgrade path wasn't much of a discount, but in the current economy every penny counts! The choice of stopping support for CS3 and CS4 in my personal opinion an ill-advised move. I personally went from 3 to 4 within a short amount of time... then when 5 came out my budget didn't allow so I needed to wait. The new CS6 isn't direly needed so I decided I'd have to loose some additional "upgrade power" because money need to be directed elsewhere now... but the news that I'd loose all the upgrade power and would have kept on upgrading for nothing it's just ridiculous... and if that's the treatment a customer will have to expect from now on I think I'll use what I have and move to alternatives stopping to personally support Adobe products an rely on licensed copies at work instead. Perhaps Adobe hasn't notices we aren't exactly doing that great in US between the current economical situation, the various setbacks experienced across the country and for the fact that in this particular business most work is often being outsourced out of US these days... I am sure you will have a huge market on the countries where the outsourced work is being sent... as far as I am concerned comes 12/31/2013 I will no longer be an Adobe customer as Adobe is forcing me out of the upgrade cycle and I won't plan to re-enter anytime soon in the coming future... lesson learnt.
    Thank you for your time (if any of the marketing gurus will have cared to read this far without laughing and discounting with a "screw those old customers, they should've upgraded earlier" which was basically the content of the email I got this week... pasted below)
    Cheers,
    tfbkny
    Content of email received from Adobe saying last chance to upgrade now or what you got will be worthless in less than a couple months.
    Dear Creative Suite customer:
    We want to make sure you're aware of an important change to Adobe's upgrade policy that may affect you.
    Beginning January 1, 2013, only Creative Suite customers with licenses for CS5 or CS5.5 versions will qualify for upgrade pricing to CS6.
    Due to this change, we will only continue offering CS3 and CS4 customers like you special upgrade pricing through December 31, 2012.*
    * Owners of CS3 and CS4 individual products and suite editions will be eligible to receive upgrade pricing to CS6 until December 31, 2012. After that date, only customers on CS5 or CS5.5 will qualify for upgrade pricing to CS6.

    Adobe doesn't care, they don't have to. I like Phsotoshop and have been using it professionally for 20 years, but lets face it, I wouldnt mind some really good competition from another source. It didnt use to be the only game in town, and doesnt have to remain so.
    I could brainstorm how I would want competing software to look like. Pshop is not the easiest workflow possible. Illustrator is clearly deficient to even CorelDraw, and certainly Freehand. I've been meaning to reconnect with CorelDraw. It did some cool things.
    Google Chrome is pulling a lot of manoevers software wise and I hope they try to go a little deeper and give Adobe a run for their money on the one program they feel justifies unbelievable gouging. Go investigate Ableton Live if you want to see what a company that cares about its customers is doing, ADOBE. Audition is a JOKE compared to Ableton Live. Thank God we're not powned on the audio side by these suits.
    The idea that a company would peddle buggy software, which CS4 was..., although some of that was Apple's fault, is bad, the upgrade prices were ridiculous, and this is the end of the road for me currently. The idea that a company would actively
    push away customers is pretty incredible. "But I sent you an email!" Whoops, you gotta pay $1900 for production premium CS6! HAHAHAHAHA. Time for a YT video with my old hard copy box. Sounds like a good idea.
    There are too many options on the motion graphics side, and I'll keep a static machine to run Pshop and AE CS4.
    The masters of the universe will have theit way, and the rest must bow to their ambivalent greed. At least that's the way they think. It would seem that Adobe and Apple really, really want some upstarts to come up. Maybe $360 for a year to figure out an exit might work. It will be interesting to see if this hits earnings. VERY interesting.

  • Can't install my  adobe creative suite after i put the serial number. its asking for the serial number for cs3 and i don't have that.... what do i do?

    can't install my  adobe creative suite after i put the serial number. its asking for the serial number for cs3 and i don't have that.... what do i do?

    ANd what exactly? You hav not told us, what you are actually trying to install onto what system and other details....
    Mylenium

  • Can i keep installed cs4 cs3 and cs2 on a pc

    Hi
    I don't know if there are issues about have cs4 , cs3 and cs2 installed in the same pc
    I bought cs2 in italian
    and i have installed cs3 in english to follow the turorial more easily
    thanks

    yes, they're all installed by default in totally seperate folders. just don't mix them up (like copying plugins from one to another).

  • Old discs for CS3 and CS4. Any reason to keep?

    I'm currently running CS6. Recently I came across old discs for CS3 and CS4. Is there any reason to keep these?

    No, if you have to reinstall CS6, the serial numbers are important and if you have not already, register them with Adobe.
    You can then access them under your account anywhere you have an Internet connection.
    If you reinstall CS6 on another computer your CS3 or CS4 numbers are important.
    If for any reason, you need to reinstall CS3 or CS4, Adobe keeps the CS3 - CS6 Trial installers online so you can download them.
    http://helpx.adobe.com/creative-suite/kb/cs3-product-downloads.htm
    Gene

  • I need upgrade for cs3 and light room 1.1

    My canon 5d mark II raw files are unreadable?  Files will not open in cs3 and lightroom 1.1. HELP!

    What Jeff said, but with some additional details:
    We provide backwards compatibility in CS2, CS3 and CS4 for new cameras through our FREE DNG Converter:
    Win: http://www.adobe.com/support/downloads/detail.jsp?ftpID=4924
    Mac: http://www.adobe.com/support/downloads/detail.jsp?ftpID=4923
    There are other benefits to using DNG besides backward compatibility if you haven't explored those:
    The metadata, keywords and raw adjustments are stored in the file - along with a processed preview of the image. This makes the file portable and keeps your metadata safe and secure.
    DNG files are smaller than the original raw file which will save you disk space and time in the long run.
    DNG is an openly specified file format which means the file format isn't going away. So if you use another raw processor that supports DNG, you don't have to worry about compatibility or portability of your metadata.
    The Complete Picture with Julieanne Kost - LR/PS - The Advantages of the DNG File Format (LR/PSCS5) | Adobe TV:
    http://tv.adobe.com/watch/the-complete-picture-with-julieanne-kost/the-advantages-of-the-d ng-file-format/

  • How do I down save an Illustrator 6 file for CS3 and CS4?

    We save illustrator files to a windows network, No problems so far opening between the different versions.  But now we are getting errors like can't open illustration.  The file is locked or in use.  ID = 54.  I have tested the suggestions where you save the file in illustrator and then select the version to downsave to, however this does not work.  Also the downsave is from Creative Cloud 6 to CS3 or CS4. CC6 is installed on an i-Mac 10.9.2, CS3 and 4 installed on Mac 10.5.8.

    Why do you need to "savw" the audio files? Whatever edits you make will replace the old audio file with the new edits. Just do what you need to do to the audio and the corresponding file in your folder will be changed accordingly. If you DO need to save for some reason, When you "save as" simply save as the same name and it will replace the old one.
    Work as you usually do, and then every now and then, go to the audio window and choose "select unused audio" in the edit menu. Then hit the delet button! Anything not being used in the arrangement will be deleted.
    Read about the Project manager. It will delete any unused audio files from the folder you are working in and consolidate all files, samples, etc. It's worth learning.
    Good luck!

  • Trouble installing plugins for CS3 and CS4 onto a 32 bit/64 bit PC.

    I have two new PCs. They are supposed to run both 32 Bit and 64 Bit programs.
    I have CS3 and CS4 32 Bit programs installed on both.
    Many of my old faithful plugins have gone on strike or at least a work stoppage!
    I can get some of them to install correctly, but some arre just not cooperating.
    Is there a workaround for this problem?
    I have considered:
    1. Creating a partition for Window 7 32 bit, but I am not so technically savvy to be confident that I would do it correctly
    2. Buy an older 32 bit machine and install windows 7, but that is getting to the edge of too pricey.
    Any suggestions?
    I really need some of those plugins! I have built a business around them.

    The truth is that you can run Windows 7 and Windows 8, in both 32 and 64-bit versions, without any problem (you have a 64-bit processor). The problem is that Apple only supports a 32-bit Windows 7 version for your Mac. Why? Because Apple wanted to drop the Windows 8 support for the computer you are using.
    You can see in this page all the Macs compatible with 64-bit Windows editions > http://support.apple.com/kb/HT1846 As you can see, your Mac isn't supported, so you can only install a 32-bit Windows 7 version with Boot Camp if you want to run Windows correctly.
    I told you at the beggining that you can install any 32 or 64-bit Windows 7 and Windows 8 versions on your Mac because your iMac meets the requirements for both editions. However, you need the Boot Camp drivers to make Windows run properly, and here's where Apple has dropped a lot of computers, making them unusable if you install a version that Apple clasifies as unsupported. Sad but that's true

  • Instaling upgrade for CS3 and adobe RAW

    Real newbie question here:
    I have CS3 installed on my windows XP computer. It is notinternet capable, have second online computer for that purpose. I only have RAW version 4.0 on my PS3 program purchased several years ago. I have downloaded the upgrade for RAW 4.6 on my internet computer and with a CF card have moved the file over to my other computer where PS3 resides. The file has been unzipped and is on my desktop in that computer at the moment. Now what do I do with the file? Where do I put this upgrade so that it will be put into effect with my PS and adobe RAW program. Obviously I have a very limited knowledge of computers and this is the first time I have ever downloaded any sort of plug in to be put into practise. Any help that someone could give me would be very much appreciated.
    Thanks, in advance
    Mike Hannam

    On the Camera Raw 4.6 downloads page there's a link to Camera Raw 4.6 ReadMe pdf file that provides manual installation instructions.<br /><br />Camera Raw 4.6 page: <br /><www.adobe.com/support/downloads/detail.jsp?ftpID=4040><br /><br />Here's the part you need:<br /><br />Manual installation Windows<br /> <br />1.  Exit Photoshop CS3 and Adobe Bridge. <br />2.  Open My Computer. <br />3.  Double-click Local Disk (C:). <br />4.  Navigate to Program Files\Common Files\Adobe\Plug-Ins\CS3\File Formats. <br />5.  Move the existing Camera Raw.8bi plug-in to another location (for example, a new folder on your desktop). Ensure you keep this version in case you need to revert back. <br />6.  Copy the Camera Raw plug-in, Camera Raw.8bi, from the download into the same folder as Step 4. <br />7.  Launch Photoshop CS3 or Adobe Bridge. <br /><br />There is a separate Camera Raw forum, should you have more questions after installing 4.6.

  • Assign seperate icons for CS3 and CS4

    Hi,
    I have Illustrator 3 and 4 installed on my Mac. After installation the version 3 .ai icon is now set to version 4 icon and when I open a version 3 file it open in version 4. Is it possible to have a version 3 .ai file use a different icon and when its opened it will open in version 3 only.
    Thanks

    I think this has been a problem since the beginning of OS X. I'm not sure of the particulars but whereas OS 9 looked at type/creator codes of the file to know what icon to display and what app to use to open it with, OS X seems to depend on the file extension. This doesn't change between CS versions so you get it trying to open the file with the most recent version of the app... sometimes... Some apps seem to set the info in the files they save, some don't. Some read it, some don't. A far cry from "it just works."
    Now I haven't tested it with CS3 & CS4 but... When I was working between CS2 & CS3, if I had the CS2 app open first, CS2 docs (though showing the CS3 icon) would open in CS2. Give that a try.

  • CS3 and CS2 Project import

    I've read a number of references to problems with former projects importing into CS4. I too thought I had a big problem when I imported a project to CS4 and the workspace was blank. Once I discovered the new feature in the Workspace: "Import Workspace from Project", UNCHECKED it, and selected an existing CS4 workspace - there was no problem.
    So far, all of my projects have imported just fine.

    Thanks for posting this, I'm sure it will help a lot of people.
    Cheers
    Eddie
    PremiereProPedia   (
    RSS feed)
    - Over 300 frequently answered questions
    - Over 250 free tutorials
    - Maintained by editors like
    you
    Forum FAQ

  • Time for some answers,.... CS3 and 24f.

    I've been scouring these forums for days now trying to get an answer to the eternal "CS3 and Canon 24f" issue and it's time to end this once and for all.
    I've used the PP2.0 presets and still have to render when placing footage on the timeline.
    So, for once and for all, does CS3 work with Canon 24f?
    I paid good $ for CS3 and I'm appalled that people are being forced to buy Cineform to edit "supported formats".
    CS3
    Canon XH-A1

    No ETA on the patch - should be released soon, I hope. But it should be a patch, and not CS4 - at least that's what we've been told.
    Scott, not sure if you saw my other post on another thread, but I've been using the 24F preset in CS3 with very few problems. I suppose you really don't have to - you could create custom settings that will do the same thing, but I figured I'd give it a try.

  • Photoshop CS3 (nor CS2) won't launch since CS3 install

    Since installing Adobe Creative Suite 3 Production Premium I can no longer open Photoshop. It repeatedly crashes on the launch window. For the sceptical, my CS3 Production Premium collection was all legitimately authorised and registered.
    Of the other CS3 apps that installed (can't install Encore, Premiere or Soundbooth on PowerPC) they all open and run perfectly fine.
    I uninstalled all CS3 and re-installed CS2. Now Photoshop CS2 won't open either (but everything else is still fine). Exactly the same problem, Photoshop crashes during the launch window.
    What has CS3 changed to my system that prevents Photoshop opening and can I correct the issue? From searches on this subject Someone suggested repairing permissions before and after installing CS3. This had no effect.
    Thank you for any help.
    //-- edit- the crash seems to happen when 'Building TWAIN menu items' --//
    Message was edited by: Frwthr

    You can try trashing and regenerating Photoshop preferences when you launch.
    Hold down command/option/shift while launching Photoshop. You will be asked if you want to get rid of Photoshop settings. Choose yes.
    See if this works; you may have to reset some of your Photoshop preferences afterward. I'm not sure why you can't install the other applications.
    Also, it may have something to do with activation; did you activate your copy of CS3? You should be able to have CS3 and CS2 both running as far as activation is concerned, but are they on the same drive? This might be a problem if one version is trying to read the other's settings during launch.

  • InDesign CS3 and SL - Image Import Issue

    This one is fairly simple and there has been some discussion of it on the Adobe boards, but without any solid solution.
    Issue: If you are in InDesign CS3 and you are using Command+D to replace an existing image, or you are importing a new image, InDesign will freeze up.
    Work Around: Drag and drop the image into the image box directly from Finder.
    Notes: I do not like this solution because it takes up more time, but it has been working for me this weekend. I reloaded InDesign CS3 completely and applied all of the updates, but it did not fix the issue.

    Hi, Curtis,
    Just got SL today - am planning to put it on a MacBook Pro 17" intel that I share for work. We have C3 and had to replace another laptop recently so few $$$$ for upgrading problems until the economy picks up. We use CS3 and CS2 and a standalone InDesign 2 on three computers and so far use the CS3 for the final output. Here is the problem - if we place an image, it stays out of the ID file - our biggest client is fairly image heavy and they LOVE multiple minute revisions, so we don't want to have a bizillion copies of a developing doc with the extra heft of the actual images - esp when they want a lot of fine tuning on the images- by dragging and dropping don't you get an imbedded image? Did you find another solution since you first posted? Thanks

Maybe you are looking for