Jump to content

bazinga

Members
  • Posts

    8
  • Joined

  • Last visited

bazinga's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. aah ok. thank you very much
  2. oh yea, its working thanks alot Melba23! well, one more question: why do i have to use "user32.dll" when using _IsPressed in a loop? any disadvantages if i dont do? i ask, because i cant see a difference :S
  3. Hello guys, as the title says, i have a problem with array, combobox and the IsPressed function. i try to pass the selected item to the _IsPressed function but its not working the way i do it. a little hint what to search for or a code snippet to learn from would be really nice. thanks in advance. Global $Array[3][2] = [ ["X", 58], ["C", 43], ["V", 56] ] $Combo = GUICtrlCreateCombo($Array[0][0], 130, 100, 50, 20, BitOR($CBS_DROPDOWNLIST, $CBS_AUTOHSCROLL)) For $i = 0 To Ubound($Array) - 1 GUICtrlSetData($Combo, $Array[$i][0], True) Next $Key = GUICtrlRead($Combo) While 1 If _IsPressed($Key) Then Do Send ("{0}") Until Not _IsPressed($Key) EndIf WEnd
  4. oh yea. its working properly now. version 3.3.8.1 + newest scite editor did it. thanks a million also a big thanks for resource udf <3
  5. version 3.3.8.0
  6. i reinstalled autoit to "C:AutoIt" and still same error. i never had problems before. i have absolutely no idea whats going on. maybe theres something wrong in the registry.
  7. >C:program filesautoit3aut2exeaut2exe.exe /in "C:UsersBazingaDesktoptest.au3" Der Befehl "C:program" ist entweder falsch geschrieben oder konnte nicht gefunden werden. >Exit code: 1 Time: 0.343 in english: The command "C:program" is either wrong or couldnt found. EDIT: its becuz of the space in "C:\Program Files\AutoIt3\Aut2Exe\aut2exe.exe" i guess :s
  8. Hello guys, im not very familiar with autoit. can u guys help me on that one. the background still is black thanks in advance. #AutoIt3Wrapper_Res_File_Add=D:\test.jpg, rt_rcdata, TEST_JPG_1 #include <GuiconstantsEx.au3> #include <WindowsConstants.au3> #include <SendMessage.au3> #include "resources.au3" Global Const $SC_DRAGMOVE = 0xF012 HotKeySet("{F11}", "Close") Func Close() Exit EndFunc $hGUI = GUICreate("X", 300, 300, -1, -1, BitOR($WS_POPUP,$WS_BORDER), $WS_EX_TOPMOST) $Pic = GUICtrlCreatePic("", 0, 0, 300, 300) _ResourceSetImageToCtrl($Pic, "TEST_JPG_1") GUISetState(@SW_SHOW) GUICtrlSetState(-1, $GUI_DISABLE) GUISetBkColor(0x000000, $hGUI) GUICtrlCreateButton("Sample Button", 10, 10, 100, 30) While 1 Switch GUIGetMsg() Case $GUI_EVENT_PRIMARYDOWN _SendMessage($hGUI, $WM_SYSCOMMAND, $SC_DRAGMOVE, 0) EndSwitch WEnd
×
×
  • Create New...