Hi Gdury,
1) Try
FILEDIA 0 in your SETTINGS->PREUSERSCRIPT
FILEDIA 1 in yoru SETTINGS->POSTUSERSCRIPT
2) I've found the other determining factor as to whether the "fileselector" pops-up, is the actual PDF driver you are using. Each of the pdf drivers/products/versions has different ways of dealing with the fileselector.
After a bit of quick testing.
http://www.pdfforge.org/ seems to generate PDF's ok with word/excel, or anything else without the fileselector but with AutoCAD a bit of an issue... seems to output PLT files on... I'm working on it... must just be a setting...
I'm encapsulating the filename in quotes too...
;Write the plot to a file [Yes/No] <N>: Y
Y
"$FILEPATH$TEST-$FILENAME$.pdf"
;PROCEED
y
Y
;END SCRIPT
I hope this gets you one step closer...
Regards,
Bill