Jump to content

Recommended Posts

Posted (edited)

_GUICtrlTreeView_GetChildCount

Returns -1 If 0 item

StringReplace

  Quote

If the replacestring cannot be stored a blank string is returned and @error is set to 1.

Do not understand the phrase, and it reveals the mechanism of function, but not the cause.

If not enough memory to perform the replacement, ...

Edited by AZJIO
Posted

This may sound picky, but I guess that's okay in this thread.

Sin, Cos and Tan all return blah blah ... of number

ASin, ACos and ATan all return blah blah ... of expression

The expression is a number which represents an angle (presumably). It's all clear and doesn't require change, but perhaps it could be a little more consistant. You might also want to insert the word 'the' before the word 'expression', but that's perhaps more of a style issue in this case.

Posted (edited)

  On 9/25/2012 at 1:36 PM, 'czardas said:

This may sound picky, but I guess that's okay in this thread.

Sin, Cos and Tan all return blah blah ... of number

ASin, ACos and ATan all return blah blah ... of exp<b></b>ression

The exp<b></b>ression is a number which represents an angle (presumably). It's all clear and doesn't require change, but perhaps it could be a little more consistant. You might also want to insert the word 'the' before the word 'exp<b></b>ression', but that's perhaps more of a style issue in this case.

Done. Edited by guinness

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted (edited)

More nit picking: The function 'Dec'

From the Help File

Default = string is interpretted as integer. See remarks.

1 = string is interpretted as 32bit integer

2 = string is interpretted as 64bit integer

3 = string is interpretted as double

Failure: Returns 0 sets @error to 1 an invalid hex string was used or if an overflow occurs.

Default behavior is that input string is treated as integer. In this case if the result is within range of 32bit integer, it's returned as 32bit integer and if not it's returned as 64bit integer. Both signed


Suggested Changes

Default = string is interpretted as an integer. See remarks.

1 = string is interpretted as a 32bit integer

2 = string is interpretted as a 64bit integer

3 = string is interpretted as a double

Failure: Returns 0 and sets @error to 1 if an invalid hex string was used or if an overflow occurs.

Default behavior is that the input string is treated as an integer. In this case if the result is within range of a 32bit integer, it's returned as a 32bit integer and if not it's returned as a 64bit integer - both signed.

Edited by czardas
Posted (edited)

I'm only coming across one or two mistakes now because I'm tooth combing something I'm workiing on. I have all the respect in the world for the people behind the AutoIt code There are some brilliant sounding new features currently under development and I really can't wait to try the next beta.

Edot: Spelling

Edited by czardas
Posted

  'czardas said:

More nit picking: The function 'Dec'

Done. Thanks for that.

Also, you know you spelt 'Edit' wrong in your edited post?

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted

  On 9/22/2012 at 2:14 PM, 'AZJIO said:

_GUICtrlTreeView_GetChildCount

Returns -1 If 0 item

Done.

  On 9/22/2012 at 2:14 PM, 'AZJIO said:

StringReplace

Do not understand the phrase, and it reveals the mechanism of function, but not the cause.

If not enough memory to perform the replacement, ...

I have no idea right now.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted

  On 9/25/2012 at 8:46 PM, 'czardas said:

I dod it on purpose. :lol:

I thought it moght be!

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted

AZJIO,

I will look at your changes soon, I've already started but will need a day or so to finish the rest.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted

  On 9/26/2012 at 9:05 PM, 'AZJIO said:

The functions of the ini can add a line:

If you want to use ini file in Unicode format, first create the .ini file by using the FileOpen function with the encoding "Unicode UTF16 Little Endian".

Done. Only added to IniWrite and IniWriteSection.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted

  On 9/27/2012 at 7:49 PM, 'AZJIO said:

_GUICtrlEdit_BeginUpdate

Change line places to display the icon

_GUICtrlStatusBar_SetText($hStatusBar, @TAB & "Lines: " & _GUICtrlEdit_GetLineCount($hEdit))
_GUICtrlStatusBar_SetIcon($hStatusBar, 0, 97, "shell32.dll")
Done.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted (edited)

  Quote

Done.

25 files in the section "_GUICtrlEdit_..." contain these lines. I think this is better deleted icon.

_GUICtrlEdit_GetModify, _GUICtrlEdit_SetModify

Remove the "GUICtrlStatusBar" and use the "MsgBox"

_GUICtrlEdit_GetLimitText, _GUICtrlEdit_SetLimitText

Remove the second "MsgBox" and leave a comment.

_GUICtrlEdit_SetPasswordChar

("(Internal) Edit Get Password Char

_GUICtrlEdit_GetRECT, _GUICtrlEdit_GetRECTEx, _GUICtrlEdit_SetRECT, _GUICtrlEdit_SetRECTEx, _GUICtrlEdit_SetRECTNP, _GUICtrlEdit_SetRectNPEx

_GUICtrlStatusBar_SetText($hStatusBar, "Topt: " & $aRect[1], 2)

Edited by AZJIO
Posted (edited)

For MSDN function help, visual studio uses the following URL:

http://msdn.microsoft.com/query/dev10.query?appId=Dev10IDEF1&l=EN-US&k=k(GetModuleHandle);k(TargetOS-WINDOWS)&rd=true

This is very good as it takes you straight to the page you want every time for functions and structures.

Given that MSDN changes its links fairly often, a possible approach is to setup a AutoIt redirection page that does a simple replacement in a URL, so that the helpfile doesn&amp;amp;#39;t have to be changed every time MSDN changes. Does rely on the AutoIt server to be up, and no idea what kind of load this will generate. I&amp;amp;#39;m sure enough people use MSDN that changes will be noticed, and there is always the backup plan of mimicing a google search with the &amp;amp;quot;I&amp;amp;#39;m Feeling Lucky&amp;amp;quot; button as that gets to the right page 90% of the time.

Edit: A better query string is here: http://pastie.org/5123287

Edited by Mat
Posted (edited)

  On 10/1/2012 at 12:11 PM, 'KaFu said:

I don't know if this has already been fixed, but when I search my 3.3.8.0 helpfile for the (deprecated ?) function "GUICtrlUpdate" I get 26 hits.

Then it should be in the history, so I don't think it's ever been a function, more likely it is just an odd way to refer to the "GUI Control update" functions page/list, which it links to.

What do you think it should say instead?

Edited by AdmiralAlkex
Posted

I can't find it in the changelog either and as AdmiralAlkex said it's just a 'title' for the GUICtrlSet*** functions.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted

  On 9/30/2012 at 8:36 PM, 'Mat said:

For MSDN function help, visual studio uses the following URL:

http://msdn.microsoft.com/query/dev10.query?appId=Dev10IDEF1&l=EN-US&k=k(GetModuleHandle);k(TargetOS-WINDOWS)&rd=true

This is very good as it takes you straight to the page you want every time for functions and structures.

Given that MSDN changes its links fairly often, a possible approach is to setup a AutoIt redirection page that does a simple replacement in a URL, so that the helpfile doesn&amp;amp;#39;t have to be changed every time MSDN changes. Does rely on the AutoIt server to be up, and no idea what kind of load this will generate. I&amp;amp;#39;m sure enough people use MSDN that changes will be noticed, and there is always the backup plan of mimicing a google search with the &amp;amp;quot;I&amp;amp;#39;m Feeling Lucky&amp;amp;quot; button as that gets to the right page 90% of the time.

I would say this is for the Dev team to decide whether or not it's a good idea.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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