Sendkeys is great, but...

Sendkeys is great, but...

Anonymous
Not applicable
214 Views
4 Replies
Message 1 of 5

Sendkeys is great, but...

Anonymous
Not applicable
Unfortunately, SendKeys echoes everything to the command line.

"SPW" wrote in message
news:85d4jl$2ek6@adesknews2.autodesk.com...
> SendKeys worked great and helped finish my project but now that I'm
refining
> the code, is there anyway to prevent the commands from being echoed to the
> command line? AutoLISP has a command for this, but I forgot what it is
(it's
> been awhile since I used it).
>
> Thanks for all your help....
>
> SPW
>
> --
> Product: LDDT2
> Development Platform: VBA
> OS: NT 4.0 SP 4
>
>
>
0 Likes
215 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable
SendKeys worked great and helped finish my project but now that I'm refining
the code, is there anyway to prevent the commands from being echoed to the
command line? AutoLISP has a command for this, but I forgot what it is (it's
been awhile since I used it).

Thanks for all your help....

SPW

--
Product: LDDT2
Development Platform: VBA
OS: NT 4.0 SP 4
0 Likes
Message 3 of 5

Anonymous
Not applicable
Is there a way to prevent someone from ESCaping out of a macro?

Frank Oquendo wrote in message
news:85d4mk$2ek7@adesknews2.autodesk.com...
> Unfortunately, SendKeys echoes everything to the command line.
>
> "SPW" wrote in message
> news:85d4jl$2ek6@adesknews2.autodesk.com...
> > SendKeys worked great and helped finish my project but now that I'm
> refining
> > the code, is there anyway to prevent the commands from being echoed to
the
> > command line? AutoLISP has a command for this, but I forgot what it is
> (it's
> > been awhile since I used it).
> >
> > Thanks for all your help....
> >
> > SPW
> >
> > --
> > Product: LDDT2
> > Development Platform: VBA
> > OS: NT 4.0 SP 4
> >
> >
> >
>
>
0 Likes
Message 4 of 5

Anonymous
Not applicable
Not that I know of. That doesn't mean much though. Maybe Randall Rath has an
API trick up his sleeve for this one.

"SPW" wrote in message
news:85d6kf$2e510@adesknews2.autodesk.com...
> Is there a way to prevent someone from ESCaping out of a macro?
>
> Frank Oquendo wrote in message
> news:85d4mk$2ek7@adesknews2.autodesk.com...
> > Unfortunately, SendKeys echoes everything to the command line.
0 Likes
Message 5 of 5

Anonymous
Not applicable
have you checked out the KeybdEvent API? I'm not sure if it will fix your
sendkeys prob, but it's a much more stable way (although a bit more work) to
simulate keystrokes. As for preventing escaping out of a macro, what
specificly do you want to prevent them from escaping out of?

-phix

SPW wrote in message
news:85d6kf$2e510@adesknews2.autodesk.com...
> Is there a way to prevent someone from ESCaping out of a macro?
>
> Frank Oquendo wrote in message
> news:85d4mk$2ek7@adesknews2.autodesk.com...
> > Unfortunately, SendKeys echoes everything to the command line.
> >
> > "SPW" wrote in message
> > news:85d4jl$2ek6@adesknews2.autodesk.com...
> > > SendKeys worked great and helped finish my project but now that I'm
> > refining
> > > the code, is there anyway to prevent the commands from being echoed to
> the
> > > command line? AutoLISP has a command for this, but I forgot what it is
> > (it's
> > > been awhile since I used it).
> > >
> > > Thanks for all your help....
> > >
> > > SPW
> > >
> > > --
> > > Product: LDDT2
> > > Development Platform: VBA
> > > OS: NT 4.0 SP 4
> > >
> > >
> > >
> >
> >
>
>
0 Likes