Jump to content

Backwards?


Recommended Posts

:D 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!

:D

[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]

Link to comment
Share on other sites

  • Moderators

:D 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!

:D

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 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.

Link to comment
Share on other sites

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]

Link to comment
Share on other sites

#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)
Link to comment
Share on other sites

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 :D
Link to comment
Share on other sites

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 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]

Link to comment
Share on other sites

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 :D

Link to comment
Share on other sites

  • Moderators

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 :D

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.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...