Image Capture/Photoshop CS script needed

Hi All,

I would love to get a script that would run from within Image Capture. This script would open the just downloaded folder of pictures in Photoshop CS’s Browser.

-Thanks

I’ve just written my first simple folder action in applescript… :slight_smile:

You just set your capture program to put the captured photo in the folder that you attach the folder action to … And it opens the newly captured photo in photoshop cs…

Script:

property dialog_timeout : 30 – set the amount of time before dialogs auto-answer.

on adding folder items to this_folder after receiving added_items
try
tell application “Finder”
–get the name of the folder
set the folder_name to the name of this_folder
end tell

	-- find out how many new items have been placed in the folder
	set the item_count to the number of items in the added_items
	
	--open the new file in Photoshop CS
	
	if the item_count is greater than 0 then
		try
			tell application "Adobe Photoshop CS"
				activate
				-- open new file in Photoshop			
				open added_items
			end tell
		end try
	end if
end try

end adding folder items to

End of script

Is that of any help to you?
:?: