serena_knight Posted April 20, 2022 Share Posted April 20, 2022 (edited) processexists only seems to work with script.exe but not with script.au3 is there a way to detect if a specific source script is running? i know i can see autoit3.exe running for each au3 but there appears to be nothing to tell me the name of source script Edited April 20, 2022 by serena_knight Link to comment Share on other sites More sharing options...
Developers Jos Posted April 20, 2022 Developers Share Posted April 20, 2022 10 minutes ago, serena_knight said: is there a way to detect if a specific source script is running? Yes... Each AutoIt3 instance has it's own hidden window, which you can give a unique name. Check the helpfile for AutoItWinSetTitle(). Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
serena_knight Posted April 20, 2022 Author Share Posted April 20, 2022 dont unterstand,,,this function sets a title you give it whereas autoitwingettitle() returns autoit v3 Link to comment Share on other sites More sharing options...
Developers Jos Posted April 20, 2022 Developers Share Posted April 20, 2022 Well you can set a unique title for "each" script and you can test for that unique title with WinExists() ....right.... or am I not properly understanding what you are asking? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
pixelsearch Posted April 20, 2022 Share Posted April 20, 2022 39 minutes ago, serena_knight said: is there a way to detect if a specific source script is running? _Singleton() ? Link to comment Share on other sites More sharing options...
Nine Posted April 20, 2022 Share Posted April 20, 2022 _WinAPI_GetProcessCommandLine ? “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now