PDA

View Full Version : Projector Save to Text file


armpit
04-25-2007, 11:59 PM
I have been "flashing" for a few years, and have just recently gotten into all of the projector stuff. I have made a few public releases of flash-based installers that run batch files to write files, and batch files to download files, and batch files to make 'shortcuts' that look pretty bad.

(First post by the way, been looking here for reference a lot, great site)

I would like to know a few things:

1. How can I use fscommand (or other flash command if there is) to write a variable from an input textarea into a text file located in /fscommand ?

2. Is there a way to use flash to make a shortcut to the desktop? The thing I have now is as follows:

cd..
cd server
echo cd %cd%> "%userprofile%\Desktop\GMod10 Dedicated Server.bat"
echo srcds.exe -game garrysmod>> "%userprofile%\Desktop\GMod10 Dedicated Server.bat"

located in "anywhere_user_wants/fscommand".
This method works great, but rather than a shortcut with an image, it produces a .bat file with the ugly gear-in-a-window thing.


(This last one is a big one)
3. I am wanting to put a key in my program, that will unlock a "registered" version of my installer, and rather than having one key for everyone, I would like to have some sort of algorithm that creates a string based on the username entered, and checks the password they enter to match with it. I will have a program on my computer that gives me the password, and send it to whomever purchases it.


Thanks for any help
-armpit