popup bottons - list

how do u set the content of a popup button to the content of a list and vice versa?

Search the board, this topic has been covered many times before.

Jon

ok i did

didnt find anything close to it

heres what i have

set choose1 to the name of every item of popup button "melement1" of tab view item "m" of tab view "tab" of window "main" as list

if i wanted to look for something o would have read a book

if ur not going to post something useful to me (like the terrible search function on this site) then dont post

The search function is not terrible, you are just not using it correctly. I put in the terms “popup button list”, set the search to search for all terms and constrained the search to just the AppleScript Studio forum and received 17 threads that matched. Of those 17 matches, several of them contained code for dynamically adding menu items to popup buttons from a list. Here’s one link:

http://bbs.applescript.net/viewtopic.php?t=5851&highlight=popup+button+list

Do you ever wonder why some of your posts go unanswered while most other people get answers to their questions? You really need to think about the way you present yourself.

Jon

sorry i got mad

its just ive had the same problem for soooooo long and its getting annoying
and its the last bug in my current project

i searched the exact same key terms you did and i know how to set the content of a popup button to that of a list
but i cant find anything that explains it the oher way around