Applescript Hot folder


hi,
i'll set "incoming hot folder" tiff files copied it.

after files have been processed photoshop, i'd files in "incoming hot folder" deleted. processed files saved in "outgoing hot folder".

i'll use apple script , connect "folder actions" in os.

my question:
how solve delete stage in process? when files processed, want them go away!

thanks!!!
 

well, move them instead of deleting.

think you're going need show code have far before can give more specific help.

r.

----------

...for example, following code demonstrates moving files 1 one 1 folder another:

code:
set theincomingfilesfolder choose folder prompt "please choose incoming files folder"  set thecompletedfilesfolder choose folder prompt "please choose completed files folder"    tell application "finder"  	  	set thefilelist every file of theincomingfilesfolder  	  	  	repeat thefile in thefilelist  	--do thefile here  		move thefile thecompletedfilesfolder  	end repeat  	  end tell
 


Forums Macs Mac Programming


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

Comments

Popular posts from this blog

Snow Angels: Men Dig Out Moose Buried By Avalanche

Error installing Key Agent drivers in Windows 7

IOH Heatsink & CPU B Core 0 Relative to ProcHot