Administrators Jon Posted February 27, 2004 Author Administrators Share Posted February 27, 2004 How can I check if a script is running and prevent it from being launched a second time?Whats the accepted answer on that one these days? Change the autoit window title? Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
CyberSlug Posted February 27, 2004 Share Posted February 27, 2004 (edited) Whats the accepted answer on that one these days? Change the autoit window title?Um, you're asking us?!? take your pickOff topic: Is there a limit to loop-nesting. I tried a 650-deep bunch of while loops and it worked If there is a limit, maybe it would be something else to add to the FAQ along with recursion depth, number size, open file handle limits.Sorry if I'm sounding like a broken record Edited February 27, 2004 by CyberSlug Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
Administrators Jon Posted February 27, 2004 Author Administrators Share Posted February 27, 2004 No limit to loop nesting. There are still limits on the number of variables/user functions (1024) so i'll document those, but they will be removed eventually - I just didn't want to mess around in that code this close to release. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Administrators Jon Posted February 27, 2004 Author Administrators Share Posted February 27, 2004 Um, you're asking us?!?I'm not the best v3 scripter by a long way Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Administrators Jon Posted February 27, 2004 Author Administrators Share Posted February 27, 2004 Updated with lastest help file changes. Also added JP's return value formatting (is now a table).http://www.hiddensoft.com/autoit3/files/unstable/ Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Nutster Posted February 27, 2004 Share Posted February 27, 2004 No limit to loop nesting. There are still limits on the number of variables/user functions (1024) so i'll document those, but they will be removed eventually - I just didn't want to mess around in that code this close to release.That reminds me. I think I just figured out a way to make an internal UDF stack so that we do not have to rely on recursive calls of C++ functions as much to manage them. Again, this close to release (and because I have so much free time ) I will not do any coding on this for the time being. I am also thinking of a way to improve speed on managing variables using binary search trees. Along with a few other optimizations of the internals of Variants. Oh well, I will probably be busy enough with all the debug stuff. David NuttallNuttall Computer Consulting An Aquarius born during the Age of Aquarius AutoIt allows me to re-invent the wheel so much faster. I'm off to write a wizard, a wonderful wizard of odd... Link to comment Share on other sites More sharing options...
Administrators Jon Posted February 27, 2004 Author Administrators Share Posted February 27, 2004 Updated with the latest Function Include Library. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
redndahead Posted February 27, 2004 Share Posted February 27, 2004 Any chance that something like my UDF selector will be useful to include? I am pretty much done. I just need to get two fixes on the GUI and it should be ready.I'm not at home so I can not post my newest version but the gist of it can be found here.UDF SelectorMy newest version has these differences:1) Add/Remove Categories2) Add/Remove UDF's3) You select all the ones you want to add and then copy it to the clipboard. It can copy all the files or just #Include them into your script.What I still need to do:1) I am currently running into a problem with sorting comboboxes.2) I am running into a problem when I close a child window.Both I think are Au3Gui Bugs.red Link to comment Share on other sites More sharing options...
Administrators Jon Posted February 28, 2004 Author Administrators Share Posted February 28, 2004 Bugs fixed:http://www.hiddensoft.com/autoit3/files/unstable/3.0.100 (28th Feb, 2004)- Fixed: ExitLoop and ContinueLoop failed during a recursive function- Fixed: Sleep(0) (or < 0 ) no longer hangs- Fixed: $ with no name was allowed as a variable- Fixed: For Loop bug when used in recursion- Fixed: FileGetLongName() return value- Fixed: @UserProfileDir under 9x- Fixed: IsDeclared()- Fixed: Random() Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Administrators Jon Posted February 28, 2004 Author Administrators Share Posted February 28, 2004 (edited) Some more exitloop/continueloop bugs fixed - you could exit/continue a loop from another function Think I've got them all now Oh, added a few more scripts to the example directory too. Low on ideas though. Edited February 28, 2004 by Jon Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
CyberSlug Posted February 28, 2004 Share Posted February 28, 2004 - Fixed: Sleep(0) (or < 0 ) no longer hangs You broke the sleep docs "If you use a value less than 1, the script will pause indefinitely (useful with HotKeySet)."I'm sending updated versions of Sleep.txt and HotKeySet.txt Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
Administrators Jon Posted February 29, 2004 Author Administrators Share Posted February 29, 2004 Updated with: - WinTextMatchMode option - JP's help file changes I've also made all external links in the help files a different colour. T minus 10 hours. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
jlandes Posted February 29, 2004 Share Posted February 29, 2004 Just noticed that in the parameters section of DirRemove, it says "Path of the directory to create." I don't think that is right. Sincerely yours,Jeremy Landesjlandes@landeserve.com Link to comment Share on other sites More sharing options...
Administrators Jon Posted February 29, 2004 Author Administrators Share Posted February 29, 2004 Tsk. Fixed. T minus 3 hours. (countdown brought forward 1 hour due to stormy weather front - otherwise known as Jon wants to go to bed early ) Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
jpm Posted February 29, 2004 Share Posted February 29, 2004 Tsk.Fixed.T minus 3 hours. (countdown brought forward 1 hour due to stormy weather front - otherwise known as Jon wants to go to bed early )The delivery should be before March 1,2004 to use the Last 29th of Feb.Or you need to stay at beta level for 4 years Link to comment Share on other sites More sharing options...
Administrators Jon Posted February 29, 2004 Author Administrators Share Posted February 29, 2004 That's the plan. Nice to have a leap year release, even if we do find loads of bugs tomorrow Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
jpm Posted February 29, 2004 Share Posted February 29, 2004 That's the plan. Nice to have a leap year release, even if we do find loads of bugs tomorrow as you are somspored by Google the search of them will be easy Link to comment Share on other sites More sharing options...
jpm Posted February 29, 2004 Share Posted February 29, 2004 (edited) Tsk.Fixed.T minus 3 hours. (countdown brought forward 1 hour due to stormy weather front - otherwise known as Jon wants to go to bed early )I you choose the time most used in Europe not yours you can go to bed one hour earlier.you are GMT and most Europe is GMT+1 that is leaving 2h30 from now PS don't you have a smily which applause.we will certainly it. Still a room in the Clickable Smilies area Edited February 29, 2004 by jpm 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