Ask a Question related to Adobe Photoshop 7, CS, CS2 & CS3, Design and Development.
-
Bernard #1
COM Automation anyone?
Is anyone using the new COM Automation API in Photoshop 7?
The documentation in the downloadable SDK is lamentable and
almost totally useless. What I know I could only guess from a
handfull of old posts and by directly looking at the typelibs.
It seems like PS 4 and up supported a bare bone Automation whose
only goal was to start PS, open a document and then call Actions
on it. All real work was done from within those Actions.
PS 7 ships with a new Automation API that is differentiated from
the old one by using "Photoshop.Application.7" instead of
"Photoshop.Application" when creating the Application object.
However, it seems as if the returned objects are still the
older ones. Here's a sample.
(Javascript)
var ps = new ActiveXObject("Photoshop.Application.7");
var doc = ps.open("d:\\somefile\\oldman.jpg");
WScript.Echo("output=" + doc.Title); // Works. Old Automation API
WScript.Echo("output=" + doc.FullName);// Fails. New Automation API
Is anything wrong with this and has anobody got WSH scripts
working with the new API?
Thanks.
Bernard Guest
-
Acroform OLE Automation
Hi All, Can any one help me how to start automation on Acrobat forms i.e Acroform OLE Automation methods using IAC? Thanks in advance, -
OLE Automation
I'm having difficulty finding Visual Basic code examples to write to pdf files. Can someone point me to some sample code? Thanks. -
Web automation
Hello, I want to fill out and submit Html form (not manually) using Perl or other scripting language if necessary. Html form is composed of... -
Win 32 Ole, Word Automation
Hi Im having problems putting pictures into my word document. I can get pictures in but they all appear ontop of each other as oppose to where... -
Automation Error
try this: =DSum("QuotesTotal", "Employees") + 1 -- Ken Snell <MS ACCESS MVP> "AIS_DBA" <tdandeneau@aisequip.com> wrote in message...



Reply With Quote

