Callback: | AEFLoadListFromFile |
Arguments: |
Gadget - Gadget whose value is to be modified filePath - Path to source gadget, or text file |
|
|
Description: | Given a path to a file, will load the contents of the file into the List one line per choice. If the "filePath" contains the src path to a gadget will attempt to get the file path from that gadget. You can use either a choice or list gadget here. |
Example: |
Button { Name = SetGadgetValue; Title = "SetGadgetValue"; /* This button will set the FinalValue gadget * with the currently selected value stored * in the ListValues gadget. */ Commands = AEFLoadListFromFile&/.../ListValues ("/.../FileName"); }OR Button { Name = SetGadgetValue; Title = "SetGadgetValue"; /* This button will set the FinalValue gadget * with the currently selected value stored * in the ListValues gadget. */ Commands = AEFLoadListFromFile&/.../ListValues ("/data/config/list_values.txt"); } |