Jump to content

Post Documentation Bugs Here


Recommended Posts

  • Replies 86
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

jpm, I can test and document both tomorrow depending on what Jon says about this issue

G'night

you should say g'morning . I am in France :whistle:

I did a test. I appear to do the same so we may want to remove one, nevertheless the StringFormat is working the sameway as the Sprintf Windows/C API

Do what you feel.

Link to comment
Share on other sites

  • Developers

The example in the HotKeySet has an error in it:

SplashTextOn("myMsgScreen", "Paused")

WinShow("pauseSpecialScrn", "", @SW_HIDE)

Maybe we can update it with this one , since we now can truly pause a script with the fix in the last update.

Global $Paused
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{ESC}", "Terminate")

While 1;infinite loop
   sleep(100)
      if not winexists("pauseSpecialScrn", "Running") then 
         SplashTextOn("pauseSpecialScrn", "Running")
      EndIf
  ; stuff to do goes here ...
Wend

Func TogglePause()
    $Paused = NOT $Paused
    while $Paused
      if not winexists("pauseSpecialScrn", "Pausing") then 
         SplashTextOn("pauseSpecialScrn", "Pausing")
      EndIF
      sleep(100)
    Wend
    Splashoff()
EndFunc

Func Terminate()
   Splashoff()
   $mrc=Msgbox(4,"Cancel Execution?","Your pressed ESC. Do you want to cancel the Program?")
   if $mrc = 6 then Exit
EndFunc
Edited by JdeB

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

I'm not uploading any fixes tonight, but see the To-Do List

Also, another idea for an appendix entry:  List of Error Codes. Eh?

Great idea but where can we get them all? Right now I need the error codes for RegSvr32 and can't find them. I would be happy if I could just verify the code for "Success".

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Link to comment
Share on other sites

Could we please have more examples under the new and cool StringFormat() function?

I'm not at all fluent in C, and a few clever examples would be really really helpful to people like me. :iamstupid: .. perhaps an example per formatting feature?

Also .. what's the difference between the types d and i ..? :whistle:

Edited by trids
Link to comment
Share on other sites

Could we please have more examples under the new and cool StringFormat() function?

I'm not at all fluent in C, and a few clever examples would be really really helpful to people like me. :iamstupid: .. perhaps an example per formatting feature?

Also .. what's the difference between the types d and i ..? B)

I update the doc to have the complete description I still need to take time to find good example. Perhaps CyberSlug have good ideas :whistle:

For the i,d that's in the doc from AutoIt stand point they do the same.

I leave that in case a C guy is using one or the other.

Link to comment
Share on other sites

  • Administrators

I'll should have another batch ready soon, pending Jon's judgment of some bug reports.

Jon, could you integrate by Feb8 doc fixes?  (Or are you waiting until the new batch is ready?)

I had. I think.

Edit: No, nevermind.

Link to comment
Share on other sites

With all the questions about how to check array size, how about putting UBound in the See Also section of Dim? And putting Dim in the See Also of UBound?

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

Link to comment
Share on other sites

Good point, Nutster.

I've also noticed a lot of questions about variables inside of strings. (People put the $var inside the string instead of concatenating it with &)

I should be getting back around to doc updates soon :whistle:

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

Random function:

The period, 219937-1, and the order of equidistribution... should read

The period, 2<sup>19937</sup>-1, and the order of equidistribution...

Other docs changes will be based on what people decide to do with Random.

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

Link to comment
Share on other sites

I found a problem in the ControlCommand docs (3.0.93). The table reads:

"GetLineCount", "" Returns # of lines in an Edit

"GetLineCount", "" Returns the line # where the caret is of an Edit

when it should be:

"GetLineCount", "" Returns # of lines in an Edit

"GetCurrentLine", "" Returns the line # where the caret is of an Edit

Link to comment
Share on other sites

  • Developers

ran FP spellcheck in the for the updated pages and got the following hits:

credits.htm
   modifiying => modifying
Functions.htm
   hexidecimal => hexadecimal 
Index.htm
   poweful => powerful 
macros.htm
   primarly => primarily 
Appendix/Ascii.htm
   Cloing => Closing
Keywords/include.htm
   antother => another 
Functions/AutoItSetOption.htm
   ithout => Without  (ExpandEnvStrings)
   misspelt => misspelled  (MustDeclareVars)
Edited by JdeB

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

  • Developers

just saw this one in FileGetDate:

$array[3] = hour (range 01 - 23)

shouldn't that be:

$array[3] = hour (range 00 - 23)

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

Thanks for all the replies so far. I see that Jon is pushing for a Feb 28 release date, so I'll get working on doc updates.

- RegRead/RegWrite require keyname to be ALL CAPS

- HotKeySet--note that Num/Caps/ScrollLock will still toggle state if captured by HotKeySet

- Send / ControlSend notes.... *waves to Valik*

- check about FileReadLine/FileWriteLine

- other new functions (ToolTip, WinGetCaretPos)

- AutoItSetOption....

- ToolTip lacks multi-line support

IMPORTANT--hope this makes sense:

Tell Jon that all folder icons in the help file contents pane need pages linked to them. "Using AutoIt"--the very first folder--needs this. For the very longest time, I was clicking the plus sign next to the folder instead of the folder itself, and I didn't realize there was a page of "a complete list of the keywords available in AutoIt"!!!

I also need to update the TO-DO list!

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!
Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...