How to compile my.lpr for --kiosk or toggle is in browser/web an unrar.Dvd.iso? lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- d2010 · 2025-04-22 10:18 Hello. My main question is C:Q1 and kiosk mode of rar.exe or kiosk mode of 7zip.exe .. The subject="I start two application disjunction,    a) rar.exe=extracting a big'iso    b) I start opera.exe + view-youtube.opera.exe? Total.. my win10destkop is Browser-mode , because the user-of-win10, like-view youtube.. My Question/s C:Q1=Exists on internet rar.version.kiosk of IDLE? or         unzip.version.kiosk.exe or         uniso.version.low.backgound.low-res or         untar.version.low.brackgou und.exe? C:A1= okai not exists,, Can i develop kiosk-mode for project1.lpr?  Good  Thief  Lazarus5.0-self-install.version.low-resource.exe Thank you.. ---------------------------------------------------------------------- Thaddy · 2025-04-22 10:52 What you are looking for is not desktop mode but kiosk mode. I only know how to do do that in Chromium based browsers (like Chrome and Edge). It won't block other programs, but prevents them from showing when the kiosk has focus. I have two simple examples: 1. using TProcess (not written by me):Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i {$mode objfpc}uses  SysUtils, Process; procedure LaunchKioskBrowser;var  Proc: TProcess;begin  Proc := TProcess.Create(nil);  try    {$IFDEF UNIX}      // On Linux, the executable might be named 'chromium- browser'      Proc.Executable := 'chromium-browser';    {$ENDIF}    {$IFDEF WINDOWS}      // Update the path as needed on Windows      Proc.Executable := 'C:\Path\To\chrome.exe';    {$ENDIF}        // Pass the necessary command-line arguments for kiosk mode:    // --kiosk : launches the browser in full-screen mode without window borders.    // --noerrdialogs : suppresses error dialogs.    // --disable-infobars : hides notifications like "Chrome is being controlled".    Proc.Parameters.Add('--kiosk');    Proc.Parameters.Add('-- noerrdialogs');    Proc.Parameters.Add('--disable-infobars');    Proc.Parameters.Add('--disable-session-crashed-bubble');        // Point to the URL you want to display. You could also add more parameters if needed.    Proc.Parameters.Add('http://yourwebsite.com');        // Execute the process.    Proc.Execute;  finally    Proc.Free;  end;end;2. More complex, using CEF. I will add that later because I have to find it...But that I did write. There's a third option using node.js and pas2js. I believe there is an example for that, that comes with pas2js. ---------------------------------------------------------------------- d2010 · 2025-04-22 11:09 Quote from: Thaddy on April 22, 2025, 12:52:46 pmWhat you are looking for is not desktop mode but kiosk mode. I only know how to do do that in Chromium based browsers (like Chrome and Edge). It won't block other programs, but prevents them from showing when the kiosk has focus. I have two simple examples: 1. using TProcess (not written by me): Your code is Good solution for C:Q2 and C:Q3 , great code,(enough for Me). Thank you. I solved both C:Q2 and C:Q3. bellow, thanks Thaddy , (I dublicate here..) optionally= C:Q2=How to detect the my win10desktop is "BrowserMode"?     Here I can calculate the sum-opera.exe activity. C:Q3=Can you give me, other/s a list of win10dektop-Mode?   Perhaps you need some examples from me, examples of win10kiosk-Mode. Code: [Select]200=IF I start SolidWork.exe then  My entire pc+desktop is win10kios-Mode=Tech Mech Top-power of -Mesh. 201=If I run RedAlert3.exe and games with very-power-of-opengl, then win10kiosk-Mode=Opengl-Games3Dmode. 202=If I wrote one DVD-R with 4.7Gb, then  win10desktop-Mode=DvdWrote, and all others/ application must "blocked" by the user.