
dark_jedi
Active Members-
Posts
22 -
Joined
-
Last visited
Everything posted by dark_jedi
-
Detect window flash and title name
dark_jedi replied to dark_jedi's topic in AutoIt General Help and Support
WinGetState() would be useful if only it returned something for flashing window. -
window title list of only a certain class
dark_jedi replied to dark_jedi's topic in AutoIt General Help and Support
I know winlist() and have used it. How do I use API GetClassName do I have to #include <windows.h> or something like this? -
Detect window flash and title name
dark_jedi replied to dark_jedi's topic in AutoIt General Help and Support
I need to know which window is flashing out of many. -
Detect window flash and title name
dark_jedi replied to dark_jedi's topic in AutoIt General Help and Support
How would WinActive() help me with detecting if a window title is flashing? -
How would I monitor window titles and detect if the are flashing and return the title of the flashing window? Thanks
-
string and number comparison
dark_jedi replied to dark_jedi's topic in AutoIt General Help and Support
first of all the code below outputs the same thing as if you not the if statement $a="foobar" $b=1 if $a==$b Then MsgBox(0,"","Matched") else MsgBox(0,"","Didnt Match") endif second of all how do you not understand what im asking... how are the string and number being compared? most languages will not allow you to compare a string and number. I read in help file that a string will default to 0 in certain situations or take the first numbers if they are present. -
how do string and number comparisons work such as $a="foobar" $b=1 if not $a==$b Then MsgBox(0,"no","foobar does not==1") if $a==$b Then MsgBox(0,"yes","foobar==1") which by the way when i run the script neither if statement gets executed which seems impossible.
-
Is there an easy way or option to send keys all at once instead of typing each key? Is there an easy way or option to send keys all at once instead of typing each key? Is there an easy way or option to send keys all at once instead of typing each key? So, Send("hello") would not have to type each key just paste it.
-
Need help with regular expression (Beta)
dark_jedi replied to dark_jedi's topic in AutoIt General Help and Support
That will work but why doesn't this? This will not work for some reason. \< means match beginning \> means match end if StringRegExp("1",'\<\d\>',0) Then MsgBox(0,"yes","matched") EndIf [\code] I believe there are some bugs in the \< but \> works -
is there a good IRC chatroom for Autoit?
dark_jedi posted a topic in AutoIt General Help and Support
this would be very helpful. plz post server and room if you know of one. -
Need help with regular expression (Beta)
dark_jedi replied to dark_jedi's topic in AutoIt General Help and Support
the string has to be only a number not a number found in the string. I dont want matches to abc1. Basically, only a number nothing else in sting. -
Need help with regular expression (Beta)
dark_jedi posted a topic in AutoIt General Help and Support
I'm trying to match a single number and nothing else, this is what I got so far. obviously this does not work. if StringRegExp("1",'\<\d\>',0) Then MsgBox(0,"yes","matched") EndIf but, if i try '\d\>' it matches it but then it will match anything that ends with a digit. -
Read the help file on Exit [return code]
-
Things such as something not working right like window not responding, stop spamming my thread
-
To know if something went wrong while executing my autoit program.
-
How do I get the return code of an autoit script I have tried: echo %ERRORLEVEL% in the ms-dos prompt but it gives me 0 every time here is my autoit code: MsgBox(0,"hello","world") Exit(1) What I would really like is for a perl program to execute an autoit program and get back some responses such as: @response=`autoit.exe parm1 parm2`; but I would settle for the return code.
-
get inputs from another program
dark_jedi replied to dark_jedi's topic in AutoIt General Help and Support
cool, looks like it might work with beta, if not then beta has regular expressions which is what i needed. As a suggestion new version should allow you to execute any program and store its output in a variable in one line of code. such as $output='program.exe parm1 parm2' that would make autoit godly -
get inputs from another program
dark_jedi replied to dark_jedi's topic in AutoIt General Help and Support
stdoutread doesn't even look like a valid function. I'm using autoit3. closest thing i can find is: Run ( "filename" [, "workingdir" [, flag]] ) But this will not return the output of the program that you run. Anymore ideas? -
get inputs from another program
dark_jedi replied to dark_jedi's topic in AutoIt General Help and Support
control commands don't look like they will do it. Does anyone know if this is possible and how to do it? -
I would like to get inputs from executing a perl program inside my autoit script. Is this possible? something like this $input='program.pl'
-
When something goes wrong (Such as an infinite loop) I would like to be able to stop my script. Is there a way to stop executing the script. In c++ crl+c will end your console program. So, if you are in an infinite loop or for any reason you can stop the proram. Something like this would be nice. Thanks.