Jump to content

Recommended Posts

Posted

I think so.

 
As I understand that ultimately it will also have representation on calltips guide in SciTE4AutoIt?

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

Since I don't use the Array I will have to do a little bit of digging to see what is the supported subscript dimension.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted

Most of the array functions won't work with anything other than 1D arrays.

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

  Reveal hidden contents

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Posted
  On 12/30/2013 at 1:07 AM, BrewManNH said:

Most of the array functions won't work with anything other than 1D arrays.

That being said, I still need to check as you haven't pointed out which functions. So I don't want to make an assumption like this.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted

Just an idea but would it be possible with each new version of AutoIt that the Index listing in the Help file be colour coded showing, for example, items in red =  script breaking changes, blue = new items, green = redundant items (but still usable) and so on?  Perhaps to difficult but just in case it isn't..

Thanks for all the work the developers are doing,

jury

Posted

Add to Trac as a feature request please.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted (edited)
First (at the beginning), I wanted to ask:
Is the version of OnLine documentation also contains a description of all the UDF?
 
but....
 
Then I searched a bit and I was able to find:
I checked the main page of the documentation:
Unfortunately, there's no link to any UDF
And here my questions arises: 
 
1.
EDIT:
Why is the main page there is a link to all the UDF?
Why in the main page there is no a link to all the UDF?
I mean here:
 
 
2.
Can You add:
 
something like this:
Function Reference

I mean: User Defined Functions

  • Array Management
  • Clipboard Management
  • Color Management
  • ....
  • ...

 

Edited by mlipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted (edited)

in

_WinAPI_BackupRead

in paramteres:

$iLength The size of the buffer, in bytes. The buffer size must be greater than the size of the
$tagWIN32_STREAM_ID structure. 
------------------------------------------------
 (see MSDN for more information)

above this line:

(see MSDN for more information)

is additional frame element

 

after checking in  _WinAPI_BackupRead.txt

$iLength
    The size of the buffer, in bytes. The buffer size must be greater than the size of the
    $tagWIN32_STREAM_ID structure.

    (see MSDN for more information)

I see there is additional new/blank line without TAB

Is that intentional ?

 

Edit 1:

the same I notice in

_WinAPI_BackupWrite

Edit 2:

_WinAPI_CompareString

 

Edit 3:

Such txt file may be found in this way - RegExp:

(?is)@@ParamTable@@.*?\r\n\r\n.*?@@End@@.*?###ReturnValue###

Edit 4:

as I read in "Readme.txt"

  Quote

 

@@ParamTable@@

Description
     ParamTables are special, two-column tables
     where the first column is only one line,
     but the second column can be many lines.
How To Denote
     Any information that appears in the second
     column must be indented with at least one tab.
     Each entry that is NOT indented begins a new row.
     DO NOT LEAVE ANY BLANK LINE BETWEEN HERE AND "@@End@"
@@End@@
 

 

So is that an bug/issue in "_WinAPI_BackupRead.txt" and these other files ?

Edited by mlipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

Static keyword:

  Quote

 

If the scope specifier Local is used, then the static variable is visible and usable only in the function in which it is declared and it's resolved in the environment of execution (logical scope).

 

logical scope? ^^

Posted

So you think it should be removed?

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted

Logical scope = Function or Global level of a script

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

  Reveal hidden contents

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Posted

The environment of execution is scope in which the code is run. BrewManNH's bifurcation is correct but full definition of the term knows for another sub-context which then fully determines the environment of code execution.

You can see it explained through means of code in this small example:

Func ABC($bSomething = 0)

    Switch $bSomething
        Case 0
            Local Static $vSomething = "2014" & @CRLF
        Case 1
            Local Static $vSomething = "Happy New Year" & @CRLF
        Case 2
            Local Static $vSomething = "Happy New Year "
    EndSwitch

    ConsoleWrite($vSomething)

EndFunc


ABC(0)
ABC(1)
ABC(2)
ABC(0)

...The code is purely theoretrical.

♡♡♡

.

eMyvnE

Posted

mlipok,

_WinAPI_CompareString() is fine, but I changed the other two functions (+below) by removing that line as it has no place in a new row.

_WinAPI_BackupRead.txt
_WinAPI_BackupWrite.txt
_WinAPI_BrowseForFolderDlg.txt
_WinAPI_ChangeWindowMessageFilterEx.txt
_WinAPI_CopyFileEx.txt
_WinAPI_CreateFileEx.txt
_WinAPI_FindTextDlg.txt
_WinAPI_GetDeviceGammaRamp.txt
_WinAPI_GetWindowSubclass.txt
_WinAPI_MoveFileEx.txt
_WinAPI_OpenFileById.txt
_WinAPI_PageSetupDlg.txt
_WinAPI_PlaySound.txt
_WinAPI_PrintDlg.txt
_WinAPI_PrintDlgEx.txt
_WinAPI_RegisterPowerSettingNotification.txt
_WinAPI_RemoveWindowSubclass.txt
_WinAPI_ReOpenFile.txt
_WinAPI_ReplaceTextDlg.txt
_WinAPI_SetCurrentProcessExplicitAppUserModelID.txt
_WinAPI_SetDeviceGammaRamp.txt
_WinAPI_SetTimer.txt
_WinAPI_SetWindowSubclass.txt
_WinAPI_ShellChangeNotify.txt

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted
  On 12/31/2013 at 3:09 PM, trancexx said:

The environment of execution is scope in which the code is run. BrewManNH's bifurcation is correct but full definition of the term knows for another sub-context which then fully determines the environment of code execution.

You can see it explained through means of code in this small example:

Func ABC($bSomething = 0)

    Switch $bSomething
        Case 0
            Local Static $vSomething = "2014" & @CRLF
        Case 1
            Local Static $vSomething = "Happy New Year" & @CRLF
        Case 2
            Local Static $vSomething = "Happy New Year "
    EndSwitch

    ConsoleWrite($vSomething)

EndFunc


ABC(0)
ABC(1)
ABC(2)
ABC(0)

...The code is purely theoretrical.

 

Thank you! Same to you and everyone else. :)

Posted

I am not following. Sorry.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted

As mlipok described in post #267a link to the online documentation for the UDFs is missing in 3.3.10.x as it was in 3.3.8.1.

Should we open a trac ticket?

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted (edited)

All,

If there is a definite issue post in Trac, as I won't always be able to follow this thread. This is described already in the first post. Thanks.

Edited by guinness

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted
  On 1/2/2014 at 11:51 AM, water said:

As mlipok described in post #267a link to the online documentation for the UDFs is missing in 3.3.10.x as it was in 3.3.8.1.

Should we open a trac ticket?

Could you show me where it was before please. On what page? As I see it this is a feature request because the UDFs in the chm version are in the TOC but not on the index page, which is where it's missing.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

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