this script is from ShareX software which reads the window title and matches the word…
- User
this script is from ShareX software which reads the window title and matches the word and saves the screenshot in the respective folder. for example if there is java word in window title then it saves the window screenshot in java folder. check the code and if the process is chrome window, then select the current window title and scan for the matching word and save in the folderplace function Sanitize-FileName (fileName) { return fileName -replace '[/:*?"<>|]', '_' } $programmingLanguages = @{ 'python' = 'pythonplace'; 'javascript' = 'javascriptplace'; 'java' = 'javaplace'; 'c#' = 'csharpplace'; 'c++' = 'cplusplusplace'; 'ruby' = 'rubyplace'; 'php' = 'phpplace'; 'swift' = 'swiftplace'; 'go' = 'goplace'; 'kotlin' = 'kotlinplace'; 'react' = 'reactplace'; 'learning' = 'deep learning'; } Add-Type -TypeDefinition @" using System; using System.Runtime.InteropServices; using System.Text;
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.