sips question
sips question
- Subject: sips question
- From: John McKenzie <email@hidden>
- Date: Wed, 20 Feb 2008 13:25:30 -0500
I'm trying to write an AppleScript droplet to go through a folder of images and flag any that are in RGB. I'm using sips to do this.
I've got it working (on single images for now) just fine on my desktop, but the script fails on any files I try to inspect that are on our server. If I copy the same file to my desktop, it works again. I can query files on the server just fine through sips itself.
Here's the handler in a short form where I'm just trying to display the color space in a dialog box:
on sussOut(x) tell application "Finder" set myFile to x as alias set xPOSIX to POSIX path of x set myFileSpace to do shell script "sips -g space " & xPOSIX & " | grep space;" as text display dialog myFileSpace end tell end sussOut
Thanks for any thoughts!
John McKenzie |
_______________________________________________
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