How to enable F5(go) for *.cmd files ?
I like to edit my *.cmd files in SciTE. Is it possible to enable F5 to run the current file in command processor ? Should save current file and then call Start <current_edit_file>
View ArticleString in String (number)
I want to check if there are numbers 2x (or 3x) in a variable, for example for $var = 47253 it should return false or 0. For $var = 47252 or $var = 47242 it should return true or 1. And for...
View ArticleObjGet (Beta) giving COM error
Let's say I have multiple PowerTerm Pro windows open. [ autoit ] popupGlobal $oObj = ObjGet("", "PowerTermPro.Document") ; <-- Production command works ok for the first instance only Global...
View ArticleJavascript OnClick
Hey, So this is most likely a stupid question, but what is the easiest way to re-create onclick javascript? For example the button I'm trying to click simple does that: javascript:selectunit("34,mod");...
View ArticleWhat is the easy way to read the com serial port?
Hello im trying to read the serial port using autoit. I have a old PDA, and i want do something like this: http://kr3l.wordpress.com/2008/12/07/serial-com-port-communication-with-autoit/ So the autoIt...
View ArticleAPI Call for Tesseract
Several years back someone wrote an API for Tesseract http://www.autoitscript.com/forum/topic/89542-tesseract-screen-ocr-udf/page__hl__%20tesseract As great as that UDF is it is just a screen scraping...
View ArticleSQLite convert TimeStamps to date and time
Hi here I been messing around with timestamps in SQL databases, my problem is how do I convert this 40660.9454658044 timestamp to human readable date & time? I found out this excellent website...
View ArticleMost efficient way to script to automate a long process?
Complete Autoit newbie here. I was recommended by a friend to try using Autoit, which is why I'm here. I'm on a personal project of sorts and have run into the need for a script that can perform the...
View Articleconsole output reuse/rewrite line question
Hello, all! Can somebody explain, how can the console output window be reused? I mean, like, when you run a command line compressor executable for example, and it re-uses some of its output lines to...
View Articlemsconfig - replace boot gui with os boot information
hello, first of all i am new to scripting and just wanted to make an .exe which replaces the standard boot gui with the os information. i copied the the script from Szhlopp in this...
View ArticleDatediff problem between windows and Linux machine ?
Hello, I need to create a script using autoit on a windows computer to execute it on a remote linux server using putty (or plink) and this script needs to generate a string corresponding to the actuel...
View ArticleQustion about Case
Hello, i'm stunding Case but i have a question, if i have: [ autoit ] popupSwitch $var Case 1 ConsoleWrite("1") Case -1 ConsoleWrite("-1") EndSwitch How to make a Case if are 1 or -1? Like: [...
View ArticlePassing a part of a multidimensional array to a function
Hi, I have a multidimensional array, and I want to use a part of it to pass it to a Func Below is an example of what I want to do. First I declare my array and fill it with values. Then I use a For ......
View ArticleCount how long for next runs
How can I see in ToolTip for example how long my For Next loop runs?
View ArticleScintilla/SciTE search using a regular expression.
What am I missing here? I'm trying to improve SciTE Jump's feature of searching for functions using a regular exp<b></b>ression, but for whatever reason the return of the function is always...
View ArticleStrange: Can't min./max/restore window by button!?
Hello, I notice a strange behavior in my script if I try to min./max./restore a window by (window title) button. It is possible to min. the window ONCE - any further try will result in lost window...
View ArticleForm Element error
I am baffled. I have a script that works fine on 1 PC but doesn't work on my other PC. According to my IS department, they PCs are identical in setup. PC1: AutoIt ver 3.3.8.1 IE 8 PC2: AutoIt ver...
View ArticleGot something wrong on StringRegExp
Hello, Everybody I found StringRegExp got something wrong on XP... It appeared error msg.. Subscript used with non-Array variable.. But it can run normally on my x64 win7 system... [ autoit ]...
View ArticleNeed help.
Hello. I'm newbie in AutoIt but I've started a little project. I'm trying to make AutoIt automate player in game HaxBall. It's just for fun and to see how far it can go. So basically I know what to do,...
View ArticleCall Send to > Mail Recipient?
I've created a script to encrypt/decrypt files prior to emailing as attachments. Yes, there are better options, but I'm stuck with what I'm dealt. Anyhow, after encrypting, I'd like to do the exact...
View Article