We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edeb74f commit f4072d3Copy full SHA for f4072d3
SaveWin10Pictures/Program.cs
@@ -104,6 +104,19 @@ private static void Main()
104
// StartProcess("Explorer.exe", imagePath, true, false);
105
//}
106
107
+
108
+ // keeps running for pc up all the time until Q key is pressed
109
+ while (true)
110
+ {
111
+ Console.ForegroundColor = ConsoleColor.Yellow;
112
+ display("Press q to quit or let it run forever:");
113
+ // Console.ReadKey();
114
+ if (Console.ReadKey() == ConsoleKeyInfo)
115
116
117
+ }
118
119
120
Console.ForegroundColor = ConsoleColor.Yellow;
121
display("Press any key to exit:");
122
Console.ReadKey(); // comment for batch to production
0 commit comments