• 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: 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.


  • Prev by Date: Re: help on a script regulating folder size please
  • Next by Date: Re: help on a script regulating folder size please
  • Previous by thread: Re: do shell script curl where url must contain double quotes
  • Next by thread: Converting unix styled path (string) to Mac path?
  • Index(es):
    • Date
    • Thread