Sokete Posted September 21, 2012 Share Posted September 21, 2012 sorry for not read the rules aver wanted to ask how to make antler f8 f1 and f2'm doing a program with guild and some input for the delay and when I pressed the button that scrips run the problem is that I only run one single execution or is 1 single function and not send the other functions because it's like running one single scrips I creear program uses 8 buttons and 8 input shaft F1 F8 but if I put for example $ Button1 = GUICtrlCreateButton ("F1', 8, 8, 105, 25) GUICtrlSetOnEvent (-1, "Button1Click") $ INPUT4 = GUICtrlCreateInput ("INPUT4", 248, 72, 25, 21) GUICtrlSetOnEvent (-1, "Input4Change") $ Button2 = GUICtrlCreateButton ("F2", 216, 40, 25, 25) GUICtrlSetOnEvent (-1, "Button2Click") $ Input3 = GUICtrlCreateInput ("Input3", 248, 40, 25, 21) GUICtrlSetOnEvent (-1, "Input3Change") func Button1Click() while 1 ControlSend ("", "", "", "{F6}") Sleep (GUICtrlRead ($ INPUT4) * 1000) when EndFunc Func Button2Click() while 1 ControlSend ("", "", "", "{F4}") Sleep (GUICtrlRead ($ Input3) * 1000) WEnd EndFunc If squeezed in button 1 goes if squeezed in the second button executes no action goes not think I'm doing wrong in using GUICtrlSetOnEvent or I'm wrong sorry I'm new in AutoIt sorry if you do not understand the question speak Spanish and use google translator Thanks and sorry for bothering Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted September 22, 2012 Moderators Share Posted September 22, 2012 Sokete,Read those Forum Rules to which I linked - we do not support game bots. Ask again and you will be removed from the forum. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts