Re: Image Events
Re: Image Events
- Subject: Re: Image Events
- From: Christopher MJ Tangora <email@hidden>
- Date: Tue, 30 Mar 2004 15:48:46 -0500
forward message--
2) Getting Image Info - I am getting missing or empty data for image
information, such as resolution, dimensions, etc. I.e.,
tell app "Image Events" to return properties of image 1
--> {bit depth:missing value, file type:missing value, image file:file
"Macintosh HD:Users:Username:Desktop:my image.jpg" of application
"Image Events", location:folder "Macintosh HD:Users:Username:Desktop:"
of application "Image Events", resolution:{}, class:image,
dimensions:{}, name:"my image.jpg", color space:missing value}
-Ben
Benjamin S. Waldie
President & CEO
Automated Workflows, LLC
484.744.1831
end forwarded message ---
I had the same problem, but I did find a possible solution. Invalid
file names. I wrote a script to go through and get rid of all illegal
characters. It has worked so far, but I am concentrating on PDF's. If
you want the script to take out the characters let me know. It goes
through every folder within a folder you select and changes all the
illegal characters to "_". Right now I am getting rid of...
set bad_characters to {"#", "<", ">", "(", ")", "*", "|", "&", "%",
"^", ".", " ", "[", "]", "\\", "/", ""}
If you know of any other illegal characters let me know.
thanks & good luck
Chris Tangora
Desktop Specialist
Production Services
Daytona Beach News-Journal Corporation
Daytona Beach, Florida
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.