filePutDialog doesn't create a file?

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
peteoconnell
Posts: 19
Joined: November 14th, 2004, 2:10 pm

Hi, when I run the following line of code:

Code: Select all

filePutDialog("Select File","MyProject.aep","EggP aep");
I expect an aep file to be created, but nothing happens. Am I missing a step?
Thanks
Pete
Paul Tuersley
Posts: 704
Joined: June 5th, 2004, 7:59 am
Location: London, UK

Which scripting guide are you using for reference? I've only ever used things like filePutDialog() for writing text files, and I'm pretty sure you can't save a project in that way. For that you would need to use the app.project.saveWithDialog() method.
peteoconnell
Posts: 19
Joined: November 14th, 2004, 2:10 pm

Thanks very much, that's very helpful.
Cheers
Pete
Post Reply