RestrictedUser Posted March 7, 2019 Share Posted March 7, 2019 I want to create a dll file to start my script if process has been closed My script is about notify of updating log file of server Link to comment Share on other sites More sharing options...
Developers Jos Posted March 7, 2019 Developers Share Posted March 7, 2019 Create a DLL? or did you means script? 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...
RestrictedUser Posted March 7, 2019 Author Share Posted March 7, 2019 Just now, Jos said: Create a DLL? or did you means script? Jos Dll or script Dll is better, when windows starts dll loads and execute my script Link to comment Share on other sites More sharing options...
Developers Jos Posted March 7, 2019 Developers Share Posted March 7, 2019 Just now, Colduction said: Dll is better Why? A script can also load at startup. Either way: This is a forum about AutoIt3 scripting not C++ DLL creation. ... and to do this with a script is pretty easy. Jos FrancescoDiMuro 1 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...
RestrictedUser Posted March 7, 2019 Author Share Posted March 7, 2019 8 minutes ago, Jos said: Why? A script can also load at startup. Either way: This is a forum about AutoIt3 scripting not C++ DLL creation. ... and to do this with a script is pretty easy. Jos But my brother prevents my script to running at startup Link to comment Share on other sites More sharing options...
Developers Jos Posted March 7, 2019 Developers Share Posted March 7, 2019 This means to me that it is not your prerogative to change that or else you would. 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...
RestrictedUser Posted March 7, 2019 Author Share Posted March 7, 2019 21 minutes ago, Jos said: This means to me that it is not your prerogative to change that or else you would. Can i make my script restart again automatically if closed? Link to comment Share on other sites More sharing options...
Nine Posted March 7, 2019 Share Posted March 7, 2019 yes 1 hour ago, Colduction said: Can i make my script restart again automatically if closed? “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...
RestrictedUser Posted March 7, 2019 Author Share Posted March 7, 2019 8 minutes ago, Nine said: yes How can i? Please describe more Link to comment Share on other sites More sharing options...
Juvigy Posted March 8, 2019 Share Posted March 8, 2019 Put it in a windows service... Link to comment Share on other sites More sharing options...
RestrictedUser Posted March 8, 2019 Author Share Posted March 8, 2019 11 hours ago, Juvigy said: Put it in a windows service... No, i want to these steps by AutoIt script Link to comment Share on other sites More sharing options...
Developers Jos Posted March 8, 2019 Developers Share Posted March 8, 2019 34 minutes ago, Colduction said: No, i want to these steps by AutoIt script Yes, and how is this a logical answer to the proposed solution? Either way: it is quite easy to write a script that shell itself another time and have that monitor the original script. Just look at autoit3wrapper.au3 as example which has that mechanism build in. Jos RestrictedUser 1 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...
RestrictedUser Posted March 8, 2019 Author Share Posted March 8, 2019 2 minutes ago, Jos said: Yes, and how is this a logical answer to the proposed solution? Either way: it is quite easy to write a script that shell itself another time and have that monitor the original script. Just look at autoit3wrapper.au3 as example which has that mechanism build in. Jos Thanks bro 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