From: Wing on
Dear All,

One of user who will login to Navision on Schedule.
After login NAV, process a job; after the job is complate, and logout from
Nav..

How can i do? How can i send an Alt+F4 key to logout from NAV When a job is
completed??

Thanks..
Wing
From: Wing on
Found..

wscript Automation Windows Script Host Object Model'.WshShell";
IF ISCLEAR(wscript) THEN
CREATE(wscript);

wscript.SendKeys('%{F4}');



"Wing" wrote:

> Dear All,
>
> One of user who will login to Navision on Schedule.
> After login NAV, process a job; after the job is complate, and logout from
> Nav..
>
> How can i do? How can i send an Alt+F4 key to logout from NAV When a job is
> completed??
>
> Thanks..
> Wing