AppleScript list to FileMaker popup menu

Not real code, but kind of hack to pass AppleScript lists to FM popup buttons.

  1. Go to FM and create your popup menu (called, eg., “popup”).
  2. Create an “invisible” text field (eg., white text color, no editable) called “invisible”.
  3. Create a value list called “foo” whose source is the text field “invisible”.
  4. Modify the popup menu so it grabs its info from “foo”.

That is! Now, you simply set the value of the “invisible” text field to a return-delimited text, and the popup menu is automagically updated (as it grabs the info from “foo”, which grabs the info from “invisible”).

NOTE: seems that (in despite of what you enter in “invisible”) the value list “foo” will make an ordered list.

You can pick a very simple example database (plus sample script) here: http://homepage.mac.com/julifos/soft/beta/sample.fp7.zip