Sign in to follow this  
Followers 0
rafree

automating a change format script

6 posts in this topic

hi,

I'm trying to write a script which opens a picture file in raw (NEF) format in photoshop, and save it automaticlly into JPEG.

The problem is, is since I open a "raw open dialog" every image has a different window name (it changes according to the name of the file, or the camera model) and i do not know how to capture it.

actually, I only need autoit to recognize that this window had opened and press on the ok button, the rest i can do easily with C# (which i already have, and opens the dialog for me, and knows how to save the image after the ok button was pressed).

can anyone help me please?

I've been sitting on this problem for a real long time now, and can't seem to get the principle of how to write this short script.

Ray

Share this post


Link to post
Share on other sites



Why use AutoIt for this task?

Window => check Actions => create new set => create new Action => record the process

File => Automate => Batch => select recorded Action

Share this post


Link to post
Share on other sites

I did not it was possible!

thank you!

for some reason it saves all the files with the same filename, how can i change it?

Share this post


Link to post
Share on other sites

I don't know. Did you point the dialogue "File Naming" to the right output dir? Otherwise... now it's more a question for a PS help forum :)...

Share this post


Link to post
Share on other sites

you're right

Thank you very much!

it was a huge help

Ray

Share this post


Link to post
Share on other sites

This job is probably better suited for ImageMagick. Here is a list of supported image formats:

http://www.imagemagick.org/script/formats.php

If you search the forum here you will see a bunch of usage examples.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0