automating unattended programs

Perhaps this is a dumb question…but you guys should be used to that
from me. :slight_smile:

I’ve written a pretty lengthy macro (using Groone’s Macroer) that opens
a report in Crystal Reports, then publishes it to a directory. Of
course, the macro doesn’t work if the workstation is locked (using Win2K
Pro). Is there some way to overcome that?

Re: automating unattended programs

you could write a small windows service to invoke the macro… those can run
just when the box is turned on…

“-Deborah-” <invalid@work.com> wrote in message
news:3D1219BA.7070606@work.com
> Perhaps this is a dumb question…but you guys should be used to that
> from me. :slight_smile:
>
> I’ve written a pretty lengthy macro (using Groone’s Macroer) that opens
> a report in Crystal Reports, then publishes it to a directory. Of
> course, the macro doesn’t work if the workstation is locked (using Win2K
> Pro). Is there some way to overcome that?
>

Re: automating unattended programs

Tony, I have no problem invoking the macro…the issue is running it
while the machine is locked. :frowning: Thanks.

Tony Ranieri wrote:

>you could write a small windows service to invoke the macro… those can run
>just when the box is turned on…
>
>
>"-Deborah-" <invalid@work.com> wrote in message
>news:3D1219BA.7070606@work.com
>
>>Perhaps this is a dumb question…but you guys should be used to that
>>from me. :slight_smile:
>>
>>I’ve written a pretty lengthy macro (using Groone’s Macroer) that opens
>>a report in Crystal Reports, then publishes it to a directory. Of
>>course, the macro doesn’t work if the workstation is locked (using Win2K
>>Pro). Is there some way to overcome that?
>>
>
>

Re: automating unattended programs

-Deborah- wrote:
>
> Tony, I have no problem invoking the macro…the issue is running it
> while the machine is locked. :frowning: Thanks.

I think what Tony is saying is that if you have a service invoke the
program, then the program will run as the system, which means a user
won’t have to be logged on in order for the program to run.

-Mike K.

Re: automating unattended programs

-Deborah- wrote:
>
> Tony, I have no problem invoking the macro…the issue is running it
> while the machine is locked. :frowning: Thanks.

I think what Tony is saying is that if you have a service invoke the
program, then the program will run as the system, which means a user
won’t have to be logged on in order for the program to run.

-Mike K.

Re: automating unattended programs

Hmmm, still not sure we’re talking about the same thing. The actual
macro runs the program, sends some keyboard commands to update a report
and then publishes that report to a shared directory. The problem is
that keyboard commands can’t work while the workstation is locked.

Mike King wrote:

>
>-Deborah- wrote:
>
>>Tony, I have no problem invoking the macro…the issue is running it
>>while the machine is locked. :frowning: Thanks.
>>
>
>I think what Tony is saying is that if you have a service invoke the
>program, then the program will run as the system, which means a user
>won’t have to be logged on in order for the program to run.
>
>-Mike K.
>

Re: automating unattended programs

-Deborah- wrote:
>
> Hmmm, still not sure we’re talking about the same thing. The actual
> macro runs the program, sends some keyboard commands to update a
> report and then publishes that report to a shared directory. The
> problem is that keyboard commands can’t work while the workstation is
> locked.

I understand, but perhaps the keyboard commands can work if the macros
and/or programs run as a service. Services have special privileges which
enable them to run when no one is logged onto the machine.

It’s just a suggestion of something to look into.

-Mike K.

Re: automating unattended programs

Thanks Mike, I will investigate further…

Mike King wrote:

>
>-Deborah- wrote:
>
>>Hmmm, still not sure we’re talking about the same thing. The actual
>>macro runs the program, sends some keyboard commands to update a
>>report and then publishes that report to a shared directory. The
>>problem is that keyboard commands can’t work while the workstation is
>>locked.
>>
>
>I understand, but perhaps the keyboard commands can work if the macros
>and/or programs run as a service. Services have special privileges which
>enable them to run when no one is logged onto the machine.
>
>It’s just a suggestion of something to look into.
>
>-Mike K.
>