Re: Choose from list goes out of screen range
Re: Choose from list goes out of screen range
- Subject: Re: Choose from list goes out of screen range
- From: Jan Bultereys <email@hidden>
- Date: Fri, 20 Jul 2007 15:25:12 +0200
- Thread-topic: Choose from list goes out of screen range
Hi Guys, Bill...
Can you tell me what result you get with this? This gives me the 'out of
range' result.
set listTest to {}
repeat with i from 1 to 2000
set temp to (i & " AddSomeTextToItToMakeItALittleBigger" as text)
copy temp to end of listTest
end repeat
choose from list listTest
Many thanks,jan
> From: Bill Briggs <email@hidden>
> Date: Fri, 20 Jul 2007 09:58:03 -0300
> To: "email@hidden" <email@hidden>
> Subject: Re: Choose from list goes out of screen range
>
> At 10:52 AM +0200 7/20/07, Jan Bultereys wrote:
>> Sometimes the "choose from list" dialog box goes outside of my screen
>> range...
>
> That's odd. I've never seen that happen. I have several scripts that create
> very long lists, and the list window only spans the height of the screen. The
> scroll bar is there to allow access to the list items that are "not visible".
>
> Just to make sure that I wasn't dreaming, I just ran this.
>
> set listTest to {}
> repeat with i from 1 to 1000
> set temp to (i as text)
> copy temp to end of listTest
> end repeat
> choose from list listTest
>
> ...and the list behaves exactly as expected (scroll bar appears, both buttons
> can be clicked).
>
> You shouldn't have to manage list length. That's not how it was intended to
> be, and there's something else going on to create your problem. The list
> window should not extend beyond the bottom of your screen. The routine that
> generates that window certainly appears to be "aware" of the screen height.
>
> Do you have some odd monitor resolution change thing going on?
>
> - web
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> edepot.com
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to 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