Let's assume I have this INI file:
[MySection]
Home=123456789
Office=987654321
Cell=123459876
I know I can extract each value of each key using INIREAD, but I wanna also to be able to exteact the KEY itself.
Possible?
Hi Guys,
I must be doing something very wrong...
$Expectedfilename="blabla"
If x () = 0 Then
msgbox (0,"","no file")
Else
msgbox (0,"","file exists")
EndIf
Func x ()
$File=FileOpen ("c:\temp\file.txt", 0)
While 1
$FileName=FileReadLine ($File)
If @error=-1 Then ExitLoop
$Pos=StringInStr ($FileName, $ExpectedFileName)
If $Pos<>0 Then
;Found the string
$FileName=StringTrimLeft ($FileName,$Pos-1)
FileClose ($File)
Return "FileExists"
EndIf
WEnd
EndFunc
My x() func works, but I always get the same answer "No file", why?? the string do exists!!
Hi josbe,
Well, I have ead the manual before posting, and changed all the defaults to minimum:
Opt("MouseClickDelay", 1)
Opt("MouseClickDownDelay", 1)
Opt("MouseClickDragDelay", 2)
Mouseclick ("left",1,1)
Mouseclick ("left",400,400)
Still, the mouse is going to it's destinationin slowly.
What am I doing wrong?
Hi all,
I'm using "MouseClick" function and while running, I observe the mouse going to it's destination quite slowly. How can I increase the speed?
10x
Hey...
I want to click on a control which is not listed in AUTOIT active window info.
e.g. Goto google.com
How do you send a string to the search and click 'Im feeling lucky'?
Delay is not the problem.
I have put the delay needed, but it's not submitted in the piece of script I have submitted.
The probelm is that excel adds some spaces so If $x = "5" Then... will never be true unless you strip out the spaces by using Jdeb's fix.
Hi guys,
I must be doing something very wrong. Im trying to scan an excell file (which is open). What's wrong in this?
Send ("^c")
$x=clipget ()
msgbox (0,"",$x); It displayes 5
If $x = "5" Then
msgbox (0,"","OK"); Never arrived here! WHYYYYY?
EndIf