Sign in to follow this  
Followers 0
multiloser

Saving a file INTO the script...

4 posts in this topic

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!

Share this post


Link to post
Share on other sites



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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
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
Sign in to follow this  
Followers 0