-
Posts
122 -
Joined
-
Last visited
Everything posted by shaqan
-
Assigning a function to middle button and clicking it fast, made the whole script crash hard. Clicking slowly worked.
-
StringRegExp and "Unterminated string" error
shaqan replied to shaqan's topic in AutoIt General Help and Support
Hmm. So what I should have been doing was surrounding the regex with apostrophes and adding one inside. Thanks. Much appreciated. -
Hello. I have regular expression. But I cannot seem to accommodate with the AutoIT3, because regular expression itself is also containing multiple quotation marks and while trying to execute it, I would receive "Unterminated string" error messages for this row Regular expression pattern itself (tested and seems to be doing what I want it to do) Local $iOStr = StringRegExp($iContent, "/<meta(?=[^>]*name="description")\s[^>]*content='([^>]*)"/sig", 1,1) How to fix this? I've tried adding apostrophes here and there and also / or \, does not seem to work out properly.
-
- 98 replies
-
- kindle ebooks
- amazon
-
(and 3 more)
Tagged with:
-
how to change the Username? I typed random name at the beginning and now can't seem to find a way for fixing it.
- 98 replies
-
- kindle ebooks
- amazon
-
(and 3 more)
Tagged with:
-
Edit: Problem solved by using Tor Browser for access.
- 995 replies
-
- isn autoit studio
- isn
-
(and 3 more)
Tagged with:
-
Is there some possibility for alternate download location? isnetwork.at in general and download link in the first post are both giving me Forbidden You don't have permission to access /index.php on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
- 995 replies
-
- isn autoit studio
- isn
-
(and 3 more)
Tagged with:
-
I tried both, installer and unpacked zip (compiled). Same issue with both. OS is Win7 Pro SP1 (et-EE language pack) screenshot Is there any command line debugging option for executable? a la Autoit_Studio.exe /debug
- 995 replies
-
- isn autoit studio
- isn
-
(and 3 more)
Tagged with:
-
I removed antivirus completely. Still issue persisting. On the other hand, installed ISN Studio using same installer into another computer (also win7) and had not such problem there, so it's something to do with the setup of this specific computer., I even tried running ISN AutoIT Studio giving it administrative privileges, did not help.
- 995 replies
-
- isn autoit studio
- isn
-
(and 3 more)
Tagged with:
-
upon trying to create new empty GUI (inside the ISN Studio), getting 2 different errors.. "The plugin could not be started properly! It will close now..." "Dieses program ist Teil des ISN AutoIt Studios und kann nicht allein gestartet werden!" (This program is part of AutoIt Studio and cannot be started separately") Any solution?
- 995 replies
-
- isn autoit studio
- isn
-
(and 3 more)
Tagged with:
-
- 995 replies
-
- isn autoit studio
- isn
-
(and 3 more)
Tagged with:
-
Linux is not actually too secure. It's like Swiss cheese, full of "holes". That's how it becomes thanks to the way how it's being developed. It's devs are trying to be on bleeding edge all the time, various stuff gets tried out, sometimes worked out then discarded and replaced by something new. Security and flawlessness of the code take both definite back seat. Most secure from OSes is probably OpenBSD but it really works as desktop only if you have certain type of hardware. It's devs are not into binary blobs in drivers and so you have to keep in mind certain limitations. For desktop system, for example, you'd need to stick to Intel graphics. Nvidia is totally out and many of the ATI graphics cards as well. FreeBSD is compromise between OpenBSD's singleminded security and desktop usability. Nvidia graphics works. ATI/AMD graphics works up to Radeon HD7950 and Intel HD graphics works. It's stable, follows POSIX standards, contains no "linuxisms" and whole system is being developed as a whole. (Linux is kernel, + each distributor throws it's set of GNU utilities around it, mostly each following it's own preferences and it's quite of mess of differences between distros as a result). Just to make sure it's understood, BSDs are different family of Unix-like OSes, they are not Linux. You can't really hide, if you want to use Internet. Each server in web you visit, you leave your data. What browser, which OS, locale, IP etc. You can up to certain point disguise it, using proxies, Tor etc but whatfor? Is the inconvenience worth the false sense of "security". IMHO, as long as your computer stays uninfected by malware and your personal data does not leak - you are staying secure. PS. If you happen to own smartphone and still seek total privacy, throw it away for start. You would not believe how easy is to get into one provided access to certain tech. Google for GSM fake base station.
-
I had put together little program for myself and it seems to work well enough. At one point, doing bug hunting I threw AutoIt3 Syntax Checker at it and had my jaw dropped. 23 more errors and 3 warnings, all-over ~1500 lines of script. Until that moment I simply checked if the functions worked like they were meant to, giving correct results, etc. What revealed itself on error messages at editor's console after starting the script got always fixed step by step. What is wrong with the line of code like? $cc_a1 = _SQLite_GetTable(-1, "SELECT DISCTINCT HOSTS FROM MEMTABLE", $row, 0, 0)I'm getting on console (hiding user account specific stuff here) What exactly did I do wrong there? One other type of error that's somewhat confusing me. It throws me an error in syntax checker but the code itself seems to works like this okay after running it. $idFileViewItem[$i] = GUICtrlCreateListViewItem($name & "|" & $status, $idFileView) I appreciate any thoughts. Thank you:) EDIT: Just to clarify, I only get described errors using AutoIt3 syntax checker. Otherwise, just running the script I'm not getting anything of the sort. I am wondering if I am using variables principally wrong somehow or what?
-
[SOLVED]SQLite whole column into array
shaqan replied to shaqan's topic in AutoIt General Help and Support
Man, you are saviour! -
Hello. Is there some way for inserting batch records from SQLite table into AutoIt3 array, instead of looping trough every single record using _SQlite_Fetchdata? SQLite query would be something like this SELECT DISTINCT IP FROM memtable WHERE VALIDITY = '1' AND CATEGORY = 'Advertising' looping would work but with hundreds of thousands of records, it would take bunch of time each time. I was trying to combine SQLite table, _SQLite_FetchData and _FileWriteFromArray but got stuck at that point, not finding reasonably fast way for exctraction of data.
-
ways to pass @error (with array)
shaqan replied to shaqan's topic in AutoIt General Help and Support
aha, thanks. seems to work. Local $aFound[2] = ["ERROR", 1] that ,1] puzzled me until I realized you put it there to mark "error code" and to fill second slot in the array. -
Thanks to the help with StringRegExp from Melba23 I have got a function now Func _LogFile_RegEx_Filter($string) $found = StringRegExp($string, ":\s(\d{1,3}\.\d{1,2}°[NSEW])", 3) Switch $found Case @error = 1 ConsoleWrite("DBG: Array is invalid" & @CRLF) $found[0] = "ERROR" Case @error = 2 ConsoleWrite("DBG: Bad pattern. Array is invalid" & @CRLF) $found[1] = "ERROR" EndSwitch return $found EndFunc I can use it fine like this Local $mutate = _LogFile_RegEx_Filter($data) ConsoleWrite("LAT:[" & $mutate[0] & "] LON: [" & $mutate[1] & "]") until I feed in string which does not give a match and should error out - trying for all possible scenarios) Instead of getting text on a console with LAT:[ERROR] LON:[ERROR] script crashes with a how to fix it? So that some unexpected line in log file would not make whole thing come crashing down
-
Thank you definitely help
-
Hello I'm working on log file parser, file handling/reading is done but clueless about how to parse out specific data (latitude/longitude figures). Obviously I need to use regular expressions but that stuff seems to go right over my head for the moment Sample of a line: 2014-03-02 14:12:27 | Current location: Unknown, Lat: 58.88°N, Lon: 94.39°E, Altitude: 105 m I am triying with regex tester at http://regex101.com Q1: what should I use in expression for "Unknown? It may change, have several words for place names, only certainty is "," between it and Lat but location name is not important by itself. What I want is xx.xx numbers right side of a Lat: and Lon: and capture the numbers.
-
Is messing with core affinity a Good Idea™?
shaqan replied to TheBytemaster's topic in AutoIt Technical Discussion
Look for little program called Process Lasso. It does exactly what you want and better than AutoIt script could. -
Data seems to be insterted into InputBox on website just fine, but upon form being submitted, string simply disappears and website returns no data. There is some Javascript on site but I haven't managed to find a way for getting past it. I created basic GUI for illustrating the issue I am stuck with #include <WindowsConstants.au3> #include <IE.au3> Opt("GUIOnEventMode", 1) ;Const $WINTITLE = "Piiriületus" Local $oIE = _IECreateEmbedded() $Form1 = GUICreate("needed some GUI", 972, 595, 13, 117, $WS_EX_CLIENTEDGE + $WS_DLGFRAME + $DS_MODALFRAME, $WS_EX_APPWINDOW + $WS_EX_TOOLWINDOW + $WS_EX_WINDOWEDGE + $WS_EX_DLGMODALFRAME) GUICtrlCreateObj($oIE, 8, 8, 956, 540) $PullNr = GUICtrlCreateButton("Push me", 8, 552, 75, 25) GUICtrlSetOnEvent($PullNr, "_Data") $ExitB = GUICtrlCreateButton("Exit", 888, 552, 75, 25) GUICtrlSetOnEvent($ExitB, "_Exit") GUISetState(@SW_SHOW) _IENavigate($oIE, "https://vs.lkf.ee/pls/xlk/SYSADM.LK_INFOKESKUS_PKT.kindlustuskate") While 1 Sleep(10) WEnd Func _Exit() Exit EndFunc Func _Data() ;Local $Data = ControlGetText($WINTITLE,"", "Edit25") ;replacement drop-in, since the program from where data is supposedly pulled from ; is not available for testing here and now. Local $Data = "001AAA" Local $oForm = _IEFormGetObjByName($oIE, "kindlustuskate") Local $oText = _IEFormElementGetObjByName($oForm, "pregnr") _IEFormElementSetValue($oText, $Data) _IEFormSubmit($oForm) EndFunc Help or helping hints would be appreciated:)
-
Thank you! EDIT: Feels like I thought too early I'd have it fixed. Still getting same problem. Finally modified short script from AutoIT3 Help and screenshotted the results for showing.
-
Is there a way to get that dll loaded when AutoIT3 is being run simply from folder (Program Files/AutoIT3 folder copied over to memory stick and from there to corporate PC)? At the moment, even samples from AutoIT3 help file are failing with error. Or should I try using "portable" version of AutoIT3? Until now, I haven't had any difficulty running stuff from "copied over" installation. Only SQLite3 seems to be different and refuses to load properly.
-
request: could you please change the default path installer is offering.. Under Program Files or Program Files (x86) would be neater than setting the shop up on the C: root
- 995 replies
-
- isn autoit studio
- isn
-
(and 3 more)
Tagged with:
-
EzSkin_1-2-3 (exe) 1,000+ Skin & Button Choices
shaqan replied to Valuater's topic in AutoIt Example Scripts
download the http://www.autoitscript.com/forum/index.php?app=downloads&showfile=45 unpack it somewhere.. run EzSkin_1-2-3.exe, pick the theme & button style you like the most and export them. Then modify the exported script (or simply create brand new script of your own) accordingly. Files for the button style and theme are located in same exported folder with the demoscript and UDF-file, but inside the "EzSkin" subfolder. you can recognize it by seeing files like Standard1.bmp, Skin.dat, 0.bmp, 1.bmp and so forth, in it. UDF you must keep is EzSkin.au3 (for #include 'EzSkin.au3' in your own script), demofile is what you can tear apart, modify or erase alltogether. UDF also contains function descriptions you could use. Just skim it trough for better look.