|              Mac
          Os X - Tips e mini-tutorial 
       
      Trasformare immagini in JPG  
      (applescript) 
        
      Lanciate AppleScript e digitate: 
         
        on run  
        display dialog "Per convertire le immagini in formato JPEG devi
        trascinarle su questo script"  
        end run  
        on open draggeditems  
        repeat with currentFile in draggeditems  
        tell application "Image Events"  
        set openedFile to open (currentFile as alias)  
        set fileLocation to the location of openedFile  
        set fileName to the name of openedFile  
        save openedFile as JPEG  
        close openedFile  
        end tell  
        tell application "Finder"  
        set the name of file fileName of fileLocation to (fileName & "->.jpg")  
        end tell  
        end repeat  
      end open  
       
        Salvate questo script come un'applicazione e dategli un nome del tipo:
        ConverteInJpeg.app  
        Ora basta trascinare uno o più file sul "droplet" che
        avete appena creato per vederli trasformati molto rapidamente in JPEG.  
        Lo script sfrutta Image Events che è una comoda utility di sistema. 
      Segnalato da Hartz  
        Topic
          sul Forum 
              
       
        
    
  |