Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / productivity / Office

Adobe Photoshop CS4 and VBScript programming reference viewing

0.00/5 (No votes)
5 Jun 2011CPOL1 min read 13.2K  
Ever try to use the Adobe .pdf references for scripting and VBScript? This is a reference viewing tweak.
Never mind the fact that viewing a .pdf when the background color of the page is white and the only way to reverse the default colors is to manually edit the document using Acrobat Pro. Using Adobe's reference manuals is practically impossible because of the way the index is formatted. Then there's the lack of patent linking that puts hierarchies at the mouse-click access level. Downloading a .html of it does make the matter better. But ...

Here's the best way to make the Adobe app's classes and members easy to see and browse at will:

You guessed it, open up any Microsoft Office app that has the Visual Basic Editor (Excel, Access, and Word, to name three), make the Object Browser visible, in the "Project/Library" textbox, make <all libraries=""> focal, right-click for "References", and bring up the "References - VBAProject" dialog. There, check mark available references ... scroll to any Adobe app for which the set of classes and methods revealed would make your job easier, say "Adobe Photoshop CS4 Object Library", then click "OK", and the added classes will now show up in the panel list. To isolate the new addition, just go back to the original dropdown and pick "Photoshop", and there they are.

I find this open assortment with its built-in hierarchy viewed through the eyes of a Microsoft application makes perusal of objects while writing VBScript a snap.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)