datkewlguy Posted March 24, 2005 Share Posted March 24, 2005 (edited) I need to merge the encryption/decryption functions in the standalone scripts (attached) into the GUI (below) Here is the GUI: expandcollapse popupHotKeySet( "^{ENTER}", "scramble") HotKeySet( "!{ENTER}", "unscramble") #include "guiconstants.au3" $GUI = GUICreate("Scramblator", @DesktopWidth, 100, 0, 0) $input = GUICtrlCreateInput("",10,40,@DesktopWidth - 20,20) $scrambled= GUICtrlCreateButton("Scrambled is...",10,20,@DesktopWidth - 20,20) $unscrambled = GUICtrlCreateButton("Uncrambled is...",10,60,@DesktopWidth - 20,20) GUISetState() While 1 $return = GUICtrlRead($input) $msg = GUIGetMsg() If $msg = -3 Then ExitLoop If $msg = $scrambled Then GUICtrlSetData($scrambled,GUICtrlRead($input)) GUICtrlSetData($input,"") ClipPut( $return ) endif If $msg = $unscrambled Then GUICtrlSetData($unscrambled,GUICtrlRead($input)) GUICtrlSetData($input,"") ClipPut( $return ) EndIf ToolTip( $return ) WEnd func scramble() GUICtrlSetData($scrambled,GUICtrlRead($input)) GUICtrlSetData($input,"") ClipPut( $return ) EndFunc func unscramble() GUICtrlSetData($unscrambled,GUICtrlRead($input)) GUICtrlSetData($input,"") ClipPut( $return ) EndFunc Edit: I also need to add the string replacements Hopefully I explained everything well enough, if not just reply with your questions Edited March 24, 2005 by datkewlguy Link to comment Share on other sites More sharing options...
datkewlguy Posted March 25, 2005 Author Share Posted March 25, 2005 plz someone, i just need the returned text to be encrypted/decrypted... 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