Jump to content
Aleksandar

Restart script from with in

Recommended Posts

Aleksandar

So can anyone help me ? I need to restart program when condition is not met ...

123.thumb.png.519338c481634db57f77e3287e4bccb2.png

Share this post


Link to post
Share on other sites
JLogan3o13

Why do you need to perform so many backspaces? What is the application you're trying to automate?


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
Aleksandar
10 minutes ago, JLogan3o13 said:

Why do you need to perform so many backspaces? What is the application you're trying to automate?

It's to delete some input ... I'm trying to automate IQ option ... but i only use info from my desktop with PixelSearch

Share this post


Link to post
Share on other sites
JLogan3o13

Still didn't answer the question; it is a bit difficult to assist you when you are not providing information. A screenshot of the app window would help us help you.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
Aleksandar
1 minute ago, JLogan3o13 said:

Still didn't answer the question; it is a bit difficult to assist you when you are not providing information. A screenshot of the app window would help us help you.

Eee ... do you have TimeViewer ? Because i don't know how to Expl. this to you

 

Share this post


Link to post
Share on other sites
JLogan3o13

You don't know how to take a screenshot?


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
Aleksandar
1 minute ago, JLogan3o13 said:

You don't know how to take a screenshot?

Chill bro :D

11.png

Share this post


Link to post
Share on other sites
JLogan3o13

I'm quite chill "bro" (geez, that just sounds childish to type). However, this is the exact same thing you asked for help with before, and you never answered the question:

Since you are on and active, you can now answer just what you're going to be doing to earn yourself €5000 pm. This time if you fail to provide an answer you will receive an all expense paid vacation from the forum for a duration of my choosing. Clock is ticking.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
Aleksandar
1 minute ago, JLogan3o13 said:

I'm quite chill "bro" (geez, that just sounds childish to type). However, this is the exact same thing you asked for help with before, and you never answered the question:

Since you are on and active, you can now answer just what you're going to be doing to earn yourself €5000 pm. This time if you fail to provide an answer you will receive an all expense paid vacation from the forum for a duration of my choosing. Clock is ticking.

xD ... what ... why do i need to answer that  ??? .... well anyway ... what am i doing is that i bet on this app ... and I'm using Mardigay strategy ... long story shot ... i place bet of 1e or $ and if i loss i bet twice as mush and bit more so i can earn up to 0.15 cent ... and i do this every 60 sec ... on every day i can earn up to 150 e ... and so on ... i can explain it better if we could make some sort of call :D cuz it's difficult this way ...

Share this post


Link to post
Share on other sites
Aleksandar
Just now, Aleksandar said:

xD ... what ... why do i need to answer that  ??? .... well anyway ... what am i doing is that i bet on this app ... and I'm using Mardigay strategy ... long story shot ... i place bet of 1e or $ and if i loss i bet twice as mush and bit more so i can earn up to 0.15 cent ... and i do this every 60 sec ... on every day i can earn up to 150 e ... and so on ... i can explain it better if we could make some sort of call :D cuz it's difficult this way ...

and with this program i can just chillax and not do a thing while this program dose everything for me ...

 

6 minutes ago, JLogan3o13 said:

I'm quite chill "bro" (geez, that just sounds childish to type). However, this is the exact same thing you asked for help with before, and you never answered the question:

Since you are on and active, you can now answer just what you're going to be doing to earn yourself €5000 pm. This time if you fail to provide an answer you will receive an all expense paid vacation from the forum for a duration of my choosing. Clock is ticking.

 

Share this post


Link to post
Share on other sites
JLogan3o13

I see in that site's code of conduct that any user can be banned for "posting same-type information, flooding, spamming" which sounds like what you are attempting to do. Therefore this is not something we are prepared to support.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
Jos
Posted (edited)

@Aleksandar,

You are really a bit thick aren't you, reporting a post and lock of thread by a moderator?
... and yes... you can't answer which probably is for the best anyway as you don't seem to have much to say which has any substance.

Jos

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Similar Content

    • ShakeelAhmad
      By ShakeelAhmad
      I've to upload different number of photos online in different assignments. There is a problem that all photos cannot be selected at once to upload. I have to choose and upload photos one by one. For this purpose I have made a script to automate whatever I have to do manually for choosing and uploading photos one by one.
      Please see my script below and check the last "MouseClick" command. This command clicks the button to choose and upload next photo. The problem I'm facing is; the last "MouseClick" works 1 step extra when all photos have been selected and uploaded. I mean if 7 photos are to be uploaded, this command opens the box from where next photo is selected and uploaded then it again opens the box and next photo is choosen and so on.... when last photo is selected and uploaded, this button once again opens the box. When all photos are uploaded, it should not click the button to select next photo. Please suggest how can I resolve this issue.
      #include <AutoItConstants.au3> Sleep(200) HotKeySet("{ESC}","Quit") ;Press ESC key to quit Send("{ALT DOWN}") Send("{TAB}") Send("{ALT UP}") Sleep(200) Local $photos = InputBox("Question", "How many photos to upload?", "#", "", _ - 1, -1, 0, 0) ; How many photos to upload Local $selector = 0 While $photos <> $selector MouseClick("Left", 281, 238, 1) ; mouse click on very first photo in the box. if $selector = 0 Then Send("{ENTER}") ; for selecting very first photo from "open" window. Sleep(800) Else sleep(200) Send("{RIGHT " & $selector & "}") ; for selecting 2nd to onward photos from "open" window. sleep(1000) Send("{ENTER}") sleep(1000) EndIf MouseClick("Left", 495, 198, 1) ; for clicking a button to choose next photo to upload $selector = $selector + 1 WEnd Beep(1500, 300) ; beep when all photos uploaded Exit Regards,
       
      Shakeel
    • WoodGrain
      By WoodGrain
      Hi guys,
      I'm learning about GUI's, I'm trying the below code, the idea being if I press the letter "e" while I have the GUI open I want the label color to change to green (I'm using a UDF for label colors). But every time I press "e" on my keyboard I just get a "ding" sound from my speakers and nothing changes with the label.
      I've looked at using something like "While GUIGetMsg() <> $GUI_EVENT_CLOSE" as I've seen it in other code instead of "While 1", but I don't think it's relevant.
      #include <GUIConstantsEx.au3>; for GUI... #include <GUIRichLabel.au3>; UDF for rich text label fonts #include <Misc.au3>; for _IsPressed $myLetter = "e" $hGUI = GUICreate("test", 700, 60) $lbl2 = _GUICtrlRichLabel_Create($hGUI, '<font color="purple">' & $myLetter & '</font>', 10, 10); , 260, 25 GUISetState(@SW_SHOW) Local $hDLL = DllOpen("user32.dll") While 1 if _IsPressed(Hex($myLetter), $hDLL) Then While _IsPressed(Hex($myLetter), $hDLL) Sleep(250) WEnd _GUICtrlRichLabel_SetData($lbl2, '<font color="green">' & $myLetter & '</font>') Sleep(2000) DllClose($hDLL) Exit EndIf Sleep(50) WEnd DllClose($hDLL) I am using an array of letters that I'm wanting to do this for, but as I can't get it to work I've stripped it down to the simplest code I can think of to try and get this working first. Appreciate any help.
      Thanks!
    • AndreasNWWWWW
      By AndreasNWWWWW
      Hi, i'm curious if this is even possible, i want to do an action if the ini file contains current values under a section.
      for my test i'm looking for 100,200,300,400,500
      and if any of those excits i want to pop a msgbox with the number in the section.
      i can in my example find one, but it does not check everyone. why?  what am i missing?
      Local $iscore810[5] = [100,200,300,400,500] Local $iMax800 = 5 While 1 ;~     Send("{pause}") ;;func les ini fil     $var = IniReadSection("Area.ini", "modus")     If @error Then         MsgBox(4096, "Error", "Unable to read section.")     Else          For $number = 1 To $var[0][0] If $var[$number][1] == $iscore810[3] Then       MsgBox($MB_SYSTEMMODAL, "FAnt den på", $var[$number][0], 5) EndIf                       Next     EndIf     exit WEnd  
    • krasnoshtan
      By krasnoshtan
      Hello forum users!
      At some point I had a need to restart my script. Is it possible to do this with autoit or do I need to connect additional scripts like .cmd or .bat?
      For example: i have only script.au3 and it's running. Wich code shoud i use to exit from the script and start it again?
    • Eli_jahbot
      By Eli_jahbot
      my esteemed autoits,
      i need your help once again. The bold and italics below are what i will be referring to. I need a message box to exit the script if Cancel is pressed and to continue the script if OK is pressed. I have tried multiple ways to do this to no avail. Can someone please breakdown how i go about this via Message box, and or Input box as I'm sure they will follow the same logic. I appreciate your time and assistance.
       
      Example:
      global $url, $username, $password, $sspassword
      $url = "https://securegateway.fairview.org"
      $username = "XXX"
      $password = "YYY"
      $sspassword = "ZZZ"
      #include <Constants.au3>
      #include <msgboxconstants.au3>
      ShellExecute ($url)
      WinWaitActive("window")
      send($username)
      send("{tab}")
      send($password)
      send("{enter}")
      msgbox($mb_okcancel, "Wait for the page to load then select OK to continue script", "Wait for the page to load then select OK to continue script")
      if($idok)
      send("+{tab 8}")
      send("{enter}")
      if ($idcancel) then Exit
      EndIf
×