Hi,
As one of our client wants automated backup with in Nav, i am using WshShell as follows
WinShell - 'Windows Script Host Object Model'.WshShell
CREATE(WinShell);
WinShell.SendKeys('%(t)');
WinShell.SendKeys('b');
It works fine but while i am trying to Use "send keys" further (To type file name and description), i cannot proceed in that.
I can really appreciate any kind of inputs in this.....
Thanks,
Logu
0
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
I tried in that way also. But failed. ](*,)
With the automation, you need to take pause in order to send messages. So either use a timer or pause for a second.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Thanks for your reply....
I cannot fix that issue in SLEEP (Pause) also.
I can really appreciate for other inputs...
Thank you,
Logu
May be you can call a seperate exe from within NAV? Not sure if this is a seperate process though ... :-k . You will have to do some testing.
Some little voice in the back of my head says to me that ExpandIT (http://www.expandit.com/) has something like that.
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog