Please add setclipboard() and getclipboard()
-
permission = setclipboard("code")
If soundeffectmade then permission = setclipboard("insert sound effect code here",) If permission then print("Sound effect successfully copied!") endif if !permission then print("Please allow the program to copy into your clipboard") endif endif
result = GetClipboard()
store = [] string clipboard = "" |oop clear(fuzegrey) c = controls() cursor(0,0) print("Press Y to save clipboard ") If c.y then saveclipboard() endif cursor(0,1) Print("Saved Clipboard: " + clipboard) cursor(0, 2) print("Clipboard: " + getclipboard()) update() repeat
-
I think this would allow for so many possible projects, someone could make a music software/project for fuze, someone could make a way to code in a c++ syntax style then export/import using this function, someone could create drawing software in fuze (image editor doesn't have smooth lines), etc, this would be awesome to have.
-
A clipboard feature is something we have talked about as a team before. Certainly an interesting idea.
-
A clipboard could be used to copy data from one Fuze project to another Fuze project on your switch without needing to hand copy it (or otherwise) out of the Fuze environment and back in. I mean to and from the running program of course, the source code can already be copied this way.
-
@gothon said in Please add setclipboard() and getclipboard():
A clipboard could be used to copy data from one Fuze project to another Fuze project on your switch without needing to hand copy it (or otherwise) out of the Fuze environment and back in. I mean to and from the running program of course, the source code can already be copied this way.
Imagine if someone makes a program to run your program inside of the program