• 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: MacOS 10.5 odditie
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MacOS 10.5 odditie


  • Subject: Re: MacOS 10.5 odditie
  • From: KOENIG Yvan <email@hidden>
  • Date: Fri, 22 Aug 2008 18:26:40 +0200


Le 22 août 2008 à 14:30, KOENIG Yvan a écrit :


Le 21 août 2008 à 12:45, KOENIG Yvan a écrit :

Hello

When we try to run:

choose file of type {"com.apple.iwork.numbers.numbers", "com.apple.iwork.pages.pages", "com.apple.iwork.keynote.key"}

under 10.4.11, it works flawlessly.
Under 10.5, the iWork's files remain greyed.

My guess is that Standard Addition is comparing some "old fashioned strings" to "unicode ones".

Is this oddity already reported?


As I got no response, I filed this report:

 Bug ID# 6168559.

Hello

When I uses this AppleScript's instruction:

choose file of type {"com.apple.iwork.numbers.numbers"}

all works fine.

When I run it under 10.5.x, le numbers's documents remain greyed.

It seems that the filter compares "old fashioned" text items to "Unicode" ones.

Same kind of oddity with filters using the whose command

tell application "Finder"
	set ll to folders of folder thefolder whose comment contains "Yvan"
end tell


 Here is a short script:

set leFichier to "Macintosh HD:Users:yvan_koenig:Desktop:Carnet d’adresses - 22/08/2008.abbu:"

set typID to get type identifier of (get info for file leFichier)
tell application "System Events" to set typ_ID to type identifier of (get properties of file leFichier)


set leFichier2 to "Macintosh HD:Users:yvan_koenig:Desktop:Sans titre.numbers:"
set typID2 to get type identifier of (get info for file leFichier2)
tell application "System Events" to set typ_ID2 to type identifier of (get properties of file leFichier2)
log "Standard Additions returns: " & typID
log "System Events returns: " & typ_ID
log "Standard Additions returns: " & typID2
log "System Events returns: " & typ_ID2


Under 10.4.11, the log displays:

(*Standard Additions returns: com.apple.bundle*)
(*System Events returns: dyn.age80c2xcsy*)
(*Standard Additions returns: com.apple.iwork.numbers.numbers*)
(*System Events returns: com.apple.iwork.numbers.numbers*)

It appears that the UTI is not really universal as Standard Additions and System Events return different values for the same AddressBook archive file.

My 10.5 machine is gone so I can't test under 10.5.

Under 10.4.11, I can't restrict Choose file to .abbu files
I don't know if we met the same oddity under 10.5.

Yvan KOENIG (from FRANCE vendredi 22 août 2008 18:26:21) _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: MacOS 10.5 odditie
      • From: KOENIG Yvan <email@hidden>
References: 
 >MacOS 10.5 odditie (From: KOENIG Yvan <email@hidden>)
 >Re: MacOS 10.5 odditie (From: KOENIG Yvan <email@hidden>)

  • Prev by Date: Re: Turning calendars on/off in iCal
  • Next by Date: INDESGN CS3: Still AfterOpen Event Problem
  • Previous by thread: Re: MacOS 10.5 odditie
  • Next by thread: Re: MacOS 10.5 odditie
  • Index(es):
    • Date
    • Thread