Leaderboard
Popular Content
Showing content with the highest reputation on 04/30/2015 in all areas
-
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
-
Barcode Generators
footswitch reacted to willichan for a topic
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 -
How to Format Scripts and Code
krasnoshtan reacted to Jon for an article
There are three ways you can posts scripts, these are: Inline code Attachments Download system Each has different advantages and disadvantages. In general you should use: Inline code - for short code snippets Attachments - for more complicated code larger than a page. Downloads system - for projects or complex libraries Inline Code Best for entering short snippets of code Easiest for other users to see May be accidentally modified by forum upgrades or when re-editing your post - it's happened before... Inline code is entered using the "Add Code" button in the toolbar and after posting appears with syntax highlighting like this: ; This is some AutoIt code MsgBox(4096, "Message", "Hello there!") Code over around 50 lines will appear in a scrollable box. At this point it becomes more difficult for other users to work with and you should consider an attachment instead. Attachments Best for long pieces of code, entire programs, or multiple files Unlikely to be accidentally lost or modified by forum upgrades or when re-editing your post Counts against your global attachment allocation Can be seen in the "username / My Attachments" part of your profile, along with the number of downloads Multiple attachments can be added to a post. As attachments are stored as complete files in the filesystem, they are more robust than inline code snippets. Downloads System Best for very long and complicated projects or libraries that are of significant use to the community Uses a different part of the forum that is optimised for file downloads and features screenshots, change logs, download counts, etc. Does not count against your global attachment allocation This can be accessed here: Downloads System.1 point -
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.com1 point
-
Click on a IE button based on class name
superklamer reacted to Danp2 for a topic
You should be able to use StringInStr along with $oBut.classname to determine if the "done" is present.1 point -
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
-
I second SadBunny's point and want to add we have this for a tutorial:1 point
-
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=7539621 point
-
Run - challenge
232showtime reacted to water for a topic
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 -
SQLite large input
argumentum reacted to jchd for a topic
Yeah, correct. That shows little use it had since posted!1 point -
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 ;==>ProcessFile1 point
-
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 error1 point
-
[Solved] Excel - Search Tool
zxtnt09 reacted to JLogan3o13 for a topic
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 -
SnipperSnapper <MS Snipping Tool Enhancer>
argumentum reacted to susserj for a topic
There was a small timing issue with the email snippet function. I've added an additional sleep command to fix it. Thanks susserj1 point -
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