QT: Defaultfolder & files

William de Smet williamdesmet at gmail.com
Wed Aug 27 06:43:46 EDT 2008


Hi there,

A quick question about Defaultfolder & files.
I create a folder "Backup" and set the defaultfolder to it and then
save the .txt file.
But now everytime there is a new folder created in which the new .txt
file is saved.

Of course I want the Backup folder to be created only once  so I want
to check if it exists on mouseup:
if there is a folder "Backup" then set defaultfolder to it
else create folder "Backup"

The 'problem' still exists.
What am I doing wrong?

Greetings,

William



More information about the use-livecode mailing list