About Me

Nick Hodge is a professional geek and digital diplomat for Microsoft in Australia. More info lives underneath the About Box...

Mr Nick Hodge
Nick Hodge 
(to learn how to correctly integrate microformats, how to this blog and book will help out)

Messenger me


How to add Live Messenger on your site

Blog Flair

View Nick Hodge's profile on LinkedIn
Top 100 Australian Blogs
Technology Blogs - BlogCatalog Blog Directory

Blogroll

« 14 emails in InBox | Main | SOAP »

Moonshine: Distilling PDF into JPEG using Scripting NOW in VB for Windows!

By Nick Hodge | May 16, 2002

Distilling PDF into JPEG Photoshop 7.0's scripting on Windows

Problem from a customer: they want to take a directory of PDFs and make mini JPEGs that are previews of the spreads.

So, out with the newest Adobe application on the block: Photoshop 7.0. Photoshop 7.0 has a major new addition: Scriptability. Using AppleScript on MacOS, VB (COM) scripting on Windows and Javascript on both platforms, you can write scripts that interact with Photoshop and other applications. For scripters, this is the holy grail. From my first days at Adobe, one of the gurus of AppleScripting Shane Stanley, hounded me about Photoshop scriptability. In Photoshop 7.0, we've finally delivered.

[1172] moonshine windows ui

This version is an application written in Visual Basic. Using the Scripting Object (FileSystem object) and some UI classes to do the "watching" and directory selection, we look in a directory you nominate and place the resulting PDF and JPEGs into the destination directory.

You will need the Scripting plugin for Photoshop 7.0 Windows: Photoshop 7.0 Scripting Plugin 1.0.2a (Win)

And my compiled script, and source which are here:    Moonshine for Windows (ZIP)

Possibly Related Posts:


Share the love:
  • Digg
  • Reddit
  • del.icio.us
  • Technorati
  • StumbleUpon
  • Bumpzee
  • Facebook
  • Live
  • NewsVine
  • TwitThis

Topics: mungenet |

Comments