Jump to content

tomashen

Active Members
  • Posts

    116
  • Joined

  • Last visited

Recent Profile Visitors

165 profile views

tomashen's Achievements

  1. ok fair enough ... i dont know why cant mention the word? you allergic to it or something? thats the problem bro ! that ******* BEEP BIDY BEEP ... can take out source from ANY autoit exe >.< thats why i wana kill that idiot who make it
  2. im not saying i need 5 , i just say out the sky... tomatoe/ketchup ... i dont know hwat ill need yet
  3. ok ,but dont ban me ... not doing anything bad i just want to know best ways on multithread/process i saw all possible ways TCP _SendMessage(not sure how to use) Other people UDFs Ini / reg (will never use this) guiness : why cant i do it in autoit ? over past 4 years autoit has evolved alot i saw with my own 2 eyes. make it 4 eyes for this year
  4. how? if main script get decompiled by those leechers.. then all 4 will be too >.<
  5. Melba i only said it because i said i want to stay away from multiple exes because that mean more to protect... i dont want anybody to have the decompiler please go ban the website if you can because its stupid moron that release the decomper... >.< and i just want multithreading because i want to create a chat like skype , because i loved windows live messenger ( MSN ) and its gone now ...so i want to make something similar ! ^^ owww. ok guiness thnx:) --> i dont know why jchd ask me that ? because i mention decomp? well i want multithread because protecting 1 exe is easier than 5.
  6. i dont understand what you are asking ?
  7. fair enough would you be able to demonstrate a clean / perfect way for doing this? my guis are not irresponsive... they work fine but one task at a time is getting boring i want to try something more example / tips will do to get me to right directions THNX !
  8. ok i hope someone answers
  9. yes i know , but one exists and it can decompile any autoit exe.... my question is what method is/are best to use as a faik multithreading? something that doesnt make main script pause while function is called or w..e.
  10. ive been reading with my eyes -> O_O <- like that for the last 4 hours about autoit multithreading / processing... but now i am just thinking if CreateThread isnt so great,, what ways would you guys recommend? i really want to stay away from multiple .exe's as far as posible because AutoIt can be decompiled with ease now , and i wont post the link to this decompiler that some idiot made unless it is allowed to ? and so autoit community could get rid of the tool somehow maybe .. i dont know .. but anyway what would you recommend? and a simple quick of the top of your head example with the suggestion if you dont mind? or a link to example even...
  11. GUISetOnEvent($GUI_EVENT_PRIMARYDOWN, "GUIControl") Func GUIControl() If _WinAPI_GetFocus() <> GUICtrlGetHandle($listview) Then Return Else $iCount = _GUICtrlListView_GetSelectedCount($listview) ; Are any items selected If $iCount Then $Split = StringSplit(GUICtrlRead(GUICtrlRead($listview)), "|") If $Split[2] = "N" Then _GUICtrlListView_SetItemText($listview, _GUICtrlListView_GetSelectedIndices($listview), "Y", 1) _GUICtrlListView_JustifyColumn($listview, _GUICtrlListView_GetSelectedIndices($listview), 2) ElseIf $Split[2] = "Y" Then _GUICtrlListView_SetItemText($listview, _GUICtrlListView_GetSelectedIndices($listview), "N", 1) _GUICtrlListView_JustifyColumn($listview, _GUICtrlListView_GetSelectedIndices($listview), 2) EndIf _GUICtrlListView_SetItemSelected($listview, -1, 0, 0) EndIf EndIf EndFunc ;==>GUIControl this changes the Y=Yes / N=No values on subitem because this is easier for me as instead of making checkboxes done this myself except i used a little snippet part of some source i cant remember where i found it ... my head is all over the place but other people will know how to use this... EDIT : bah ... fix the autoit code melba please... i try edit and edit 5 times now but everything come like that in green ... >.>
  12. ive been searching and trying alot of samples on forum but nothing works how i want itto and i cant modify them >.< i am trying to create a listview with guictrlsetonevent ().. but listview isnt reacting to setonevent .. why? i just want when i click on listview items that the function get called and read what item is selected and change the text on double click i specifically looked at this for a bit of time but your method isnt returning anything to me ... i have 2 listviews in my gui
  13. i tryed all codes hex dec and oct non work when i put _SendKeys($HWnD , "{0}") please dont be so hard on me lol i barely know this dll stuf i think you should be supportive :/
  14. ok i found something.I hope im not braking any rules now :| but how do i know what value to put for other keys _SendKeys($HWnD , "{0}") Func _SendKeys($hWnd, $keys) If $hWnd <= 0 Or StringLen($keys) = 0 Then SetError(-1) Return False EndIf $keys = StringUpper($keys) $keys = StringReplace($keys, "`", Chr($VK_OEM_3)) $keys = StringReplace($keys, "~", Chr($VK_OEM_3)) $keys = StringReplace($keys, "-", Chr($VK_OEM_MINUS)) $keys = StringReplace($keys, "=", Chr($VK_OEM_PLUS)) $keys = StringReplace($keys, "{ENTER}", Chr(0xD)) $keys = StringReplace($keys, "{TAB}", Chr(0x9)) $keys = StringReplace($keys, "{ESC}", Chr($VK_ESC)) $keys = StringReplace($keys, "{F5}", Chr($VK_F5)) $keys = StringReplace($keys, "{F12}", Chr($VK_F12)) $keys = StringReplace($keys, "{SHIFT}", "+") $keys = StringReplace($keys, ".", Chr($VK_Period)) $keys = StringReplace($keys, ";", Chr($VK_SEMICOLON)) $keys = StringReplace($keys, "{0}", Chr(0x48)) ; i put this in myself but doesnt work :/ this dec value ;$keys = StringReplace($keys, ":", chr($VK_SEMICOLON)) Local $i, $ret Local $shiftdown = False For $i = 1 To StringLen($keys) If StringMid($keys, $i, 1) = "+" Then DllCall("user32.dll", "int", "PostMessage", "hwnd", $hWnd, "int", 0x100, "int", 0x10, "long", 0x002A0001) DllCall("user32.dll", "int", "PostMessage", "hwnd", $hWnd, "int", 0x100, "int", 0x10, "long", 0x402A0001) $shiftdown = True Sleep(1) ContinueLoop Else $ret = DllCall("user32.dll", "int", "MapVirtualKey", "int", Asc(StringMid($keys, $i, 1)), "int", 0) If IsArray($ret) Then DllCall("user32.dll", "int", "PostMessage", "hwnd", $hWnd, "int", 0x100, "int", Asc(StringMid($keys, $i, 1)), "long", _MakeLong(1, $ret[0])) Sleep(1) DllCall("user32.dll", "int", "PostMessage", "hwnd", $hWnd, "int", 0x101, "int", Asc(StringMid($keys, $i, 1)), "long", _MakeLong(1, $ret[0]) + 0xC0000000) EndIf EndIf If $shiftdown Then Sleep(1) DllCall("user32.dll", "int", "PostMessage", "hwnd", $hWnd, "int", 0x101, "int", 0x10, "long", 0xC02A0001) $shiftdown = False EndIf Next Return True EndFunc
  15. i want to learn a bit on using user32.dll since i see it is more powerfull then a normal Send() command and for start how do i know , how to use this user32.dll to send a key. as much as i know u must hex code for the key right? not like in autoit we put simply {1} or {a} or so... thanks for the help!
×
×
  • Create New...