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

Re: AppleScripting ColorSync


  • Subject: Re: AppleScripting ColorSync
  • From: John Gnaegy <email@hidden>
  • Date: Thu, 6 Dec 2007 13:31:58 -0800

The scripts all work on Leopard. It looks like there were changes introduced in a software update at some point in Tiger that broke the scripts, maybe something new in Applescript, not sure. There's a simple fix if you want to use them on Tiger.

Open the scripts in Script Editor and add

	tell application "ColorSync Scripting" to launch

somewhere near the beginning of the script, before ColorSync Scripting is first called on to do something. If it's a script that uses Image Events just tell Image Events to launch similarly. That should solve most of the issues you'll run into.

Remember you can also use the command line tool 'sips' from within Applescript to do a lot of the things ColorSync Scripting and Image Events can do, and more. Do 'man sips', 'sips -h' or 'sips -H' to see what it can do. To call it from within an Applescript do something like this

set someFileAlias to choose file
set filePosixPath to quoted form of POSIX path of someFileAlias
set cmdline to ("sips -g allxml " & filePosixPath) as string
do shell script cmdline



_______________________________________________ Do not post admin requests to the list. They will be ignored. Colorsync-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: AppleScripting ColorSync
      • From: Rolf Gierling <email@hidden>
References: 
 >AppleScripting ColorSync (From: "Fleisher, Ken" <email@hidden>)
 >Re: AppleScripting ColorSync (From: Rolf Gierling <email@hidden>)

  • Prev by Date: Re: AppleScripting ColorSync
  • Next by Date: Re: AppleScripting ColorSync
  • Previous by thread: Re: AppleScripting ColorSync
  • Next by thread: Re: AppleScripting ColorSync
  • Index(es):
    • Date
    • Thread