quote:
Originally posted by mynetx
- Use a system dialog for opening and saving files. This allows easy selection of files without having to know their names. You can find more information about Common Dialogs at MSDN.
jscript code:
cd = new ActiveXObject("MSComDlg.CommonDialog"); // create the object
cd.Filter = "All Files(*.*)|*.*|JScript Files(*.js)|*.js"; // set file filter
cd.FilterIndex = 2;
cd.MaxFileSize = 128; // must set MaxFileSize. otherwise you will get an error
cd.ShowOpen(); // show it to user
file = cd.FileName; // retrieve file + path
if (!file) { // If the user does enter file exit
MsgPlus.DisplayToast("", "You must enter a file name");
}
else {
MsgPlus.DisplayToast("", "The user selected:\n" + file );
}
I've just tested that, but it doesn't seem to work on initialization:
code:
From the Script Debugger
Script is starting
Error: unknown (code: -2147221230)
File: FnInitialization.js. Line: 1.
Script has failed to start
Something wrong with the ActiveX object?
quote:
Originally posted by mynetx
- Remove the help tooltip from the ListView listing all Controls/elements. The tooltip is needed for hovering ellipsed items in the grid.
Removed. But what do you mean by "ellipsed items"? Do you mean a tooltip for each window/control/element with extra details?
quote:
Originally posted by mynetx
- Add support for Interface Tester to see the changes without having to create a test script.
Had just been thinking about that, but at the moment, I've done it so that the interface is saved as a temporary file, and then opened using
MsgPlus::CreateWnd.
quote:
Originally posted by mynetx
- Add support for custom attributes.
I'll work on this, but it would take a while to specify what attributes go with what in a list, so I'll probably let the user pick what attributes they want to use with a text area or something.
quote:
Originally posted by mynetx
- Add options dialog for various options, like "auto-save when I change a field" or "auto-create backup on opening a file" or "change indention style on generated XMLs".
- Add a list of recently used files.
They'll both need the registry functions, but I'll add them. Eventually.
quote:
Originally posted by mynetx
- Add texts to the bottombar buttons. Always hovering them to guess their meaning is a bit strange.
Fair enough.
Will do.