Thanks Doug. What I need is specifically related to using the command QR REPORT with a prebuilt .4qr file which exports a selection of records to a text file. I am not at all concerned with where the file is being saved, but what the file name will be.
I do not see any way to force QR REPORT to bypass the Save As dialogue, or to set the suggested file name to anything other than My Report.txt. Correct me if I am wrong, but I don’t think what you suggested will work with QR REPORT to set the file name or to otherwise use the .4qr file such that I can specify the file name. John > On Dec 27, 2017, at 3:38 PM, Douglas von Roeder via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > John: > > If it's a beefed up save file dialog, ABM Mac Extras Plugin might be of > some help on OS X. I'd go with Win32API on Windows. > > ABM 1.5.2 is in a system that's running in 12.6. I traded email with > Matthias in 6/15 about using it in a newer version and he indicated that it > works in 13. I've used it in preliminary testing in 14.6 and it works OK. > > [time passes] > > Here's something from the wayback machine: > > "Am/On Fri, 23 Nov 2007 08:57:11 -0700 schrieb/wrote Ed Glassgow: > >> I am trying to do something that seems that should be trivial but it >> doesn't seem to be possible. I am trying to set a default path for >> saving a document that I am going prompt the user with something like >> "$theDoc:=Create document("";"txt"). I would like the "Save As" dialog >> to open showing the contents of a certain folder. > > you can use our ABM_MacExtras Plugin for the Mac and Win32API for Windows. > Let me know, if you're interested and I send you the last UB build. > We will soon post it on our website. > > All the best > > Matthias > > ------------------------------------------------------------------------ > Admilon Consulting GmbH <http://www.admilon.de> > Am Wiesengrund 9a, 90584 Allersberg > Geschaeftsfuehrer: Peter Frank, Matthias Schmidt > Amtsgericht Nuernberg: HRB 21750 > Tel.: 09872-31 43 30 > ----------------------------------" > > > > -- > Douglas von Roeder > 949-336-2902 <(949)%20336-2902> > > On Wed, Dec 27, 2017 at 4:43 PM, John Baughman via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> I am executing a report with… >> >> QR REPORT([Timesheets];Get 4D folder(Database folder)+"Resources"+Folder >> separator+"TimeSheetEmployeeExport.4qr”) >> >> This works fine, but I want to dictate or at least offer a preset file >> name to the end user in the save dialogue. Tried various approaches without >> any success. >> >> Thanks for any help. >> >> John >> >> >> John Baughman >> Kailua, Hawaii >> (808) 262-0328 >> john...@hawaii.rr.com >> >> >> >> >> >> ********************************************************************** >> 4D Internet Users Group (4D iNUG) >> FAQ: http://lists.4d.com/faqnug.html >> Archive: http://lists.4d.com/archives.html >> Options: http://lists.4d.com/mailman/options/4d_tech >> Unsub: mailto:4d_tech-unsubscr...@lists.4d.com >> ********************************************************************** > ********************************************************************** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: http://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ********************************************************************** John Baughman Kailua, Hawaii (808) 262-0328 john...@hawaii.rr.com ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************