Re: Browser and PopUpButton
Re: Browser and PopUpButton
- Subject: Re: Browser and PopUpButton
- From: Robert Stretch <email@hidden>
- Date: Sat, 20 Apr 2002 10:33:55 +1000
>
on 4/19/02 4:41 AM, email@hidden at
>
email@hidden wrote:
>
>
Populate a popup button from a list:
>
>
delete every menu item of menu of popup button "Button Name" of window
>
"Window Name"
>
>
repeat with i from 1 to count of theList
>
make new menu item at the end of menu items of menu of popup button
>
"Menu Name" of window "Window Name" with properties {title:name of item
>
i of
>
theList,enabled:true}
>
end repeat
>
>
(<http://www.blankreb.com/studiosnips.php?ID=5>)
>
>
>
As far as the browser control. I posted a request for some help about
>
it to
>
the Studio list and didn't get much help. I have struggled with that
>
control
>
myself. I am sure I am missing something about it and the example
>
browser is
>
not shedding much light for me. If someone could provide a workable code
>
snippet that populates a browser with some data from a list or lists
>
(other
>
than disk items), I would be eternally grateful and put it in my Studio
>
Log
>
Script Snippets <http://www.blankreb.com/studiosnips.php>.
>
That sounds like it might work.. :,) What type of list should theList
be?
set theList to list folder (file ((path to startup disk) &
"Applications:some:folder:" as string)) without invisibles
Something along those lines maybe? Thanks for ur help!
Robert Stretch
AquaWorld
_______________________________________________
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.