Run project

I’m looking for a command (function subprogram), which i would assign a button in the program and by pressing the button it would re-open the program in the same way as it is running in the system tray in Coedey.

I’m not sure I understand correctly: do you want to completely reboot your program from inside the program? I imagine that that’s not possible - you should have a “reset” function that resets all variables to their initial state and just call that.

You may want to check out this other thread:

http://twolivesleft.com/Codea/Talk/discussion/935/reset-button