Skrip Posted June 6, 2006 Posted June 6, 2006 A gui that you type some text in and it returns it backwards..(in gui so you can copy and paste into something else) I suck with string funcs. So ya please make one! [left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left]
Moderators SmOke_N Posted June 6, 2006 Moderators Posted June 6, 2006 (edited) A gui that you type some text in and it returns it backwards..(in gui so you can copy and paste into something else)I suck with string funcs. So ya please make one! I made one of these a long time ago... what's wrong with just using _StringReverse(), doesn't take a alot of knowledge to do that one. Edited June 6, 2006 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
Skrip Posted June 6, 2006 Author Posted June 6, 2006 In-fact I never look at strings. So i'll check it out. [left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left]
Simucal Posted June 6, 2006 Posted June 6, 2006 #include <GUIConstants.au3> #Include <String.au3> Global $s_Temp, $s_Input $h_Main = GUICreate("String Reverse", 229, 103, -1, -1) $Input1 = GUICtrlCreateInput("", 16, 32, 193, 21, -1, $WS_EX_CLIENTEDGE) $b_Reverse = GUICtrlCreateButton("Reverse", 16, 64, 97, 25) GUICtrlCreateLabel("Enter string to reverse:", 16, 14, 110, 17) GUISetState(@SW_SHOW) While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $b_Reverse $s_Input = GuiCtrlRead($Input1) If $s_Input = "" Then MsgBox(0,"Error", "There is no string in the input box!") Else $s_Temp = _StringReverse($s_Input) GuiCtrlSetData($Input1, $s_Temp) EndIf EndSelect WEnd Exit AutoIt Scripts:Aimbot: Proof of Concept - PixelSearching Aimbot with several search/autoshoot/lock-on techniques.Sliding Toolbar - Add a nice Sliding Toolbar to your next script. Click the link to see an animation of it in action!FontInfo UDF - Get list of system fonts, or search to see if a particular font is installed.Get Extended Property UDF - Retrieve a files extended properties (e.g., video/image dimensions, file version, bitrate of song/video, etc)
Uten Posted June 6, 2006 Posted June 6, 2006 In-fact I never look at strings.So i'll check it out.So in fact you didn't even care to open your help file to take a look? How much time could it take Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling
Skrip Posted June 7, 2006 Author Posted June 7, 2006 (edited) I look at the help file alot..just never really had much use for strings. #include <GUIConstants.au3> #Include <String.au3> Global $s_Temp, $s_Input $h_Main = GUICreate("String Reverse", 229, 103, -1, -1) $Input1 = GUICtrlCreateInput("", 16, 32, 193, 21, -1, $WS_EX_CLIENTEDGE) $b_Reverse = GUICtrlCreateButton("Reverse", 16, 64, 97, 25) GUICtrlCreateLabel("Enter string to reverse:", 16, 14, 110, 17) GUISetState(@SW_SHOW) While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $b_Reverse $s_Input = GuiCtrlRead($Input1) If $s_Input = "" Then MsgBox(0,"Error", "There is no string in the input box!") Else $s_Temp = _StringReverse($s_Input) GuiCtrlSetData($Input1, $s_Temp) EndIf EndSelect WEnd Exit thanks! Edited June 7, 2006 by Firestorm [left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left]
Nomad Posted June 7, 2006 Posted June 7, 2006 Everyone should look in their help menu before posting. It was created for a reason. This forum is "supposed" to be for issues which are not clearly stated in the help menu, even though over 50% of the topics posted are clearly shown in the help menu.. Go figure, Nomad
Moderators SmOke_N Posted June 7, 2006 Moderators Posted June 7, 2006 Everyone should look in their help menu before posting. It was created for a reason. This forum is "supposed" to be for issues which are not clearly stated in the help menu, even though over 50% of the topics posted are clearly shown in the help menu..Go figure,Nomad You probably should look at FireStorms posts, and you'll see tha we-all have contributed to non-effort. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
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