Jump to content

PlayHD

Active Members
  • Posts

    148
  • Joined

  • Last visited

About PlayHD

  • Birthday 04/28/1994

Profile Information

  • Location
    Romania, Bacau
  • Interests
    Programming

Recent Profile Visitors

661 profile views

PlayHD's Achievements

  1. Or ProcessExist and ProcessKill
  2. Or WinActive.
  3. Instead use this : BitXOR($GUI_SS_DEFAULT_GUI, $WS_MINIMIZEBOX) you can use this : $WS_SYSMENU
  4. Here my game : '?do=embed' frameborder='0' data-embedContent>>
  5. How to make the camera to follow the mouse
  6. >"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "[...]" /UserParams +>14:52:00 Starting AutoIt3Wrapper v.2.1.2.9 Environment(Language:0409 Keyboard:00000409 OS:WIN_8/ CPU:X64 OS:X64) >Running AU3Check (1.54.22.0) from:C:\Program Files (x86)\AutoIt3 [...] : WARNING: $cmons: possibly used before declaration. if $winpos<$cmons And ~~~~~~~~~~~~~~~~~~^ [...] : WARNING: $monitorx: possibly used before declaration. WinMove($Appname,"",$monitorx[$winpos-1], ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ [...] : WARNING: $monitory: possibly used before declaration. WinMove($Appname,"",$monitorx[$winpos-1],$monitory[$winpos-1], ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ [...] : WARNING: $monitorwidth: possibly used before declaration. WinMove($Appname,"",$monitorx[$winpos-1]+($monitorwidth[$winpos-1]/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ [...] : WARNING: $monitorheight: possibly used before declaration. WinMove($Appname,"",$monitorx[$winpos-1]+($monitorwidth[$winpos-1]/2)-350,$monitory[$winpos-1]+($monitorheight[$winpos-1]/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ [...] : WARNING: $hGraphic: possibly used before declaration. _GDIPlus_GraphicsDispose($hGraphic) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ [...] : WARNING: $hImage: possibly used before declaration. _GDIPlus_ImageDispose($hImage) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ [...] : ERROR: $hGraphic: undeclared global variable. _GDIPlus_GraphicsDispose($hGraphic) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ [...] : ERROR: $hImage: undeclared global variable. _GDIPlus_ImageDispose($hImage) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ [...] - 2 error(s), 7 warning(s) !>14:52:01 AU3Check ended. Press F4 to jump to next error.rc:2 >Exit code: 2 Time: 1.812
  7. Something like this ? #include <GuiConstantsEx.au3> #include <File.au3> #include <Array.au3> #include <ListviewConstants.au3> #include <GuiListView.au3> Local $FileList ;declare variables here, not in a loop Local $DataReadFromList $GUI = GUICreate("Automation", 300, 500) ;is good to save the window handle $mylist = GUICtrlCreateList("", 10, 60, 280, 100) $add = GUICtrlCreateButton("Add", 10, 35, 75, 20) GUISetState(@SW_SHOW,$GUI) ;;;; While 1 $msg = GUIGetMsg() Switch $msg Case $add _FileReadToArray("C:\Users\Danny Tan\Desktop\test.txt", $FileList) If @error Then ContinueLoop ;if file not found do something (else the program will generate error) For $i = 1 To $FileList[0] GUICtrlSetData($mylist, $FileList[$i]) Next Case $mylist ;if select a item from list do stuff $DataReadFromList = GUICtrlRead($mylist) MsgBox(0,0,$DataReadFromList) Case $GUI_EVENT_CLOSE ExitLoop EndSwitch WEnd
  8. #include <GuiEdit.au3> _GUICtrlEdit_GetLine($hWnd, $iLine)
  9. '?do=embed' frameborder='0' data-embedContent>> or '?do=embed' frameborder='0' data-embedContent>>
  10. @Firefox, thankyou:) What that means ?
  11. You can use GuiCtrlSetData($showlog,GuiCtrlRead($showlog)&@LF&"New Line") ;;or _GUICtrlEdit_InsertText($showlog,@LF&"Text")
  12. #include <array.au3> $file = FileOpen("data.txt") $text = FileRead($file) $array = StringSplit($text,"|") _ArrayDelete($array,0) _ArrayDisplay($array)
  13. or _WinApi_SetParrent(GuiCtrlGetHandle($Button),GuiCtrlGetHandle($Pic)) if you don't want to disable the picture. Example: http://pastebin.com/cM7HQwnr
×
×
  • Create New...