Jump to content
Jfish

Introductory learn to program text using Au3

Recommended Posts

Wow, 3 years of hard work! you deserve a gold medal!

Thanks but I it was not exactly that.  I started it last year and probably had an older version installed at the time.  Also, I don't want anyone to think I hammered it out all day every day.  It was several weekends over the course of a several months. 

Share this post


Link to post
Share on other sites

@Jfish how technically you are create this PDF ?

Which program / tool you are using ?

 

I used Word "Save As" -> PDF.  I am not a PDF expert by any stretch.  I created the artwork in Photoshop working off an image I purchased from Shutterstock as the background.  The rest is just standard Word with a TOC saved as a PDF.

Share this post


Link to post
Share on other sites

My contributions to the AutoIt Community - ##AutoIt at freenode, real-time chat

3fHNZJ.gif

Spoiler

If I have hurt or offended you in anyway, Please accept my apologies, I never (regardless of the situation) intend to do that to anybody.

Share this post


Link to post
Share on other sites

@TheDcoder

I know how to use Word. The question was is it word ? Open Office ? or other tool ?
After @Jfish answers I know that it be easy to make any other description and just copy paste to the main document.

 

btw.

https://www.autoitscript.com/wiki/Tutorials#Learn_To_Program_Using_FREE_Tools_with_AutoIt

:)

 


Signature beginning:   Wondering who uses AutoIT and what it can be used for ?
* GHAPI UDF - modest begining - comunication with GitHub REST API Forum Rules *
ADO.au3 UDF     POP3.au3 UDF     XML.au3 UDF    How to use IE.au3  UDF with  AutoIt v3.3.14.x  for other useful stuff click the following button

Spoiler

Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. 

My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST APIErrorLog.au3 UDF - A logging Library *

My contribution to others projects or UDF based on  others projects: * _sql.au3 UDF  * POP3.au3 UDF *  RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF *

Useful links: * Forum Rules * Forum etiquette *  Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * 

Wiki: Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * 

IE Related:  * How to use IE.au3  UDF with  AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskScheduler

I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions *  EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *

"Homo sum; humani nil a me alienum puto" - Publius Terentius Afer
"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming"
:naughty:  :ranting:, be  :) and       \\//_.

Anticipating Errors :  "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty."

11

Signature last update: 2018-10-31

Share this post


Link to post
Share on other sites

Few proposals:

  • Add a quick description how to use forum.
  • Add a quick description about why and how to use Wiki

EDIT:

Such editorial amendments: Is each chapter can start on a new page?

 

I think anything more than a resources page with a few links to the forum and wiki is overkill :) 

Share this post


Link to post
Share on other sites

Agreed. No need to duplicate what has already been written.


UDF List:

 
_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_ArrayFilter/_ArrayReduce_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_DotNet_Load()/_DotNet_Unload()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 22/04/2018

Share this post


Link to post
Share on other sites

Quite extensive so have not had time to look at it all, but what I have seen is great, and it's very obvious to me the time and effort put into it.

Fantastic work 

Share this post


Link to post
Share on other sites

I think anything more than a resources page with a few links to the forum and wiki is overkill :) 

Ok but actualy there is no any kind of link, so my idea with your correction is ok.
I hope @Jfish will use it as good proposals.

 


Signature beginning:   Wondering who uses AutoIT and what it can be used for ?
* GHAPI UDF - modest begining - comunication with GitHub REST API Forum Rules *
ADO.au3 UDF     POP3.au3 UDF     XML.au3 UDF    How to use IE.au3  UDF with  AutoIt v3.3.14.x  for other useful stuff click the following button

Spoiler

Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. 

My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST APIErrorLog.au3 UDF - A logging Library *

My contribution to others projects or UDF based on  others projects: * _sql.au3 UDF  * POP3.au3 UDF *  RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF *

Useful links: * Forum Rules * Forum etiquette *  Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * 

Wiki: Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * 

IE Related:  * How to use IE.au3  UDF with  AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskScheduler

I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions *  EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *

"Homo sum; humani nil a me alienum puto" - Publius Terentius Afer
"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming"
:naughty:  :ranting:, be  :) and       \\//_.

Anticipating Errors :  "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty."

11

Signature last update: 2018-10-31

Share this post


Link to post
Share on other sites

Seems written in a gentle yet persuasive manner.  Good read so far!  Have noticed a few minor typos:

Page 6:

1) "We will start of by studying core concepts and will demonstrate them in actual programs that you can build and run."  of to off

Page 7:

1) "And did I mention it was FREE."  Should that have a question mark?

2) "That vocabulary word is not terribly important at the moment other than to note that the there are other names for other types of numbers." that the there

3) "So what’s in a name you ask? What difference does it make what I call a number that I want to use?" Make it more literal otherwise it seems like you're asking the reader this question.

"So what's in a name?  What difference does it make what I call a number that I want to use," you ask?  Somehting like that.

Page 8

1) "Many languages will make you “declare” your datatype before you starting using it." Starting to start

2) "One of the nice things about AutoIt is that is a “looser” language." is that it is

Page 11

1) "Likewise, using <=18 to determine who is not eligible would lead to the false conclusion that someone who’s age is equal to 18 is not eligible." who's to whose

Page 12

1) "Many of them are intuitive because we have seen t hem before outside of programming." "t hem"

@jaberwacky - I incorporated your changes and am impressed at how fast you posted them after my original post.  Geez, you missed your calling as an editor.  Thanks.

Share this post


Link to post
Share on other sites

I am only curious, but the examples and help file screenshots are from v3.3.8.1. Is there a reason for this?

Also this is wrong...

MsgBox("", ..., ...) ; Should ideally be an integer/messagebox constant

PS I can see it's a lot of work, so for that I say thank you. I have many suggestions/changes, but feel it's out of scope of what the PDF is for.

@guinness -  please forgive my ignorance here as I try to incorporate your comment I gather that you mean it is a general misuse of msgbox is it in passing the blank string as the first parameter?  If so, I confess guilt on that on a regular basis :>.  I will try to address that - but may take some time because I think there are multiple message boxes in the examples that do that. I will save that treat for the weekend  :sweating:.

Share this post


Link to post
Share on other sites

I too have found a few things so far. All pretty minor, and I haven't read a lot yet ... have a slight headache tonight.

Chapter 16 Compiling: Making youR programs into executables ............................................................... 142

Be more professional to say programs rather than progs I reckon.

As long as you follow the forum rules and are courteous you will NEARLY always get a super-fast response that guides you in the right direction.

As a testament to that there is a section in the forum that contains example applications and it is filled with many stunning entries that you can download, use, and even OFTEN change to suit your own needs.

 

Apart from spelling error, all pretty minor, but more correct.

I am pretty amazed at how much you have done so far, and it reads pretty well so far.

Are you going to add a History element in at all?

 

@TheSaint - I picked up your changes.  They will be in the next draft.  Thanks again.

Share this post


Link to post
Share on other sites

@TheSaint

I assume you mean a history of the AutoIt language?  If so, I don't think I would because in my mind that would be better suited for the help file.

Fair enough, though a small/brief overview for those not yet at the Help file point, would round off your book nicely I reckon ... give it a sense of completeness ... as far as that could ever be the case anyway.

In fact, just a quick overview and mention of further history information in the Help file and Wiki, would be the trick I reckon.

P.S. Perhaps as just an addendum at the end.

Edited by TheSaint

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Share this post


Link to post
Share on other sites

@Jfish, you're not the only one. In the help file we use

MsgBox($MB_SYSTEMMODAL, "", "Example message box") ; $MB_SYSTEMMODAL is better than 4096, as 4096 has little meaning if you don't look it up

; Or if you would like...

MsgBox($MB_OK, "", "Example message box") ; Again $MB_OK is clear as to what it will show compared to 0 or ""

As AutoIt isn't statically typed, "" becomes 0 e.g. If 0 = "" Then will result in true. Though I personally try to be explicit with everything, so I would write that as If 0 = Int("") Then I know I am comparing two integers.

Honestly though, I do take the JavaScript approach these days with triple equals (in AutoIt it's two) by which I compare both type and value (I noticed you didn't have this in the table =D)

What do you think this displays?

#include <MsgBoxConstants.au3>

Local $iAge = 20
Local $sAge = '20'

If $iAge == $sAge Then
    MsgBox($MB_SYSTEMMODAL, '', 'They are equal')
Else
    MsgBox($MB_SYSTEMMODAL, '', 'They are NOT equal')
EndIf

If $iAge = $sAge Then
    MsgBox($MB_SYSTEMMODAL, '', 'They are equal')
Else
    MsgBox($MB_SYSTEMMODAL, '', 'They are NOT equal')
EndIf

For some they would be like "what the h...?!"

Edited by guinness
Code highlighting is broken in my browser!

UDF List:

 
_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_ArrayFilter/_ArrayReduce_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_DotNet_Load()/_DotNet_Unload()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 22/04/2018

Share this post


Link to post
Share on other sites

New version (1.1.0) posted that includes all the suggested changes (THANK YOU) with the exception of @Guinness' MsgBox note.  That is perfectly legit and when I catch my second wind I will circle back on it (requires wholesale gutting of most code snippet images).  This pass took a long time because I cross referenced each code snippet, made sure I had it on file (and if not, I recreated it).  Then I organized the code by directories and example numbers that matched the text in the book.  Finally, I pushed out the updated text and companion code file(s) :sweating:.  More to follow after my eyes un-cross.  As always, comments and suggestions most welcome.

Edited by Jfish

Share this post


Link to post
Share on other sites

Chapter Four:

Page Thirteen:

1) "Once their site you will see a section for downloads." Once on

2) You use their and they to refer to Jon's site.  I wonder if you should mention Jon specifically or reword it so that it refers to a single site owner?

3) "If they re-design their site it could move but as of the printing of this book you can find it here:" colon rather than a full stop

Page Sixteen:

1) "NOTE: the versions numbers change with each release." versions --> version

2) "Next you will be in the installer that will walk you through the options to install the AutoIt applications." application

Page Seventeen

1)  "The next screen is asking ..."  Seems like it should be, "The next screen asks...".

Page Twenty-Two:

1) "Scite (we will use this to edit scripts)" SciTE

2) Images are too big for the table.

Page Twenty-Three:

1) "Scite is the tool we will use to create, edit, and run our programs." SciTE ... Might want to do a general whole file search & replace for this.

2) "It has a built in syntax for AutoIt that will help make our code more readable." syntax highlighter

3) "also known as script" as a

Page Twenty-Six:

1) "We could optionally supply a timeout parameter so that the message box closes automatically after so many seconds or we could leave it our entirely and it will use the default behavior that requires a user to click “OK” to close it." leave it our --> leave it out

2) "The hwnd optional parameter is a bit advanced for purposes of this discussion but is handles are basically ways to refer to resources that we want to interact with." "for the purpose of this" and "but is handles" to "but handles".  Also, this might really be a run-on sentence.  Seems like it should be broken into two at the end of "discussion".  Also, the introductory explanation of handles assumes that the reader knows that hwnd is a handle.

Page Twenty-Seven:

1) "Now go back to Scite and select Tools from the top menu, then “Go” (this is how we run the script):" quoted "Go" but not "Tools".

2) "Next, save the file with the name hello world.au3" hello world.au3 not within quotes.

Page Twenty-Nine:

1) "This is different than when we passed a blank argument to the optional parameter of flag." flag is not an optional parameter.

Share this post


Link to post
Share on other sites

@jaberwacky Thanks again!  Good stuff.  I plan to turn another version over the weekend if possible.  Whew ... lots of work but I think it is shaping up.  I appreciate everyone's comments and interest.  If anyone else has any comments please shoot them over and I will try to incorporate them on the next pass.

Share this post


Link to post
Share on other sites

V 1.2 has been loaded.  It incorporates the last round of comments I received on this thread (special thanks to @jaberwacky), addresses the MsgBox issue from @Guinness, gutted all images that showed a message box (of which there were many) and replaced them with new images, added an Appendix containing all the code samples for those who don't want a separate file, and some other small tweaks.  Once thing that I lost seems to be the ability to upload a preview image for the download page.  I am not sure why that is?  The files I have placed up there are about 5.2 MB total.  ***I even zipped the file and git it down to 4.6MB ... still no luck***.  The image disappeared when I was doing my update and attempts to put it back (file size about 220MB) seem to be failing.  Any advice on that would be appreciated.

***NEW***: I also published it to the Amazon site as a Kindle pub.  They make you charge a fee but I will donate back 100% of the proceeds (if any) to the forum.  Pass the link along if you want: http://www.amazon.com/dp/B0137EKESI

 

 

Edited by Jfish
New file size referenced.

Share this post


Link to post
Share on other sites

Still having problems trying to put the cover back.  I looked at the HTTP traffic on the browser and it gives an OK response.  Not sure why it does not take? :think:

Maybe this should be a separate thread somewhere but I am not sure if it is just my issue (user error / file sizes etc) or something with the site.

Edited by Jfish

Share this post


Link to post
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

  • Similar Content

    • By mLipok
      In documentation for:
       
      #include <FTPEx.au3> _FTP_Connect ( $hInternetSession, $sServerName, $sUsername, $sPassword [, $iPassive = 0 [, $iServerPort = 0 [, $iService = $INTERNET_SERVICE_FTP [, $iFlags = 0 [, $fuContext = 0]]]]] ) There are two parameters for Passive:
       
      My question is: 

      What is a difference beetwen  using :
      $iPassive = 1
      and
      $iFlags =     $INTERNET_FLAG_PASSIVE
      Regards,
      mLipok
       
    • By geekyworld
      Hi. I want to read the help file on my Kindle ebook reader (to protect my eyes). Is it available in Kindle or epub format? I tried converting it myself but the results were not very good.
      --Thanks!
    • By BlazerV60
      Greetings people of the AutoIt community!
      I think I have discovered some possible wrong verbiage in the HelpFile.
      I'm trying to make my software detect the _IsPressed("KEY") for the RIGHT MENU button on the keyboard. 
      You all have a RIGHT MENU button on your keyboard (maybe you haven't noticed it), it's they key between the Right ALT key and the Right CTRL Key.
      However!!!!!!! In the helpfile it says the RIGHT MENU key is "A5", that is not true for me. A5 is actually the Right ALT key.
      So my question is, what is the _IsPressed HexKey for the RIGHT MENU button?
       
      #include <Misc.au3> #include <MsgBoxConstants.au3> Local $hDLL = DllOpen("user32.dll") While 1 If _IsPressed("A5", $hDLL) Then Sleep(100) msgbox(0,"Test", "Pressed!") Sleep(250) EndIf WEnd DllClose($hDLL)  
      If you try to run the above code, the msgbox will only appear if you press the Right ALT key, even though the helpfil says that A5 is the Right Menu Key hex.
       
      Thank you,
      Brian
    • By nitekram
      Was wondering if we might be able to add a link to it at the top bar in browser, in between Wiki and Bug Tracker?
      I believe this is the link,not sure if it is up to date?
      https://www.autoitscript.com/autoit3/docs/
       
    • By Jfish
      I wrote an introductory text for new programmers to learn how to code using AutoIt.   It follows along with the help file for the most part – but provides additional context and attempts to connect all the information in a cohesive way for someone without any programming experience.  I find the help file to be an AMAZING resource and the text I wrote in no way reflects any opinion to the contrary.  Rather, it was created from the perspective of someone who struggled early on with the most basic concepts and thought that a hand-holding guide could be useful.  I was also inspired by code.org who is trying to encourage people to learn to code.  I thought – what better way than to use free tools that you can download at any time with access to an amazing community?  If only there was a guide to walk people through it …
      Full discussion about the file can be found here: https://www.autoitscript.com/forum/topic/174205-introductory-learn-to-program-text-using-au3/
×
×
  • Create New...