-
Senior Member
Application???
Ok, I originally wanted to make an application print a list. I still want to do this, however, is there a way to save the list, and then open it from the application? or possibly make it so that the save dialogue comes up, and when it saves, it will open the file (a ".txt" file in notepad)?
From there the application user could print from notepad. (It would still be nice to include a print function in the application...)
Please Please Please respond...
Zoranan
-
3DFA hobby scripter
you could also make the application save as html
so you can layout the text better,
this would be easy in php, but as an application? no idea.
-
You can use the Application class that is only availible on .exe export. It's very easy, let me show you:
Code:
var path = Application.fileSaveDialog ("list.txt","List","txt");
if (path != null)
{
list.save(path);
}
else
{
// user has cancelled the saving
}
list has to be the String variable that contains the text to be saved.
I've thought of a workaround for printing with a batch script that is dynamically generated and executed by 3DFA. If you need more infos, just ask.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|