multiloser Posted August 5, 2007 Share Posted August 5, 2007 Now, I could have sworn that I saw a code that allowed for editting of the scripting of the program (like a self-edit), but I can't find it.Well, basically what I am trying to do is this:I want to create a text document incorporated into my script,the user can write whatever the hell they want,then they can save the file,then the next time they run the program, the text document that they saved will be displayed.Basically like this:http://techgage.com/article/steganos_locknote_10/I just need help on how to make the program save whatever the user typed into the textbox, then bring it back when the program is run again.Thanks in advance! Link to comment Share on other sites More sharing options...
martin Posted August 5, 2007 Share Posted August 5, 2007 Now, I could have sworn that I saw a code that allowed for editting of the scripting of the program (like a self-edit), but I can't find it.Well, basically what I am trying to do is this:I want to create a text document incorporated into my script,the user can write whatever the hell they want,then they can save the file,then the next time they run the program, the text document that they saved will be displayed.Basically like this:http://techgage.com/article/steganos_locknote_10/I just need help on how to make the program save whatever the user typed into the textbox, then bring it back when the program is run again.Thanks in advance!Can't you just save the text to a file then read the file when the program runs the next time? 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...
multiloser Posted August 5, 2007 Author Share Posted August 5, 2007 No, I want the file to be self-contained. Like the Steganos Locknote, if you move the .EXE file around on your USB drive, the file will still open the file. I want the txt file to somehow be saved INTO the .EXE. Link to comment Share on other sites More sharing options...
PsaltyDS Posted August 5, 2007 Share Posted August 5, 2007 No, I want the file to be self-contained.Like the Steganos Locknote, if you move the .EXE file around on your USB drive, the file will still open the file.I want the txt file to somehow be saved INTO the .EXE.Seems like an awful way to do things.But, if you must, you could include an AutoIt install on the USB and recompile with FileInstall().There are all kinds of reasons for that to be ridiculous, but so is the goal here... Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law 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