cyclic changing of buttons for FileManagerMessageBox and saving files from Studio in 'scripts'

и здесь