JoMeKa Posted May 30, 2012 Share Posted May 30, 2012 Hi! #include <string.au3> $openrun = FileOpen("run.txt") $readrun = FileRead($openrun) $drun = _StringEncrypt(0,$readrun ,'a' ,1) run.txt is already encrypt this is run.txt content CB1133B1EA765EE7F2C000FFF1B11E6042489C829B4238621A9C8764479B80C62AD9A83B9A28E9A2 its msgbox(0,'','hello') i want to execute it after Decrypt it i wish you understant My request And soory for my bad engilsh Link to comment Share on other sites More sharing options...
Zedna Posted May 30, 2012 Share Posted May 30, 2012 (edited) What is it in decrypted form?Look at Execute()EDIT:Execute ("msgbox(0,'','hello')")orExecute($drun) Edited May 30, 2012 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
JoMeKa Posted May 30, 2012 Author Share Posted May 30, 2012 thanx for reply But sory i make wrong example for what i want what i want not just msgbox i encrypt a long func i want to decrypt it and then execute it Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted May 30, 2012 Moderators Share Posted May 30, 2012 JoMeKa, Two possibilities spring to mind: - 1. Decrypt the function, write it to a .au3 file and then run it from within your script passing parameters on the commandline. - 2. Compile the function as a .a3x file (reduced need for encryption) and then run that as above. Any help? 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
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