Jump to content

ahaykal

Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by ahaykal

  1. here is exactly what I mean : The progress is in image 001 when it happens image002 will appear. When image002 appears I want it to do something(send me an email). could u guide me on the right track please!
  2. Hello members, I was just wondering if I can script a while loop to exit when a specific button is no longer found on the interface! Here is what I am doing exactly: Now i have a backup in progress i want it to send the time of when it finished so now there is a cancel button i want it to detect that when this cancel button is no longer there. I have attached the windows info tool information which I get when I hover over the button! Could you please aid me? Thanks
  3. hmm alright thanks but u said "There are many diferent ways of getting different data from different applications or controls." for example for a word file or something how would i be able to do it thanks
  4. ah ok thanks well how about for example a word document or a notepad or excel or inside a game or anywhere?
  5. First off thanks for this great community for helping in everything. I searched a lot if there is any way to capture a string or a number from inside a flash game or anywhere but I could not find. Like for example searching the screen for a word like inventory or item and if found to click on it. Or for example get a character health and put it in a notepad file. Thanks
  6. After hours of work it finally worked Thanks for your help!
  7. this is my code here: #cs ---------------------------------------------------------------------------- AutoIt Version: 3.3.6.0 Author: myName Script Function: Template AutoIt script. #ce ---------------------------------------------------------------------------- ; Script Start - Add your code below here #include<misc.au3> ;needed to capture keystrokes HotKeySet("!q", "Numpad7") HotKeySet("!w", "Numpad8") HotKeySet("!a", "Numpad4") HotKeySet("!s", "Numpad5") HotKeySet("!z", "Numpad1") HotKeySet("!x", "Numpad2") While 1 WEnd Func _SendEx($ss,$warn = "") Local $iT = TimerInit() While _IsPressed("10") Or _IsPressed("11") Or _IsPressed("12") if $warn <> "" and TimerDiff($iT) > 1000 Then MsgBox(262144, "Warning", $warn) EndIf sleep(50) WEnd Send($ss) EndFunc;==>_SendEx Func Numpad7() _SendEx("{numpad7}") EndFunc Func Numpad8() _SendEx("{numpad8}") EndFunc Func Numpad4() _SendEx("{numpad4}") EndFunc Func Numpad5() _SendEx("{numpad5}") EndFunc Func Numpad1() _SendEx("{numpad1}") EndFunc Func Numpad2() _SendEx("{numpad2}") EndFunc where exactly should i put the _ispressed? thanks for your help
  8. Okay i have a question I should hope you will be able to help me. Well I am using HotKeySet("!q", "Function1") HotKeySet("!w", "Function2") My question is that is there anyway to make it that when alt is still pressed and press "q",function1 occurs and then I press "w" while holding alt then function 2 will happen? For example i press alt q while still holding alt, I press "w" then the second function happens? What is happening now is that function1 happens when i release both alt and q. i want it to happen when i release q only? Thank you for your help
×
×
  • Create New...