Jump to content

Recommended Posts

  • Administrators
Posted

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?


 

Posted (edited)

Whats the accepted answer on that one these days?  Change the autoit window title?

Um, you're asking us?!? take your pick

Off topic: Is there a limit to loop-nesting. I tried a 650-deep bunch of while loops and it worked B) 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 :whistle:

Edited 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!
  • Administrators
Posted

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.


 

  • Administrators
Posted

Um, you're asking us?!?

I'm not the best v3 scripter by a long way :whistle:


 

Posted

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 :whistle: ) 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. B)

Oh well, I will probably be busy enough with all the debug stuff.

David Nuttall
Nuttall 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...

Posted

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 Selector

My newest version has these differences:

1) Add/Remove Categories

2) Add/Remove UDF's

3) 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 :whistle:

  • Administrators
Posted

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()


 

  • Administrators
Posted (edited)

Some more exitloop/continueloop bugs fixed - you could exit/continue a loop from another function :whistle:

Think I've got them all now B)

Oh, added a few more scripts to the example directory too. Low on ideas though.

Edited by Jon


 

  • Administrators
Posted

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.


 

Posted

Just noticed that in the parameters section of DirRemove, it says "Path of the directory to create." I don't think that is right. :whistle:

Sincerely yours,Jeremy Landesjlandes@landeserve.com

  • Administrators
Posted

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 :whistle: )


 

Posted

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 B) )

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 :whistle:

  • Administrators
Posted

That's the plan. Nice to have a leap year release, even if we do find loads of bugs tomorrow :whistle:


 

Posted

That's the plan.  Nice to have a leap year release, even if we do find loads of bugs tomorrow  :whistle:

as you are somspored by Google the search of them will be easy B)
Posted (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 :angry: )

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 :whistle:

PS don't you have a smily which applause.Posted Image

we will certainly it. Still a room in the Clickable Smilies area B)

Edited by jpm

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...