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

Re: Bug in Image Events (?)


  • Subject: Re: Bug in Image Events (?)
  • From: Andrew Oliver <email@hidden>
  • Date: Sat, 10 Jan 2004 09:33:21 -0800

Just a guess, but maybe if you asked Image events to open a file rather than
a string you might have more luck...?

> set bigImage to "path:to:DON INE:big:img.jpg"
...
> set imgRef to open bigImage


Try "set imgRef to open file bigImage" instead.

Andrew
:)

On 1/10/04 3:30 AM, "julifos" <email@hidden> wrote:

> 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.
_______________________________________________
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: julifos <email@hidden>
References: 
 >Bug in Image Events (?) (From: julifos <email@hidden>)

  • Prev by Date: Re: Elementary fie naming question
  • Next by Date: Re: Challenge: find info about Standard Additions
  • Previous by thread: Bug in Image Events (?)
  • Next by thread: Re: Bug in Image Events (?)
  • Index(es):
    • Date
    • Thread