• 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
Bug in Image Events (?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in Image Events (?)


  • Subject: Bug in Image Events (?)
  • From: julifos <email@hidden>
  • Date: Sat, 10 Jan 2004 12:30:12 +0100

Hi!

Seems that Image Events (and "sips") doesn't handle paths with accented
characters.

This code doesn't throw errors, nor thumbnails!

#################################
set bigImage to "path:to:DON INE:big:img.jpg"
set thumbImage to "path:to:DON INE:thumbs:img.jpg"
set max to 80

--> test sips
do shell script "sips -Z " & max & space & quoted form of POSIX path of
bigImage & " --out " & quoted form of POSIX path of thumbImage

--> test IE
tell application "Image Events"
launch
set imgRef to open bigImage
scale imgRef to size max
save imgRef in thumbImage
close imgRef
end tell
#################################

I've checked this code with other paths (withouth accented stuff) and it
works fine.

jj

* BTW, do you know how can I file a bug to Apple's AppleScript Team, other
than posting it here?
_______________________________________________
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.

  • Follow-Ups:
    • Re: Bug in Image Events (?)
      • From: Andrew Oliver <email@hidden>
  • Prev by Date: handling Unicode text
  • Next by Date: Resizing Dialog box
  • Previous by thread: Taking values to a document
  • Next by thread: Re: Bug in Image Events (?)
  • Index(es):
    • Date
    • Thread