Manus-Magnus
Active Members-
Posts
53 -
Joined
-
Last visited
About Manus-Magnus
- Birthday 01/01/1975
Profile Information
-
Location
Paris 14
-
WWW
http://perso.wanadoo.fr/manus-magnus
-
Interests
Paleontology
Manus-Magnus's Achievements
Wayfarer (2/7)
0
Reputation
-
Hello, I launch multiple scripts on multiple computers and store the ouput (from command line) in files.txt : launched from autoit script: Run(@ComSpec & " /c " & 'Scan.bat ' & $Nom_Machine, "", @SW_HIDE) the content of the .bat is: ping -n 1 %1 > Cache\Scan-%1.txt psexec xxxx > Cache\Scan-%1.txt Exit note: it can have more commands, but here i put only one. So, under Xp when i massively launch these scripts (lets say 100 and wait 1 minute all or majority of them terminated.) i get blue screen after few hours of scan, or get some strange flicker showing the command line windows without borders... Note that under NT4 all was working right. This is not due to memory overload, since i make periodicall closes of the cmd.exe. Anyway: 1. Is there a function that can manage dos/cmd output ? 2. Is the way i launch the scripts is OK or maybe another syntax should be better ? (without the comspec, or any other manner ?) if anyone have ideas
-
Down/up .092+ Definitly Not Like 0.91
Manus-Magnus replied to Manus-Magnus's topic in AutoIt General Help and Support
i tried unstable : autoit-v3.0.93-beta.exe 11-Feb-2004 09:19 808k Is passing very well throught my olbvious application. Work very well now ! -
Down/up .092+ Definitly Not Like 0.91
Manus-Magnus replied to Manus-Magnus's topic in AutoIt General Help and Support
working.... tested it on my 2 comps... (and if you can put 2 or 3 words to finish off the thing... by explaining what it was... ) -
Down/up .092+ Definitly Not Like 0.91
Manus-Magnus replied to Manus-Magnus's topic in AutoIt General Help and Support
... and your special version works like a charm.... - it's a .93 modified ? - can i compile with this ? - is it possible to explain in few words what is the difference ? oh hell... i will learn C only to know what you have changed -
Down/up .092+ Definitly Not Like 0.91
Manus-Magnus replied to Manus-Magnus's topic in AutoIt General Help and Support
The unstable give same probleme. Well, it's only a game, but it give me nice project and fun to learn programing & algo, since i didnt know what was a "select" 1 year ago, and now have a 5000 lines "game" program and some stuff at job. I dont understand 'rant' cant translate it... if you want i will try to ask some users to test that on their comps. But Tell me if you are bored. AutoItSetOption("SendKeyDownDelay", 100) AutoItSetOption("SendKeyDelay", 100) Winactivate ("Diablo II","") sleep (2000) Send ("{a down}") sleep (15000) Send ("{a up}") Sleep (500) I noted that: and maybe it will help you: it seems to "stuck"/"blocking" they key during the 15 seconds. like it was already pressed down but without the desired effect. once i pressed down a second time the key seemed unlocked. well, sorry -
Down/up .092+ Definitly Not Like 0.91
Manus-Magnus replied to Manus-Magnus's topic in AutoIt General Help and Support
AutoItSetOption("SendKeyDownDelay", 10) ;10 milliseconds i tried 0, 1, 10, 100, 1000 etc... im just bored... cant continue my soft without this working ... Windows XP, SP1a, 2.6ghz, i think my OS is so standard. I tried too on my P400 (same os/pack) AutoItSetOption("SendKeyDownDelay", 300) ;10 milliseconds AutoItSetOption("SendKeyDelay", 300) ;10 milliseconds ;$key = "SPACE" Sleep (3000) ;Send ("{" & $key & " DOWN" & "}") ;sleep (3000) ;Send ("{" & $key & " UP" & "}") ;Sleep (2000) Send ("{a down}") sleep (3000) Send ("{a up}") Sleep (2000) same result, dont work at all. the 2 are standard keyboards. Argh , doesnt Autoit should simply press the key and hold it ? logically there should not have any problem with this... And yes, in pad it will NOT make that: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa since i let it down a few time... but just: a <---- note this one have been done by the script wrote up. it's not "real" keypresses, i dunno how it was coded, maybe it simulate windows down and up by an olbvious way i dont know... but it's not an "as it was if a human does it" and btw it make possible in some apps it doent work. What is the DAMN difference between 0.91 and 0.92+ ??? tell me, what is it ? EDIT: should i have to try without my blackbox (switch for these 2 comps) ? -
Down/up .092+ Definitly Not Like 0.91
Manus-Magnus posted a topic in AutoIt General Help and Support
Hello: First tx you for Autoit again, but.... I absolutly need the 0.92 now, since it have the pixel search step, problem is the down/up keys presses dont "pass" into my app. I tested so much...nope cant do it: AutoItSetOption("SendKeyDownDelay", 10) AutoItSetOption("SendKeyDelay", 10) $key = "SPACE" Sleep (3000) Send ("{" & $key & " DOWN" & "}") sleep (3000) Send ("{" & $key & " UP" & "}") this one ending by pushing " " in the game (at the start).* Send ("{" & $key & "DOWN" & "}") sleep (3000) Send ("{" & $key & "UP" & "}") This one press 2 times "S" (at the start, at the end)* *saw this using a console available in application Of course i tried "a down" or "A DOWN" or "space down" or "SPACE down" ect... simply dont work. (including "standards ALT, SHIFT, etc...) it's about the d2 game application (i think alot people are aware about this game here ) IMPOSSIBLE to down a key, wait , and release up with >.091 autoit versions. Send("{SPACE}") works, but the down/up is essential.... So im blocked 0.91 until it's fixed (if it's fixed a day...) edit: of course i tried to tweak delays... of autoit options... -
hello, Basicly it's optimisation support request... Or general C programming question... I have some function burning my CPU comparing variables with constant numbers. have have multiples ways to exit a loop but... What is the order from the fastest to the slowest compares with (i need order with all not the 1 fastest in this list): If $x <> [int number] then.... If $x < [int number] then.... If $x > [int number] then.... If $x == [int number] then.... If $x >= [int number] then.... If $x <= [int number] then.... The next question is: same thing but with strings.
-
hello, since 2 month: i have a game bot beta version released in 3 days with 4000 lines script and a 3000 lines ascii database oriented at my job, they have deep loops (up to 15 in certain cases, calling subs with others loops...not "while 1" loops... Every days yet i update immediately to next version, not problems yet...except a special crash causing memory exception but i dont remember what caused it, it was a syntax error, not a core error. If you have D2 lod game at home i think you will have a nice "complex" testing in 3 minutes. :iamstupid: Anyway, that was more a tx you for your core than an help but...
-
yes man, im just a phsyco maniac about "factorise" (contatenate/optimize... im french sorry ) my code, i create alot generic functions with 1 to 8 entry parameters and arrays returns...for multiple usagebut now i have near 3000 lines. but with #include i select functions by "themes" ( i have 10 files of them actually) and use editor with "folder view" btw i can access in 2 sec fo the lib i need and make changes. i didnt founded a bug yet , this autoit3 is a fantastic tool tx you Jon ! and i will enjoy the final release !! ps: if you can optimise the pixelsearch integrated function that should be just great too