Jump to content

Toysan

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by Toysan

  1. Here is a code I Made, To show how does my window looks like... #include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= Global $Form1 = GUICreate("Auto 8,9", 301, 101, 313, 303) GUISetBkColor(0xFFFF00) Global $Button1 = GUICtrlCreateButton("START", 24, 24, 113, 41) GUICtrlSetBkColor($Button1, 0x00FF00) Global $Button2 = GUICtrlCreateButton("STOP", 184, 24, 113, 41) GUICtrlSetBkColor($Button2, 0xFF0000) Global $Pic1 = GUICtrlCreatePic("C:UsersAdminDocumentsautosave_0069_640x360.bmp", 0, 0, 300, 100) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd But still I do not know how to make main START and STOP part
  2. Sorry for posting it in wrong section
  3. I was trying to write simple GUI program with using. But thats too harsh for me and as more I read about AutoIt as less I knew from it 0.o My idea was to cr8t simple program which when I click START button then: 1. it presses (NOT holds) num 9 2. wait 0.5s 3. it presses (NOT holds) num 8 4. wait 4s and reapeats whole actions from 1 to 4 till I Click STOP button. If someone would think that, I want to use someone than belive me I am not, I am still trying to cr8t it with AutoIt tool called Koda (version 1.7.3.0) but with TOTALLY shitty progress T-T. I was simply not born for scripting.. So plz someone help.
×
×
  • Create New...