• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: Watch Folder - Photoshop Action
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Watch Folder - Photoshop Action


  • Subject: RE: Watch Folder - Photoshop Action
  • From: "Goodman, Steve" <email@hidden>
  • Date: Thu, 12 Jul 2001 13:27:02 -0500

>I'm trying to create a script that will "watch" a folder, and perform a
>PhotoShop action on any files placed into the folder, then delete the
>original file. I found the code to run an action, and i can figure out
>deleting, but making it "watch" a folder has got me stumped.

Saving this a stay open app should get you close...just fill in the deletion
and other pieces you need....error checking....yada..yada.

WARNING! - Not Tested
-- ---------------------------------------------------------
-- Preprocessed by Convert Script 1.0d4
-- ---------------------------------------------------------
-- author: Steve Goodman, date: Thursday, July 12, 2001
-- ---------------------------------------------------------
property thePSalias : alias "path:to:your:photoshop" -- set to your photoshop
property hotfolder : alias "your:folder:path" --set to your images folder

on idle
tell application "Finder"
set thelist to every file of folder hotfolder as alias list
end tell

repeat with theOpen in thelist
tell application "Finder"
open theOpen using thePSalias
end tell
tell application "Adobe. Photoshop. 5.0.2" --set to your version of
photoshop
do script "Your action here" -- set to your PS action, be sure
and include the save and close in here
end tell
end repeat
return 600 -- set to the amount of seconds you want to wait before
checking the folder again
end idle
-- ---------------------------------------------------------

>Thanks very much to anyone who can help.

No problem :-)

> Steve Goodman
> Six|12 - THE LTC GROUP
>
> ......."Duct tape is like the force, it has a light side and a dark side
> and
> it holds the universe together."------Unknown


  • Prev by Date: Re: [OSX]path to modem scripts folder
  • Next by Date: Re: Folder Actions
  • Previous by thread: Watch Folder - Photoshop Action
  • Next by thread: An AppleScript Table
  • Index(es):
    • Date
    • Thread