• 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: choose from list bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: choose from list bug?


  • Subject: Re: choose from list bug?
  • From: Philip Aker <email@hidden>
  • Date: Wed, 4 Jul 2007 07:34:58 -0700

On 2007-07-04, at 05:43:20, Bill Briggs wrote:

… But when I run this snippet.

-----------
tell application "iCal"
set allCalNames to the name of every calendar
end tell

choose from list allCalNames with title "Calendar Selection Window" with prompt "De-select any unwanted calendars." default items allCalNames with multiple selections allowed
-----------

the resulting list has all but the last item selected. The only difference I can see is that the list from iCal is unicode text, and the other is not. I tested for differences in number of list items, and total characters in the names, and can't make the first snippet fail. I tried another application that returns unicode text and it selects all items in the list.

Can anyone reproduce the same effect? I don't see any reason why the entire list is not selected in the dialog.

Hi Bill,

The script works perfectly here (OS X 10.4.10).


Philip Aker email@hidden


_______________________________________________ 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
References: 
 >choose from list bug? (From: Bill Briggs <email@hidden>)

  • Prev by Date: choose from list bug?
  • Next by Date: Re: choose from list bug?
  • Previous by thread: choose from list bug?
  • Next by thread: Re: choose from list bug?
  • Index(es):
    • Date
    • Thread