Jump to content
Sign in to follow this  
BogdanNicolescu

!!AUTOIT SCRIPT LOOP!!

Recommended Posts

While 1
/
/
/
A whole bunch of codes found in help and here: https://www.autoitscript.com/autoit3/docs/
/
/
/
WEnd

OR:

 

HotKeySet("{ESC}", "Terminate")
While 1
MouseClick("Right",674,422)
MouseClick("Left",673,447)
Sleep(2000)
/
/
/
A whole bunch of codes found in help and here: https://www.autoitscript.com/autoit3/docs/
/
/
/
MouseClick("Left",675,339)
SLeep(3000)
WEnd
Func Terminate()
    Exit 0
EndFunc

 

Sorry if i should't let this here to be found by newbies like me -.-'

Share this post


Link to post
Share on other sites
16 hours ago, Jos said:

@BogdanNicolescu, What exactly is the question here?

Jos

Is not a question, but a clarification of this statements: https://www.autoitscript.com/autoit3/docs/intro/lang_loops.htm

 

It is very ambiguous for a new guy/gal if he/she didn't had any type of contact with this program.

 

 

Off topic:

I don't know why, but any curriculum is made purposely harder by ... let's say in a nicer manner ... people who doesn't care about others to learn.

They just throw knowledge in the world and they expect everyone to understand by how they threw it in the world without any modification.

I like to think if any curriculum or knowledge was made easier, more people in this world was more educated and stupid thins wouldn't happen.

I'm out. Said too much ....

Share this post


Link to post
Share on other sites
7 minutes ago, BogdanNicolescu said:

Is not a question, but a clarification of this statements: https://www.autoitscript.com/autoit3/docs/intro/lang_loops.htm

 

It is very ambiguous for a new guy/gal if he/she didn't had any type of contact with this program.

That could be the case, but I am sorry to say that it wasn't very clear from your initial posted and you did post in the Support forum!

7 minutes ago, BogdanNicolescu said:

Off topic:

I don't know why, but any curriculum is made purposely harder by ... let's say in a nicer manner ... people who doesn't care about others to learn.

They just throw knowledge in the world and they expect everyone to understand by how they threw it in the world without any modification.

I like to think if any curriculum or knowledge was made easier, more people in this world was more educated and stupid thins wouldn't happen.

I'm out. Said too much ....

No idea what this rant is about ..  but "what ever"

Bye,
Jos


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  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.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By nooneclose
      Why can I not click on either of my input fields?
      #Region ### START Koda GUI section ### Form= Global $Form1 = GUICreate("Form1", 730, 437, 192, 124) ;GUISetFont(14, 800, 0, "MS Sans Serif") GUISetBkColor(0xC0DCC0) Global $Label1 = GUICtrlCreateLabel("Enter your Password. UserName is auto filled", 62, 40, 604, 41, $SS_CENTER) GUICtrlSetFont(-1, 26, 800, 0, "MS Sans Serif") Global $Label2 = GUICtrlCreateLabel("User Name:", 120, 130, 604, 31, $SS_LEFT) GUICtrlSetFont(-1, 20, 800, 0, "MS Sans Serif") Global $Label3 = GUICtrlCreateLabel("Password:", 135, 210, 604, 31, $SS_LEFT) GUICtrlSetFont(-1, 20, 800, 0, "MS Sans Serif") Global $Input1 = GUICtrlCreateInput(@UserName, 274, 130, 185, 32) GUICtrlSetFont(-1, 14, 800, 1, "MS Sans Serif") Global $Input2 = GUICtrlCreateInput("Password", 274, 210, 185, 32, $ES_PASSWORD) GUICtrlSetFont(-1, 14, 800, 0, "MS Sans Serif") Global $OK = GUICtrlCreateButton("OK", 274, 270, 185, 57) GUICtrlSetFont(-1, 20, 800, 0, "MS Sans Serif") GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $OK Global $UserName = GUICtrlRead($Input1) Global $PassWord = GUICtrlRead($Input2) ExitLoop EndSwitch WEnd ; Delete the GUI window GUIDelete()  
    • By cruisepandey
      Hi, 
      I have a string like this : 
      Global $Msga = "urrent directory is /send.  (Submission of file with log number 29381077284 is confirmed)";
      I want to extract the number 29381077284  from the string. I did StringSplit to split based on "(" and then use space to reach there, But it's not a good choice. 
      Can anyone help me with regular expression to find the number from String using AutoIT. TIA
    • By nooneclose
      I want wanting to run multiple tests on my company website. Sadly the process I want to automate requires opening a File Explorer to add an attachment. Is there a way in to automate a Chrome opened File Explorer?
      (I am using webdriver to automate the other 99% of the process just fine. But when I have it click on attach file and chrome opens a file explorer I do not know how to handle it.) 
      Any help would be greatly appreciated. 
    • By cruisepandey
      Hi There ! 
      I have a script here : 
       
      ;Launch CMD
      Run("C:\Windows\System32\cmd.exe")
      sleep(2000)
      $cmdHandle = WinActivate("C:\Windows\System32\cmd.exe")
      Sleep(2000)
      ;Sending document
      ControlSend($cmdHandle, "", "", "ftp" & @CRLF)
      ControlSend($cmdHandle, "", "", "open" & @CRLF)
      Sleep(2000)
      ControlSend($cmdHandle, "", "", "first command" & @CRLF)
      Sleep(2000)
      ControlSend($cmdHandle, "", "", "second-coomand" & @CRLF)
       
      first-command and second-command I can't provide cause it's internal. I have complied this .au3 file into an exe and it does the work. But I need to invoke this with Java. Java code I have tried is : 
       
          ProcessBuilder pb = new ProcessBuilder("C:\\Users\\username\\eclipse-workspace\\Examples\\src\\com\\own\\examples\\etc.exe");
          pb.start();
          Thread.sleep(5000);
       
      Through java it just launches the cmd and nothing happens after that. Please help !!
    • By FUD
      hello 
      please i need help 
      i need to open link in default browser only one windows without duplicate if i try to open the same link 
       
      thanks 
×
×
  • Create New...