Jump to content

Recommended Posts

Posted

I wouldn't do that. It's a horizontal reference table: I mean it has uses well outside Send. If something has to be changed and if duplication is *-really-* a big problem, I'd say refer to the Appendix in Send page. Else people will have hard time finding it albeit they knew where to find it for years.

  Reveal hidden contents

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Posted
  On 8/14/2013 at 5:18 PM, jchd said:

I wouldn't do that. It's a horizontal reference table: I mean it has uses well outside Send. If something has to be changed and if duplication is *-really-* a big problem, I'd say refer to the Appendix in Send page. Else people will have hard time finding it albeit they knew where to find it for years.

Don't worry I wasn't going to do that.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted

If someone wants to create an example and send to me then I would be happy to include.

#include <GUIConstantsEx.au3>

Example()

Func Example()
    ; Create a GUI with various controls.
    Local $hGUI = GUICreate("Example")
    Local $iOK = GUICtrlCreateButton("OK", 310, 370, 85, 25)

    ; Display the GUI.
    GUISetState(@SW_SHOW, $hGUI)

    While 1
        Switch GUIGetMsg()
            Case $GUI_EVENT_CLOSE, $iOK
                ExitLoop

        EndSwitch
    WEnd

    ; Delete the previous GUI and all controls.
    GUIDelete($hGUI)
EndFunc   ;==>Example

Use the template above please.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted

The concatenation operator "&" is in the mathematical operators section in the help file's Language Reference => Operators page, it's not a mathematical operator if anything it's an assignment operator.

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

guinness

#include <WindowsConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>

Example()

Func Example()
    ; Create a GUI with various controls.
    Local $hGUI = GUICreate("Example", 420, 200, -1, -1, -1, $WS_EX_ACCEPTFILES)
    Local $iLabel = GUICtrlCreateLabel("drag-and-drop", 10, 10, 400, 40, $WS_BORDER)
    GUICtrlSetState(-1, $GUI_DROPACCEPTED)
    Local $iInput = GUICtrlCreateInput("", 10, 60, 400, 22)
    GUICtrlSetState(-1, $GUI_DROPACCEPTED)

    ; Display the GUI.
    GUISetState(@SW_SHOW, $hGUI)

    While 1
        Switch GUIGetMsg()
            Case $GUI_EVENT_CLOSE, $iOK
                ExitLoop

            Case $GUI_EVENT_DROPPED
                If @GUI_DropId = $iLabel Then GUICtrlSetData($iLabel, @GUI_DragFile)
        EndSwitch
    WEnd

    ; Delete the previous GUI and all controls.
    GUIDelete($hGUI)
EndFunc   ;==>Example
Edited by AZJIO
Posted
  On 8/14/2013 at 7:11 PM, BrewManNH said:

The concatenation operator "&" is in the mathematical operators section in the help file's Language Reference => Operators page, it's not a mathematical operator if anything it's an assignment operator.

Done.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted
  On 8/14/2013 at 7:05 PM, AZJIO said:

_GUICtrlListView_Create changed his position, like many 1000 functions, but I easily found a new position and not getting confused

Sorry? I don't understand.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted
  On 8/14/2013 at 7:20 PM, AZJIO said:

guinness

#include <WindowsConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>

Example()

Func Example()
    ; Create a GUI with various controls.
    Local $hGUI = GUICreate("Example", 420, 200, -1, -1, -1, $WS_EX_ACCEPTFILES)
    Local $iLabel = GUICtrlCreateLabel("drag-and-drop", 10, 10, 400, 40, $WS_BORDER)
    GUICtrlSetState(-1, $GUI_DROPACCEPTED)
    Local $Iinput = GUICtrlCreateInput("", 10, 60, 400, 22)
    GUICtrlSetState(-1, $GUI_DROPACCEPTED)
    Local $iOK = GUICtrlCreateButton("OK", 310, 370, 85, 25)

    ; Display the GUI.
    GUISetState(@SW_SHOW, $hGUI)

    While 1
        Switch GUIGetMsg()
            Case $GUI_EVENT_CLOSE, $iOK
                ExitLoop

            Case $GUI_EVENT_DROPPED
                If @GUI_DropId = $iLabel Then GUICtrlSetData($iLabel, @GUI_DragFile)
        EndSwitch
    WEnd

    ; Delete the previous GUI and all controls.
    GUIDelete($hGUI)
EndFunc   ;==>Example

Thanks. I changed $Label and $Input to $iLabel and $iInput. Other than that good example.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted

Number - It can be described in the help file

GUICreate('Numbers', 250, 130)
GUICtrlCreateLabel('', 10, 10, 150, 17)
GUICtrlSetBkColor(-1, '0xfdffae')
GUICtrlCreateLabel('', 10, 30, 150, 17)
GUICtrlSetBkColor(-1, 0xfdffae)
GUICtrlCreateLabel('', 10, 50, 150, 17)
GUICtrlSetBkColor(-1, 16646062)
GUICtrlCreateLabel('', 10, 70, 150, 17)
GUICtrlSetBkColor(-1, '16646062')
GUICtrlCreateLabel('', 10, 90, 150, 17)
GUICtrlSetBkColor(-1, 1.6646062e7)
GUISetState()
Do
Until GUIGetMsg() = -3
Posted

The example is using magic numbers and lacking comments. Sorry AZJIO.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted

Forget it, don't worry.

  Reveal hidden contents

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Posted

in StringRegExpReplace

please add 

  Quote

 

See also the Regular Expression tutorial, in which you can run a script to test your regular expression(s).

like in StringRegExp

 

In addition, I have a proposal for both StringRegExpReplace and StringRegExp:
 
Is the text "See also the Regular Expression tutorial, In Which you can run a script to test your regular expression (s)." could be removed, and instead just make a text link to "Tutorial - Regular Expression" in the "Related"

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

in StringRegExpReplace 

 

Please add StringReplace in the "Related"

Just like StringRegExp have StringInStr 

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
  On 8/15/2013 at 9:44 AM, mlipok said:

 

in StringRegExpReplace

please add 

like in StringRegExp

 

In addition, I have a proposal for both StringRegExpReplace and StringRegExp:
 
Is the text "See also the Regular Expression tutorial, In Which you can run a script to test your regular expression (s)." could be removed, and instead just make a text link to "Tutorial - Regular Expression" in the "Related"

 

Done. Thanks for the proposal but unfortunately it's not possible with adding to the related section.

 

  On 8/15/2013 at 9:47 AM, mlipok said:

in StringRegExpReplace 

 

Please add StringReplace in the "Related"

Just like StringRegExp have StringInStr 

Done.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted
  On 8/15/2013 at 10:04 AM, guinness said:

Thanks for the proposal but unfortunately it's not possible with adding to the related section.

 

I understand the "Related" links are only for function and not to other parts of the documentation.

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)

please

In FileSetAttrib

  Quote

Parameters file pattern File(s) to change, e.g. C:*.au3, C:Dirplease

 change to 

  Quote
file pattern File(s) to change, e.g. C:*.au3, C:Dir   (* and ? wildcards accepted - See Remarks)

or even

  Quote
file pattern File(s) to change.  (* and ? wildcards accepted - See Remarks)

 

like in

FileFindFirstFile

do the same with

FileSetTime

and modyfi

FileCopy

from that

  Quote
source The source path of the file(s) to copy. Wildcards are supported.

 

to 

  Quote
source The source path of the file(s) to copy. (* and ? wildcards accepted - See Remarks)

 

the same with

FileDelete

 

Question:

in FileMove

  Quote
source The source path and filename of the file to move. (* wildcards are supported)
dest The destination path and filename of the moved file. (* wildcards are supported)

 

 

can be modfied adequately as the other

  Quote
source The source path and filename of the file to move. (* and ? wildcards accepted - See Remarks)
dest The destination path and filename of the moved file. (* and ? wildcards accepted - See Remarks)

 

and at least

in  FileFindFirstFile

  Quote
filename The path and file name. (* and ? wildcards accepted)

 

change to 

  Quote
filename The path and file name. (* and ? wildcards accepted - See Remarks)
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
  On 8/15/2013 at 11:42 AM, mlipok said:

please

In FileSetAttrib

 change to 

or even

 

 

like in

FileFindFirstFile

do the same with

FileSetTime

and modyfi

FileCopy

from that

 

to 

the same with

FileDelete

 

Question:

in FileMove

can be modfied adequately as the other

 

 

and at least

in  FileFindFirstFile

change to 

Done. I look at your proposed changes and amended accordingly.

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