• 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: julifos <email@hidden>
  • Date: Sun, 11 Jan 2004 11:42:39 +0100

Nope... As I stated, it works with different paths (without accented chars).
And, anyway, it should work "sips", which doesn't either.

jj

* I forgot the mangle! Where it says "DON INE", it is really "DON
E-acuteNE".

> 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: Emmanuel <email@hidden>
References: 
 >Re: Bug in Image Events (?) (From: Andrew Oliver <email@hidden>)

  • Prev by Date: Re: File age
  • Next by Date: Re: handling Unicode text
  • Previous by thread: Re: Bug in Image Events (?)
  • Next by thread: Re: Bug in Image Events (?)
  • Index(es):
    • Date
    • Thread