All messages should be posted in plain text. HTML will be converted to attachments. The meditech-l web site is MTUsers.com ======================================
Defining a default download path for report output in version 4.8 The 4.8 version of MAGIC calls new windows programs when a user enters DOWNLOAD at the "Print On:" prompt. The windows program opens a window to the default directory of the workstation software. To default a user defined path, enter the following code in an IFE screen attribute of one of the select prompts (Using option 8 Edit Screen Elements): IFE="PATH"^MIS.SPOOL.c.filename An example of opening to the Reports folder on the C drive and writing to file testdDATE: IFE="C:\REPORTS\testd"[EMAIL PROTECTED] The above code will cause the DOWNLOAD option to open to the Reports folder on the C drive and create a folder with the name testd concatenated with today's date. This will allow the user to run the report daily and not have to supply a different file name since the date will be different for each run. Note: if a report is run more than once a day, you can concatenate the time as well using @.now. -----Original Message----- From: Bill Mullins Sent: Thursday, September 07, 2006 4:04 PM To: 'Lucas Nancy'; [email protected] Subject: RE: [MEDITECH-L] Download file with date on it Nancy: Here is something I had saved about this topic, but it is for FTPing with the date in the file/title. ----------------------------------------------------------------------- In MAGIC at least, you can do this via FTP and SCHED. See KB article 19913. The key is this footnote: AL START "MYFILENAME.TXT"^/ZFTP.TITLE This is how NPR knows where to send the info. (This overwrites the "MYFILENAME.TXT" file each time.) AL START "MyFileName"[EMAIL PROTECTED]".txt"^/ZFTP.TITLE Use this variant if you want distinct files each day. If you want it to run "distinctly" more than once daily, you can change the above to concatenate "time". ------------------------------------------------------------------------ -- -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lucas Nancy Sent: Tuesday, September 05, 2006 8:10 AM To: [email protected] Subject: [MEDITECH-L] Download file with date on it All messages should be posted in plain text. HTML will be converted to attachments. The meditech-l web site is MTUsers.com ====================================== ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. This footnote also confirms that this email message has been swept by Sophos and MIMEsweeper for the presence of computer viruses. ********************************************************************** _______________________________________________ meditech-l mailing list [email protected] http://mtusers.com/mailman/listinfo/meditech-l
