Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Keyboard macros

Status
Not open for further replies.

Bobby2004

Programmer
Mar 10, 2004
82
IN
while the add-ins, facility is a good idea, the lack of keyboard macros is a real nuisance. Is it possible to incorporate this functionality into the IDE somehow?
 
Write an add-in yourself? Or just use the mouse!!

Seriously, write your own add-in to do things you want on keypresses, you can capture alt and ctrl keys so use that mask.
 
If you have MZTools it does have some limited "macro" fuctionality. Enough so that I can now put my cursor at the end of an "end function" or "end sub" line and press Alt-1 and get "end function 'function-name". (I like to add a comment with the name of the function/sub to the end line so I can tell which one I'm ending).

Look under Tools/MZTools/Options/Code Templates

And press Help to see what you can do.


Tracy Dryden

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard. [dragon]
 
What exactly are you looking to do with you keyboard macro? Could you explain what functions you want to use from the keyboard because it is quite possible that they are already available.
 
I notice you don't seem to have had much success with your questions in the forum so far - or at least you haven't acknowledged any good answers yet. Have a look at faq222-2244 to see how to get the best from the forum.

There is an Add-in Designer supplied with VB6 - look in VBHelp. If you want ready-made built-in keyboard stuff have a look at thread222-533524

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'If we're supposed to work in Hex, why have we only got A fingers?'
Essex Steam UK for steam enthusiasts
 
bjd4bc: I'm looking for something that can record my keystorkes and play them back on demand e.g. if I type <down><home><abcdef>, I want it recorded and then on command repeated.

johnwm: thanks for the thought. Thats a great thread but nothing on keyboeard mascros ( as opposed to keyboard shortcuts ). Need some time to study it.

I'm really suprized at this lacuane in the VB IDE - the VS IDE has it. My other bugbear is not being able to close the PE, Immediate, Locals, Watch, Toolbox, Properties windows using the keyboard. Any solutions for this?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top