Automatically Close AutoCAD

Automatically Close AutoCAD

Anonymous
Not applicable
301 Views
4 Replies
Message 1 of 5

Automatically Close AutoCAD

Anonymous
Not applicable
We are upgrading from 2000 to 2002. Right now we have half of our licenses
as standalone and the other half are network licenses. When we upgrade we
will put all licenses on the network. Here is my problem; we have several
people that will log into AutoCAD and leave the office. When they do this
they will tie up a license and someone else might be denied access to
AutoCAD. What I woul like to do is write a program that will automatically
shut down AutoCAD if there has not been any activity for fifteen minuites or
so. I have written a few VBA programs, but I don't know where to begin on
this one. It would be great if someone has some pointers, or better yet some
code I can use and modify.

Thanks in advance,

Pat
0 Likes
302 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable
Sounds dangerous.

Although you could fairly easily create a timeout routine that closed
AutoCAD, and even saved any work, deciding whether there has been
activity or not might be a little tricky.

Just my $.02 worth

Brian D.

"Pat Bjork" wrote in message
news:DD9F01A94F0D580468014F953DB2D5DC@in.WebX.maYIadrTaRb...
> We are upgrading from 2000 to 2002. Right now we have half of our licenses
> as standalone and the other half are network licenses. When we upgrade we
> will put all licenses on the network. Here is my problem; we have several
> people that will log into AutoCAD and leave the office. When they do this
> they will tie up a license and someone else might be denied access to
> AutoCAD. What I woul like to do is write a program that will automatically
> shut down AutoCAD if there has not been any activity for fifteen minuites
or
> so. I have written a few VBA programs, but I don't know where to begin on
> this one. It would be great if someone has some pointers, or better yet
some
> code I can use and modify.
>
> Thanks in advance,
>
> Pat
>
>
>
0 Likes
Message 3 of 5

Anonymous
Not applicable
There are a few problems with doing this.

First, what if there is an unsaved drawing open
in the editor. Just save it? Perhaps.

But, what if it's a new, unnamed drawing that
has never been saved, and therefore requires
a filename?

Implementing a timeout mechanism is fairly
easy, but deciding how to deal with unsaved
drawings is not.

"Pat Bjork" wrote in message
news:DD9F01A94F0D580468014F953DB2D5DC@in.WebX.maYIadrTaRb...
> We are upgrading from 2000 to 2002. Right now we have half of our licenses
> as standalone and the other half are network licenses. When we upgrade we
> will put all licenses on the network. Here is my problem; we have several
> people that will log into AutoCAD and leave the office. When they do this
> they will tie up a license and someone else might be denied access to
> AutoCAD. What I woul like to do is write a program that will automatically
> shut down AutoCAD if there has not been any activity for fifteen minuites
or
> so. I have written a few VBA programs, but I don't know where to begin on
> this one. It would be great if someone has some pointers, or better yet
some
> code I can use and modify.
>
> Thanks in advance,
>
> Pat
>
>
>
0 Likes
Message 4 of 5

Anonymous
Not applicable
You can see the LogOff options for saving files (even unnamed drawings are
saved).

Vladimir Michl, CAD Studio, www.cadstudio.cz

"Tony Tanzillo" píse v diskusním
príspevku news:11518B6A712741BA5629C129EE283A10@in.WebX.maYIadrTaRb...
> There are a few problems with doing this.
>
> First, what if there is an unsaved drawing open
> in the editor. Just save it? Perhaps.
>
> But, what if it's a new, unnamed drawing that
> has never been saved, and therefore requires
> a filename?
>
> Implementing a timeout mechanism is fairly
> easy, but deciding how to deal with unsaved
> drawings is not.
>
> "Pat Bjork" wrote in message
> news:DD9F01A94F0D580468014F953DB2D5DC@in.WebX.maYIadrTaRb...
> > We are upgrading from 2000 to 2002. Right now we have half of our
licenses
> > as standalone and the other half are network licenses. When we upgrade
we
> > will put all licenses on the network. Here is my problem; we have
several
> > people that will log into AutoCAD and leave the office. When they do
this
> > they will tie up a license and someone else might be denied access to
> > AutoCAD. What I woul like to do is write a program that will
automatically
> > shut down AutoCAD if there has not been any activity for fifteen
minuites
> or
> > so. I have written a few VBA programs, but I don't know where to begin
on
> > this one. It would be great if someone has some pointers, or better yet
> some
> > code I can use and modify.
> >
> > Thanks in advance,
> >
> > Pat
> >
> >
> >
>
>
0 Likes
Message 5 of 5

Anonymous
Not applicable
Hi Pat,

I think I have what you need, check the attachement....

Joeri Tuyn
-Perdaso, The Netherlands


"Pat Bjork" wrote in message
news:DD9F01A94F0D580468014F953DB2D5DC@in.WebX.maYIadrTaRb...
> We are upgrading from 2000 to 2002. Right now we have half of our licenses
> as standalone and the other half are network licenses. When we upgrade we
> will put all licenses on the network. Here is my problem; we have several
> people that will log into AutoCAD and leave the office. When they do this
> they will tie up a license and someone else might be denied access to
> AutoCAD. What I woul like to do is write a program that will automatically
> shut down AutoCAD if there has not been any activity for fifteen minuites
or
> so. I have written a few VBA programs, but I don't know where to begin on
> this one. It would be great if someone has some pointers, or better yet
some
> code I can use and modify.
>
> Thanks in advance,
>
> Pat
>
>
>
0 Likes