Jump to content

sebastianf

Member
  • Posts

    4
  • Joined

  • Last visited

Posts posted by sebastianf

  1. Hi,

     

    I want to create a workflow to resize my selected Images.

    first I created a File Action and the a Run NSAppleScript with the following text

     

     

    on open (_files)
        tell application "Image Events" to launch
        
        repeat with _file in _files
            try
                tell application "Image Events"
                    set _image to open _file
                    
                    scale _image by factor 0.5
                    save _image in _file
                    close _image
                end tell
            end try
        end repeat
    end open
     
    It dow not work :(
     
    Can somebody help me please?
×
×
  • Create New...