Jump to content

Newbie2

Active Members
  • Posts

    61
  • Joined

  • Last visited

Newbie2's Achievements

Wayfarer

Wayfarer (2/7)

0

Reputation

  1. Hi, I there a way to perform a step by step debugging of a script, yet? Thanks,
  2. 10x, dude
  3. 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?
  4. Guys, I have just discovered Scite. Does it support breakPoints (for debugging)? 10x
  5. 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!!
  6. 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?
  7. 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
  8. OK. 10x
  9. 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'?
  10. 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.
  11. Yes, Beerman, I have highlighted it before running the script. However, w/o Jdeb's fix, it doesn't work...
  12. Bingo!! I wonder why a simple excel cell contains leading or trailing spaces...
  13. 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
×
×
  • Create New...