Ergebnis 1 bis 3 von 3
  1. #1
    Jonagold
    Themenstarter

    Registriert
    07.2010
    Beiträge
    18

    Frage Photoshop-Befehl "Profil zuweisen" via applescript

    Hallo zusammen!

    mich plagt mal wieder ein kleines, sicher auch superschnell gelöstes, Problem. Ich soll für eine Kollegin ein Script schreiben, das PDF-Dateien in Photoshop öffnet, diesem Dokument dann ein ICC-Profil zuweist und das ganze dann als tiff speichert.

    Soweit alles kein Problem, nur die Sache mit dem "Profil zuweisen" macht mich wahnsinnig. Ich finde einfach nicht den Befehl dafür. "In Profil konvertieren" wäre kein Problem, es soll aber das Profil explizit nur zugewiesen werden.

    Hat evtl. jemand den Befehl parat? damit wäre mir sehr geholfen.

    Hier noch mein Script bisher:


    Code:
    on open {input}
        
        
        tell application "Finder" to set theFiles to document files of input whose name extension is in {"pdf", "PDF"}
        
        
        repeat with oneFile in theFiles
            tell application "Adobe Photoshop CS4"
                
                open (oneFile as alias) with options {class:PDF open options, crop page:bounding box, mode:CMYK, page:1, resolution:300, use antialias:true, bits per channel:eight, suppress warnings:true}
                
                activate
                
                
                --hier sollte noch der befehl "Profil zuweisen" hin.
                
                
                save document 1 in input as TIFF with options {byte order:IBM PC, embed color profile:true, image compression:LZW, save alpha channels:false, save annotations:false, save image pyramid:false, save layers:false, save spot colors:false, transparency:true}
                
                
                close document 1 saving no
                
            end tell
            
        end repeat
        
        
        tell application "Finder"
            
            make new folder in input with properties {name:"TIFFs"}
            
            set tiffls to (document files of input whose name extension is in {"tif", "tiff"})
            move tiffls to folder "TIFFs" of input
            
        end tell
        
        
        
        return input
    end open



    Vielen Dank schonmal!

    Grüße
    Patzi

  2. #2
    Gala
    Registriert
    09.2010
    Ort
    Herzogenrath
    Alter
    44
    Beiträge
    50
    Nun,

    in cs2 geht
    ... set color profile name of document 1 to "ISO Coated" ... zum Bleistift

    Tschöle

    Hans

  3. #3
    Jonagold
    Themenstarter

    Registriert
    07.2010
    Beiträge
    18
    Guten Morgen Hans,

    super, funktioniert 1A.
    Vielen Dank für die Hilfe!

    Grüße
    Patzi

Stichworte

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •