Author |
Messages |
|
ABDUL Posts:1
 |
03/08/2011 8:22 PM |
Alert
|
ANY IDEA ON HOW TO GET THE EDC BATCH SETTLEMENT TO PRINT REPORT WHEN SETTLING THE BATCH. |
|
|
|
|
olie04 Posts:33
 |
03/21/2011 3:42 PM |
Alert
|
We use Autoit v3 to settle our batches automatically, and you can probably use it to print the report too. It's pretty much a robot that does everything for you, and it has been working rather well!
Let me know if you need any further help on this. |
|
|
|
|
RickCessco Posts:2
 |
06/30/2011 9:57 AM |
Alert
|
olie04, how complicated is AutoIt v3? Do you have an example script that works with closing EDC batches automatically in RMS2? Thanks, Rick
|
|
|
|
|
olie04 Posts:33
 |
07/21/2011 11:10 AM |
Alert
|
Auto It was actually pretty easy to learn, I am using Windows 7, so if you're using anything else it may not work correctly (using the windows key, and typing in store operations manager, and pressing the enter key, and then having autoit automatically key in the username and password.)
What's your email address, if I find the script, I can send it to you.
Thanks! |
|
|
|
|
olie04 Posts:33
 |
07/21/2011 11:22 AM |
Alert
|
I found the script. Here is what you'll have to do. I can't say that it will be a solution for your system, but it works for ours.
AutoIt Code Block //////
Run("SOMANAGER.exe")
WinWaitActive("Store Operations Manager")
WinActivate("Login")
Send("PUT YOUR USERNAME IN BETWEEN THESE QUOTES")
Send("{TAB}")
Send("PUT YOUR PASSWORD IN BETWEEN THESE QUOTES")
Send("{ENTER}")
sleep(5000)
Send("!u")
Send("e")
Send("!s")
Send("{ENTER}")
sleep(30000)
WinClose("Store Operations Manager")
sleep(2000)
Send("n")
You'll have to do one more extra step, and that is to include the Microsoft RMS directory in the PATH statement. To get to the PATH statement (Windows 7)
1. Right-Click Computer>Properties>Advanced System Settings>Environment Variables
2. Under System Variables, look for a Variable called Path and highlight it.
3. Hit the Edit button, and at the end of the line type in the following without the quotes
";C:\Program Files\Microsoft Retail Management System\Store Operations\"
NOTE THE SEMI-COLON IN THE BEGGINING. THIS IS NEEDED, but NO semi-colon is needed after 'STORE OPERATIONS\'
Once you compiled the script in AutoIt, it will create an exe file. At the end of the day, just double click the .EXE you compiled from autoit and don't press any buttons, just watch it batch out.
Let me know how that works!
Thanks! |
|
|
|
|
olie04 Posts:33
 |
07/21/2011 11:24 AM |
Alert
|
Sorry, here is the correct AutoIt FORMATTED code. This forum is HORRIBLE with not learning that we entered a new line in the message submit box.
Run("SOMANAGER.exe")
WinWaitActive("Store Operations Manager")
WinActivate("Login")
Send("PUT YOUR USERNAME IN BETWEEN THESE QUOTES")
Send("{TAB}")
Send("PUT YOUR PASSWORD IN BETWEEN THESE QUOTES")
Send("{ENTER}")
sleep(5000)
Send("!u")
Send("e")
Send("!s")
Send("{ENTER}")
sleep(30000)
WinClose("Store Operations Manager")
sleep(2000)
Send("n")
|
|
|
|
|
RickCessco Posts:2
 |
07/21/2011 11:27 AM |
Alert
|
Thanks Olie04, I'll give it try! |
|
|
|
|
|