
Process process = Process.GetProcessesByName( "Chromium" ) To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops.Įven I can see from Task Manager that there are always at least 2 Chromium processes are running, but my program can’t detect any of them. Process process = Process.GetProcessesByName("Chromium") Ĭonsole.Write("Proccess found: " + process.ToString()) Ĭonsole.WriteLine("ERROR: Application is not running!\nException: " + ex.Message) Įxception: Index was outside the bounds of the array.Ĭ:\Program Files\dotnet\dotnet.exe (process 16720) exited with code -1. Public static extern bool SetForegroundWindow(IntPtr hWnd) I searched around, and I got some code, like the following: (.Net Core Console Project with C# 7.3) Therefore, I guess if I can write another program, can always bring the Puppeteer Sharp window to the front, then I don’t have to do this by hand. Like the URL detect and click are affected, therefore, they don’t work from time to time, but if I keep the Puppeteer Sharp window (showing the Chromium page) in front, then usually, the Puppeteer Sharp program works. As the web browsers hide Puppeteer Sharp window, then some actions, But from time to time, when I browse internet, web browsers are in front.

Harness the power of light to solve cleverly crafted puzzles in 2D and 3D space.īreathtaking 3D art and an amazing soundtrack transport you to the delightful world of Shadow Puppeteer.I have a C# Console Project using Puppeteer Sharp to grab some web pages. Optimized for controllers, Shadow Puppeteer is easy to pick up for players of all skill levels. Winner of the 2015 Indie Prize Director’s Choice Award and applauded for its stunning art, enchanting music and clever puzzles, Shadow Puppeteer will captivate players from beginning to end.Įnjoy Shadow Puppeteer by yourself or with the company of a significant other, family member or friend in shared-screen co-op.

Work together to manipulate light, solving puzzles that bring you closer to finding this villain and freeing other shadows he has stolen. Invite a friend to explore the strange, yet beautiful world of darkness and light in Shadow Puppeteer, an award-winning, local co-op adventure.Īssume the roles of a boy and his shadow, separated from one another by the evil shadow puppeteer.
