Hi,
The next snipet will create a new file with the preferred extension on OSX (even without specifying the extension).
On Windows it just writes the file without the extension ??
Is their an explanation ?
Regards,
@+Maarten,
| fileDialog |
fileDialog := SaveFileDialog new.
fileDialog
addFileFilter: 'StakePoint' pattern: '*.stpp';
addFilterForAllFiles;
fileCondition: #new;
defaultFilename: '*.stpp'.
SaveFileDialog lastDirectory isNil
ifFalse: [fileDialog defaultDirectory: SaveFileDialog lastDirectory asString].
^fileDialog select
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc