switch to 0. cd("scripts"). local g is GUI(300). set g:x to 100. set g:y to 100. local titleLabel is g:addlabel("Scripts"). set titleLabel:style:align to "center". set titleLabel:style:hstretch to true. local popup is g:addpopupmenu(). set popup:optionsuffix to "NAME". list files in localFiles. for f in localFiles popup:addoption(f). popup:changed. g:show(). wait until popup:changed. g:dispose(). runpath(popup:value).