Try DownloadReport "C:\Download\IPC\RN_IPC_" & Format(Date, "yyyymmdd") & ".txt" (or mmddyyyy)
thanx, Sherry HCA Midwest Health Systems IT&S Application Analyst 816/823-0406 "Some of us are more capable than others of us...but none of us is more capable than all of us" Tom Wilson/Ziggy ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Clark Gary - Oklahoma City Sent: Thursday, July 31, 2008 14:56 To: [email protected] Subject: RE: [Talk] Meditech C/S 5.5, 5.6 and minimizing using BWS I cannot help with the part you need, but I am intrigued by the following code you listed: DownloadReport "C:\Download\IPC\RN_IPC_" & DateStamp & ".txt" I need to download a file that has the date as part of the file name, so that the file name is always unique and meaningful. If I just use the Date convention then the date is inserted as 07/31/08 and is rejected as a bad file name by windows. How are you handling formatting the date insertion? ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lawrence, Mitchell Sent: Thursday, July 31, 2008 2:42 PM To: [email protected] Subject: RE: [Talk] Meditech C/S 5.5, 5.6 and minimizing using BWS Well, that wouldn't be the first time I emailed the circular file. HAHA. Anyone have any idea on the very first email (at the bottom), or my latest? Thank you, Mitch Lawrence Lead Applications Analyst Technical Support - NPR/Automation CHRISTUS Information Management *: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> Send a "thank you <http://intranet.christushealth.org/spiritBuck/Default.asp> " to someone! ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bennett, Brian Sent: Thursday, July 31, 2008 2:41 PM To: '[email protected]' Subject: RE: [Talk] Meditech C/S 5.5, 5.6 and minimizing using BWS Not that it's much help, but your first message never made it to "my" email. Maybe no else has seen it either? and....I ain't anymore help then that. :( Brian Bennett Affinity Health Systems Systems Analyst PBS\Clinic Billing (920)628-9055 [EMAIL PROTECTED] ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lawrence, Mitchell Sent: Thursday, July 31, 2008 2:35 PM To: [email protected] Subject: RE: [Talk] Meditech C/S 5.5, 5.6 and minimizing using BWS Either noone has something or noone cares. So... Does anyone have a method of obtaining the window handle (hWnd) for the current "Connect" application within BWS? Thank you, Mitch Lawrence Lead Applications Analyst Technical Support - NPR/Automation CHRISTUS Information Management *: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> Send a "thank you <http://intranet.christushealth.org/spiritBuck/Default.asp> " to someone! ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lawrence, Mitchell Sent: Thursday, July 31, 2008 9:14 AM To: [email protected] Subject: [Talk] Meditech C/S 5.5, 5.6 and minimizing using BWS Hello, I have several scripts that start Meditech, browse to a report, get it to start downloading and then minimize Meditech and finish the script, leaving Meditech downloading in the background. The problem that I am seeing is that since version 9, BWS no longer "sees" the "[EMAIL PROTECTED],1" state from Meditech. Version 8 did not have an issue "seeing" this state. Since this state is what is being keyed in on in order to let BWS know it is ok to minimize Meditech, I'm at a dilemma in that I need a version 9 way to accomplish the same thing. Here is the set of rules that accomplishes this task (version 9 script shown): Rule||Print/Download Key "{F12}" Step|Print/Download| Rule|Print [EMAIL PROTECTED],1&@3,0|Select Destination DownloadReport "C:\Download\IPC\RN_IPC_" & DateStamp & ".txt" Rule|Timeout|Timeout TOStep="Print/Download" Step|Select Destination| Rule||Output Enter "" 'Press "OK" on the Print Destination window Share("WaitSpeed") = -1 'Recommended to use this during support call with BWS. Added for version 9 Stable 0.5 'Let Meditech stabilize. Added for version 9 Step|Output| Rule|[EMAIL PROTECTED],1|Minimize 'Is Meditech actively downloading? If so, minimize it. Rule|Timeout|Timeout TOStep = "Output" Step|Minimize| Rule||Closeout SendKeys "% N", True 'Send the minimizing key sequence to Meditech Step|Closeout| Rule||End WriteToLog "INWSRH_IPC_RN_DL", "Download", "Daily", "5", "01:10:00 AM", "Completed" Step|Timeout| Rule||End WriteToLog "INWSRH_IPC_RN_DL", "Download", "Daily", "5", "01:10:00 AM", "Hung" Step|End| Rule|| Shutdown = True What is happening is that sometimes this works, sometimes it doesn't. It isn't consistent as it was under version 8. I've also tried the following for checking the state of Meditech before sending to the minimizing step: Rule|[EMAIL PROTECTED],1|Minimize I would appreciate very much any assistance, suggestions, etc on getting this thing to work, everytime, without fail. Our current scheduled script count: 673 On demand data entry script count: 35 Thank you, Mitch Lawrence Lead Applications Analyst Technical Support - NPR/Automation CHRISTUS Information Management *: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> Send a "thank you <http://intranet.christushealth.org/spiritBuck/Default.asp> " to someone!
<<image001.jpg>>
<<image002.jpg>>
