Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/30/2015 in Posts

  1. Short version: no. Long version: no, that's not how "we" work here. The forum is a place where people ask questions as specifically as possible, preferably with a code example that shows the thing that one is asking about. That last part is important, especially for newbies, as it shows that you're actually trying and often helps to prevent confusion. The clearer the question and the reproducer and the more effort you show (think "help us help you"), the more likely it is that someone more knowledgeable will devote time to teach you. Even with newbie questions - this forum is very newbie-friendly, as long as they're willing to learn. Going 1-on-1 is a bad idea for many reasons, none of which should really need spelling out.
    2 points
  2. willichan

    Barcode Generators

    As I have time, I am converting my old barcode generators from old Pascal source to AutoIt. I will add them all here as I convert them, rather than creating a new topic for each one. There are no global variables involved, so you can safely include any of these without worry about variables being stomped on. No barcode fonts required. Code128Auto - Creates a Code128A/B/C optimized barcode from supplied data Code39 - Creates a Code39 or Code39Extended (with or without check-character) barcode from supplied data (also known as Code 3 of 9). CODABAR - Creates a CODABAR barcode from supplied data (used mainly by libraries and blood banks) NOTE: These will require the StringSize UDF by Melba23 ========== CodeQR - Creates a QRcode from supplied data.
    1 point
  3. http://techcrunch.com/2015/04/29/microsoft-shocks-the-world-with-visual-studio-code-a-free-code-editor-for-os-x-linux-and-windows/#.yabcl7:Pdlo This is really interesting, I love the direction Microsoft are moving in. When the switch is flipped you shouldn't be able to download from http://code.visualstudio.com
    1 point
  4. You should be able to use StringInStr along with $oBut.classname to determine if the "done" is present.
    1 point
  5. I am happy now that I got the other one someone mentioned to me done: Tabbed GUI I rarely use tabs, myself, but they are a really good thing, especially for people making potentially visually convoluted scripts/programs that other people will be using, to make them nice and organized, tidy and easy to navigate for the user.
    1 point
  6. I second SadBunny's point and want to add we have this for a tutorial:
    1 point
  7. Jon

    Forum Upgrade Status

    Fixed up about 2800 posts and signatures that contained links to other topics that didn't work anymore. The old urls where in the format: http://www.autoitscript.com/forum/index.php?showtopic=80636&view=findpost&p=753962The new: http://www.autoitscript.com/forum/topic/80636-thesaints-toolbox/?do=findComment&comment=753962 
    1 point
  8. water

    Run - challenge

    Welcome to AutoIt and the forum! Try: $sPath = "C:\CHDKPTP\" $sProgram = "chdkptp.exe" $sParameters = "-i" $sWorkingDir = "" $sFlag = "@SW_MAXIMIZE" Global $iProcessID = Run($sPath & $sProgram & " " & $sParameters, $sWorkingDir, $sFlag)
    1 point
  9. jchd

    SQLite large input

    Yeah, correct. That shows little use it had since posted!
    1 point
  10. Without posting your code you will get no help ... EDIT: try this Func ProcessFile($filefromlist) $text = FileRead($filefromlist) $i = StringInStr($text, @CRLF, 0, 9) ; position of 9th CRLF $text = StringMid($text, $i+2) ; skip first 9 lines, +2 to skip found 9th CRLF ;Write the new MIF file. $file = FileOpen($filefromlist,2) FileWrite($file, $text) FileClose($file) EndFunc ;==>ProcessFile
    1 point
  11. I have been using it this evening and created myself a little module in the process. One thing I noticed is if I initialise a variable with a type, it automatically checks if I make a stupid mistake of assigning another datatype to the variable. Some people might hate this, but I think that's brilliant, especially as I don't need to add TS annotations. var age = 60; age = ""; // Displays an error
    1 point
  12. Could you please stop quoting everyone every time you reply? We know what we said, and it is making the thread needlessly long to scroll through.
    1 point
  13. There was a small timing issue with the email snippet function. I've added an additional sleep command to fix it. Thanks susserj
    1 point
  14. d0rkye

    WMI AV Check Function

    I made this for my project it returns the antivirus name if it's present or "not Installed" if its not. Func _AV() Local $avname If @OSVersion = "WIN_XP" Then $oWMI = ObjGet("winmgmts:\\localhost\root\SecurityCenter") Else $oWMI = ObjGet("winmgmts:\\localhost\root\SecurityCenter2") EndIf $colItems = $oWMI.ExecQuery("Select * from AntiVirusProduct") For $objAntiVirusProduct In $colItems $avname = $objAntiVirusProduct.displayName Next If $avname = False Then Return "Not Installed" Else Return $avname EndIf EndFunc Hope it will help if you didn't find the solution already.
    1 point
×
×
  • Create New...