Article View: adobe.photoshop.scripting
Article #1857Why is the active document not the frontmost document?
From: invisiblerabbit
Date: Sun, 18 Jul 2004 15:50
Date: Sun, 18 Jul 2004 15:50
9 lines
1202 bytes
1202 bytes
The code reads:
app.activedocument=documents["filmstrip.psd"];
alert (app.activedocument)
app.activedocument.selection.selectAll();
the alert shows [Document filmstrip.psd]
except then the third line runs an error which says that the selectAll action must be run on the frontmost document? As far as I can understand, shouldn't the frontmost document be the active document? This is very confusing. Thanks in advance for your help.
Technical Details
Message-ID:
<3bb51629.-1@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news-out.ntli.net!newsrout1.ntli.net!news-in.ntli.net!ntli.net!newsfeed01.sul.t-online.de!t-online.de!webxShow Full Headers
Complete Article Headers
X-Google-Thread: f5839,f58ff32cfbb624a,start X-Google-Attributes: gidf5839,public X-Google-Language: ENGLISH,ASCII-7-bit From: invisiblerabbit@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news-out.ntli.net!newsrout1.ntli.net!news-in.ntli.net!ntli.net!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.photoshop.scripting Subject: Why is the active document not the frontmost document? Message-ID: <3bb51629.-1@webx.la2eafNXanI> Date: Sun, 18 Jul 2004 08:50:34 -0700 Lines: 12 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit