0 votes

im wondering if there is a way to load a picture from clipboard (windows), to edit it.
its not a game its a program to screenshot the desktop and edit the picture to just show a part, or to marker some areas.

and since godot was also written in gdscript i thought i could try to build an screenshotmanager

annyway, im wondering if there is a way to load the picture from clipboard into godotgame.

in Engine by (64 points)

and since godot was also written in gdscript i thought i could try to build an screenshotmanager

Godot itself doesn't use any GDScript code. The editor is a Godot "game" written in C++ using the engine APIs.

1 Answer

0 votes

I have not tested it but there is a way to get what the clipboard contains. Not sure what it will give you if you have an image in the clipboard though.

OS.get_clipboard()

https://docs.godotengine.org/en/3.1/classes/class_os.html?highlight=monitor#class-os-property-clipboard

by (121 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.

Categories