gui529 Posted March 15, 2009 Share Posted March 15, 2009 (edited) how can I make this into a list..it is displaying them one by one. HotKeySet("{INSERT}", "Options") Sleep(2000) Func Options() While 1 Sleep(10) ToolTip("-----OPTIONS-----",0,0) ToolTip("PRESS f1 To begin",0,0) ToolTip("PRESS f2 To stop",0,0) ToolTip("PRESS f3 To autobuff",0,0) ToolTip("PRESS f4 To exit",0,0) WEnd EndFunc Edited March 15, 2009 by gui529 Link to comment Share on other sites More sharing options...
Authenticity Posted March 15, 2009 Share Posted March 15, 2009 You can make it one long logical line using the concatenate operator - '&' and @LF macro. Link to comment Share on other sites More sharing options...
gui529 Posted March 15, 2009 Author Share Posted March 15, 2009 theres no way to make like a text box? Link to comment Share on other sites More sharing options...
Authenticity Posted March 15, 2009 Share Posted March 15, 2009 Hmm... Do you mean like MsgBox? Link to comment Share on other sites More sharing options...
gui529 Posted March 15, 2009 Author Share Posted March 15, 2009 no Im looking for like....a tooltip box but i can make a list going down. like ---- OPTIONS---- 1. DOES THIS FOR ME UNDERSTAND? Link to comment Share on other sites More sharing options...
Authenticity Posted March 15, 2009 Share Posted March 15, 2009 Oh, sorry for my dumbness. Just create a GUI window without caption and put a combo box all over it and do whatever you want with it. Link to comment Share on other sites More sharing options...
martin Posted March 15, 2009 Share Posted March 15, 2009 no Im looking for like....a tooltip box but i can make a list going down. like ---- OPTIONS---- 1. DOES THIS FOR ME UNDERSTAND? Like Authenticity said to start with just concatenate the strings. $t = '-----OPTIONS-----' & @CR & 'Next line' & @CR & 'another line' ToolTip($t,0,0) Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
Authenticity Posted March 15, 2009 Share Posted March 15, 2009 (edited) You mean this? #include <WindowsConstants.au3> HotKeySet('^w', 'Show') HotKeySet('{ESC}', '_EXIT') Dim $hGUI = GUICreate('', 200, 20, Default, Default, $WS_POPUP, $WS_EX_TOOLWINDOW + $WS_EX_TOPMOST) Dim $ComboBox = GUICtrlCreateCombo('', 0, 0, 200, 200) While 1 Sleep(20) WEnd Func _EXIT() Exit EndFunc Func Show() GUICtrlSetData($ComboBox, '') GUICtrlSetData($ComboBox, 'Line 1|Line 2|Line 3|Line 4', 'Line 1') GUISetState() While 1 Local $Msg = GUIGetMsg() If $Msg = $ComboBox Then ExitLoop Sleep(20) WEnd GUISetState(@SW_HIDE) EndFunc Edited March 15, 2009 by Authenticity Link to comment Share on other sites More sharing options...
BinaryBrother Posted March 18, 2009 Share Posted March 18, 2009 (edited) While 1 Sleep(30) ToolTip("PRESS f1 To begin" & @CRLF & "PRESS f2 To stop" & @CRLF & "PRESS f3 To autobuff" & "PRESS f4 To exit", MouseGetPos(0)+25, MouseGetPos(1)+10,"-----OPTIONS-----",1) WEnd Edited March 18, 2009 by BinaryBrother SIGNATURE_0X800007D NOT FOUND Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now