diff --git a/Nasal/gui.nas b/Nasal/gui.nas
index cc18c00c3..524cc14cf 100644
--- a/Nasal/gui.nas
+++ b/Nasal/gui.nas
@@ -1254,3 +1254,15 @@ var common_aircraft_keys = {
{ name: "Shift-F8", desc: "scroll 2D panel right" },
],
};
+
+_setlistener("/sim/signals/screenshot", func {
+ var path = getprop("/sim/paths/screenshot-last");
+ var button = { button: { legend: "Ok", default: 1, binding: { command: "dialog-close" }}};
+ var success= getprop("/sim/signals/screenshot");
+ if (success) {
+ popupTip("Screenshot written to '" ~ path ~ "'", 3);
+ } else {
+ popupTip("Error writing screenshot '" ~ path ~ "'", 600, button);
+ }
+});
+
diff --git a/keyboard.xml b/keyboard.xml
index cc39cc473..06f7f9423 100644
--- a/keyboard.xml
+++ b/keyboard.xml
@@ -1106,20 +1106,7 @@ top down before the key bindings are parsed.
F3
Capture screen
- nasal
-
+ screen-capture
Load panel