• 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: Image Events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Image Events


  • Subject: Re: Image Events
  • From: "Stockly, Ed" <email@hidden>
  • Date: Thu, 3 Feb 2011 17:01:03 -0600
  • Acceptlanguage: en-US
  • Thread-topic: Image Events

Title: Re: Image Events
Are you sure this command is addressing an object? It should be in a tell this_image block, I think.

embed with source profile "/Users/home/Library/ColorSync/Profiles/AdobeRGB1998.icc"

Also, I think the comand should be:

Embed with source ....

I couldn’t get your script to work either, but I may not have  a compatible image profile. I runs without an error, but the profile is not embeded.

HTH

ES
---------

repeat with i from 1 to the count of these_files
   
    
set
this_path to (item i of these_files) as string
   
    
tell
application "Image Events"
        
set
myProfile to open "/Users/edstockly/Library/ColorSync/Profiles/Calibrated Profile.icc"
        
        
set
this_image to open file this_path
       tell this_image
           get every profile
           embed with source myProfile
           get every profile
           save as PSD in trget_folder with icon
           
            
close
       end tell
   end tell
   
    
end repeat
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Image Events (From: email@hidden)

  • Prev by Date: Re: Image Events
  • Next by Date: Re: Image Events
  • Previous by thread: Re: Image Events
  • Next by thread: Re: Image Events
  • Index(es):
    • Date
    • Thread