Jump to content

w_sp8er

Active Members
  • Posts

    56
  • Joined

  • Last visited

About w_sp8er

  • Birthday 05/20/1978

Profile Information

  • Location
    Brisbane QLD, Australia
  • Interests
    Coding, reading, learning new things, eating new foods, biking, ... other stuff (I'll add as I think of them).

w_sp8er's Achievements

Wayfarer

Wayfarer (2/7)

0

Reputation

  1. I've seen that you can use wild cards like this: Can you also use this wildcard? for searching for files only.
  2. If everyone read the Manual before posting the post count would be too low...
  3. Bedtime stories are good! I agree with Larry, the LongCommandNames instead of the ShCoNames are MUCH easier to read (& I would find it much easier to debug). But then again, that's just my opinion!
  4. This is what I do While 1 If WinActive("Title", "Text") Then Do Something ExitLoop ElseIf WinActive("Title2","Text2") Then Do Something Else ExitLoop EndIf Sleep(250) Wend or While 1 If WinActive("Title", "Text") Then Do Something ExitLoop EndIf If WinActive("Title2","Text2") Then Do Something Else ExitLoop EndIf Sleep(250) Wend
  5. I use the same procedure as quoted by emmanuel.
  6. here is what the 'query.txt' files says:
  7. Func manaregain() If PixelGetColor (59, 720) = "0x8C8A8C" Then Send ("{F4}") Sleep(2000) Send ("{F3}") Sleep(10000) EndIf EndFunc
  8. Could you post the problem code?
  9. nice script, thanks
  10. Run(@ComSpec & " /c runDLL32.EXE DISKCOPY.DLL,DiskCopyRunDll", "", @SW_HIDE)
  11. AutoItSetOption ("TrayIconHide", 1) Break(1) WinWaitActive("Johnny's Stuff") WinActive("Johnny's Stuff") WinKill("Johnny's Stuff") ;-------------------------------------------------------------------------- $answer = MsgBox(52, "Grant access?", "Do you have the password?") ;-------------------------------------------------------------------------- If $answer = 6 Then ;-------------------------------------------------------------------------- $pass = InputBox("Verifying rights...", "Please enter password.", "", "*") If $pass = "surenovida" Then Run("Johnny's Stuff", "C:\~~~", @SW_MAXIMIZE) Exit Else MsgBox(17, "Incorrect!!!", "Game over loser!!!", 10) WinWaitClose("Incorrect!!!", "Game over loser!!!") Shutdown(12) EndIf ;-------------------------------------------------------------------------- ElseIf $answer = 7 Then MsgBox(49, "Sorry...", "Access Denied!!!", 10) ;-------------------------------------------------------------------------- EndIf
  12. try $txt2 = Fileopen('"' & $rootfiledir & '\' & $Dir & '\info.txt"', 2)
  13. Thank you ezzetabi for that function.
  14. Problem Solved by JdeB! See http://www.autoitscript.com/forum/index.php?showtopic=3707 for the solution. Mod please close.
  15. Thanks JdeB. Investigating... EDIT: Thank you JdeB for that! It Works! Yes!
×
×
  • Create New...