Jump to content
Sign in to follow this  
remoras

How to start?

Recommended Posts

Hello community I just started to read the Powershell in a month of lunches book, I want to learn Powershell and make Gui's to execute Powershell scripts, I know that AutoIt is capable for a lot of things included Gui's, My question is how to start my journey, I have no prior programming experience, should I learn only powershell first and then jump to AutoIt, and are there any books for AutoIt, and more important where can I find a Gui builder for AutoIt, I read somewhere for KODA but I can't find it.  

Any help/advice will be much appreciated.

Share this post


Link to post
Share on other sites

Powershell and AutoIt are two very different languages, with different capabilities. As someone who spends almost all day in PowerShell and PowerCLI, it is indeed a powerful language. But as someone who loves the AutoIt language I will always suggest becoming proficient here first - it provides the foundation if and when you want to move on to other languages.

AutoIt GUIs are incredibly easy to create, compared to the teeth-pulling you will experience making them natively in PS to begin with. And here you will find a very active, helpful community of people who use AutoIt for a vast array of tasks and will offer support and advice along the way. Because of the community we have built, and because the language is ever-growing and evolving, we don't suggest any books out there (there have been some really bad ones in recent years). Anything put down in print and published will soon be outdated. This forum is your best source for knowledge.

Additionally, and everyone has their own opinion on this I am sure, but personally I would suggest forgoing KODA altogether. It doesn't take much to learn how to create GUIs in AutoIt, and if you plan to transition to other languages you'll need to know how things work anyway. A nice little designer is great in the beginning, but most people outgrow it quickly anyway, and I have seen reliance on it cause issues where simply reading the help file sections on GUI Management and learning how things work goes much father toward becoming comfortable.

 

Edited by JLogan3o13

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Share this post


Link to post
Share on other sites

Hi,

In my own opinion, I would rather choose first AutoIt as your stepping stone for programming as simple as ABCs. Doing things like you can't imagine that it is possible would be as easy as it was when you learn this language. Before I learn this language, I used to practice some other languages (C#, Python, VBA, Pearl, Php, Java etc...) but these other languages are tooth-aching where you need to pull-out your brain just to make that program work as expected. To tell you honestly, when I learned AutoIt, other languages are similar as it was and easy to understand but of course some foundations are harder for other languages.^_^

I'm not discouraging other languages (they are wonderful as well) but the point is, AutoIt is the best that I ever tried, community is honest, welling to suggest, helping others and everything you ask can be answered by them but of course you need to read our forum rules there are exemption;).

Here's how you start:

- Read the Help file.

- Code some basic coding and parse the code.

-  Explore the language what ever you like to have.

- Go to this forum for support and suggestions.

That's all, when you have these maybe you can start a real program in the future. This is just my opinion and I know there are lots of MOD, and other Pep's here that can enlighten your knowledge more as I do.:sweating:

See you in your first code.....:lol: and WELCOME to AutoIt Forum!!!

 

KS15


Programming is "To make it so simple that there are obviously no deficiencies" or "To make it so complicated that there are no obvious deficiencies" by C.A.R. Hoare.

Share this post


Link to post
Share on other sites

Just few aditional info:

 

1) Koda is part of Scite4AutoIt3

https://www.autoitscript.com/site/autoit-script-editor/

https://www.autoitscript.com/site/autoit-script-editor/downloads/

 

2) AutoIt's Helpfile ("C:\Program Files (x86)\AutoIt3\AutoIt.chm") should be the first what I suggest you to read, especially these sections:

Quote

Using AutoIt

Tutorials

Language Reference

Keyword/Statement Reference

and also quickly look at list of functions in Function Reference (by category) - just to see what you can use

EDIT: AutoIt's helpfile is really GREAT with many details and examples

Edited by Zedna

Share this post


Link to post
Share on other sites
4 hours ago, KickStarter15 said:

Hi,

In my own opinion, I would rather choose first AutoIt as your stepping stone for programming as simple as ABCs. Doing things like you can't imagine that it is possible would be as easy as it was when you learn this language. Before I learn this language, I used to practice some other languages (C#, Python, VBA, Pearl, Php, Java etc...) but these other languages are tooth-aching where you need to pull-out your brain just to make that program work as expected. To tell you honestly, when I learned AutoIt, other languages are similar as it was and easy to understand but of course some foundations are harder for other languages.^_^

I'm not discouraging other languages (they are wonderful as well) but the point is, AutoIt is the best that I ever tried, community is honest, welling to suggest, helping others and everything you ask can be answered by them but of course you need to read our forum rules there are exemption;).

Here's how you start:

- Read the Help file.

- Code some basic coding and parse the code.

-  Explore the language what ever you like to have.

- Go to this forum for support and suggestions.

That's all, when you have these maybe you can start a real program in the future. This is just my opinion and I know there are lots of MOD, and other Pep's here that can enlighten your knowledge more as I do.:sweating:

See you in your first code.....:lol: and WELCOME to AutoIt Forum!!!

 

KS15

Thank you very much for your help

Share this post


Link to post
Share on other sites
1 hour ago, Zedna said:

Just few aditional info:

 

1) Koda is part of Scite4AutoIt3

https://www.autoitscript.com/site/autoit-script-editor/

https://www.autoitscript.com/site/autoit-script-editor/downloads/

 

2) AutoIt's Helpfile ("C:\Program Files (x86)\AutoIt3\AutoIt.chm") should be the first what I suggest you to read, especially these sections:

EDIT: AutoIt's helpfile is really GREAT with many details and examples

Thank you very much i'll read all this

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By SOCCERMOMMY
      Hello all,
      First time posting; please excuse my noobness as I am self-taught over a short period with very little programming experience.  However, I am trying to create a simple program that retrieves college basketball scores from the web, puts them into an array and writes to excel.  Ultimately I want to create an additional variable that would be a date range so the program can cycle through many pages and retrieve years worth of information at a time.  For now, I am working on a single day.  Here is where I am stuck:  I want to use _StringBetween to isolate team names while considering whether they are "winners" or "losers".  Here is a snippet from the source code i am dealing with:
      <tr class="winner">   <td><a href="/teams/MIN/2020.html">Minnesota</a></td>   <td class="right">118</td>   <td class="right gamelink">   <a href="/boxscores/202001050CLE.html">Final</a>       </td>   </tr>   <tr class="loser">   <td><a href="/teams/CLE/2020.html">Cleveland</a></td>   <td class="right">103</td>   <td class="right">&nbsp;   </td>   </tr>   </tbody>   </table>
       
      My thought was to use _Stringbetween( '<tr class ="loser> <td>' & @CRLF & '<td><a href="/teams/', '</a></td>')  
      However, i believe I am using the @CRLF out of context.  Is there another way to identify page breaks within the stringbetween function?  Complete script is attached for reference.  Appreciate the help and patience as I try to piece it all together   
      Muchos gracias.
       
       
      basketball scores x2.au3
    • By TheDcoder
      Hello
      I am relatively new to the world of Microsoft Office and the Excel UDF.
      I am trying to loop through every row in a spreadsheet and get the text/values from each column in the given row... so far I have looked into the Help file for the Excel UDF and the wiki page for Excel UDF but I have no idea about how this is done ... This is all I have in my script:
      Global $oExcel = _Excel_Open(False, False, False, False, True) Global Const $sSpreadsheet = @ScriptDir & '\data.xlsx' Global $oSpreadsheet = _Excel_BookOpen($oExcel, $sSpreadsheet, True, False) ; ... I am placing my bet on the _Excel_Range functions... especially _Excel_RangeRead. I don't know how $vRange works so I would be glad if someone can point me in the right direction . What I would ideally like is to get all of the contents of the spreadsheet (it's just a normal text one) in a 2D array.
      Thanks in Advance!
    • By TheDcoder
      Hello!
      I am trying to call my first DLL function but it won't work , I am trying to call GetFinalPathNameByHandle
      $sFile = @DesktopDir & '\Test.txt' $hFile = FileOpen($sFile) $sFilePath = "" DllCall("Kernel32.dll", "STR", "GetFinalPathNameByHandle", "HANDLE", $hFile, "sz*", $sFilePath) MsgBox(0, 0, @error) Thanks in Advance, TD
    • By SkellySoul
      Morning 
      It's 5:30 AM and been sitting here staring at the help file but it looks like an alien language to me.
      I have the following example strings

      [8]Bird [9]Cat [10]Dog  
      What I want is

      Bird Cat Dog  
      Now a easy solution would be to just trim it to the left by 3, however there are cases when it could be 4 (example Dog being [10]), so I figured StringRegExpReplace() is what I am going to have to use unless there is a easier/better method.
      I don't know how or where to start though 
      StringRegExpReplace($String, "[*]", "")
       
      Thanks
    • By badapple89
      So I have read a few posts and tried different things but I cant get this working.
      I have a GUI with a GUICtrlCreateEdit box so I can type in multiple lines.
      I then want to write all these lines to a html file (as separate lines but all together in one block.
      The whole script is pretty big, but but these are the bits of code im using.
      $GUIExtraInfo = GUICtrlCreateEdit("", 10, 65, 250, 80)
      $vExtraInfo = GUICtrlRead($GUIExtraInfo)
      If $vExtraInfo > "" Then FileWriteLine($Signature, "<span class=" & ">" & $vExtraInfo & "</span><br />")
      It all works - and when I use a msg box to read $vExtraInfo I get the text entered as two lines.
      But when writing to the file it all comes out on the one line.
      I have tried stringsplit and a few other things but dosent seem to work.
      Help appreciated
       
      Brain wave. Do I a FileWriteLine(........) for each line entered into the GUICtrlCreateEdit????
      Not sure how I would implement this.
×
×
  • Create New...