Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8788283
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T22:06:54+00:00 2026-06-13T22:06:54+00:00

I wrote a quite big script for Photoshop CS5.1 on my 64bit Vista machine.

  • 0

I wrote a quite big script for Photoshop CS5.1 on my 64bit Vista machine. Now when I run the very same script on my new 64bit Windows 7 machine, Adobe ExtendScript Tool complains about activeDocument (no such element) in this simple script:

#target photoshop
var pDoc = app.activeDocument;
alert("Done!");

I have tried both and without #target and choosing the target in the ExtendedScript Tool.
Is there something I have missed, or do I need to install something more. I only installed the 64bit version of Photoshop. Is it so that the 32bit Photoshop has the script extensions?

I don’t see why I need to install both 32bit and 64bit versions if I’m only going to use the 64bit version.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T22:06:55+00:00Added an answer on June 13, 2026 at 10:06 pm

    SOLVED
    The mystery is solved. It is embarrassing simple if you interpret the error message more careful. Of course I can’t get an activeDocument if there are no documents in Photoshop, duh!?!
    I interpreted it as the statement activeDocument wasn’t recognised, but of course if I have no document there is no such element (as a photoshop document) to give me. I’m used to C++ and would expect the reuslt to be a NULL value or similar if there is a problem to get the document… excuses, excuses 😉

    Well, if someone else should get into the same problem, here is the answer on my expense 😀
    I will uninstall the 32bit version now…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm quite new to ZF, and right now, i try to write a tiny
There is a quite big LOB silverlight application and we wrote a lot of
I wrote Python script that processes big number of large text files and may
I've got a function I wrote quite some time ago that works fine, but
I once wrote a Tetris AI that played Tetris quite well. The algorithm I
I noticed people wrote about this circular reference problem quite a bit before but
I'm fairly new to SQL, but trying to write quite a complicated query, but
I'm quite new to PL/SQL, and am using Oracle SQL Developer to write a
I have a quite simple perl script, that in one function does the following:
I'm working on my first Ruby on Rails aplication and it's quite big (at

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.