Microstation V8i (SELECTseries 4)
Version 08.11.09.829
Hi All,
please can someone quickly hint me on how to retrieve keyin from a command you have just used. I have this custom command placed in my menu bar I use very often and I intend to define a function key (F10) for it
unfortunately, to define a function key, I need a keyin
thank you
regards
One trick you can try is to use the Macro Basic Recorder Utility to record the entered commands used by tools.
Once recorded you can open the macro for editing and review the key-in used.
the following is an example of what you might see:
The following article may help:
https://communities.bentley.com/products/microstation/w/microstation__wiki/2120/microstation-basic-faq
David Trejo-Rodriguez said: use the Macro Basic Recorder Utility
Lorys said:you'll get flamed for saying that!
Quite correct, Lorys! There are plenty of reasons to ignore BASIC, and plenty more to use VBA, which has its own macro recorder.
Given that CONNECT has been available for several years, and does not include MicroStation BASIC, it's confusing to post a recommendation here to use the BASIC macro recorder. CONNECT has the VBA macro recorder and, additionally, the Bentley macro recorder aimed at non-programmers.
Regards, Jon Summers LA Solutions
Unknown said:
Jon Summers said:Given that CONNECT has been available for several years, and does not support BASIC, it's confusing to post a recommendation here to use the BASIC macro recorder. CONNECT has the VBA macro recorder and, confusingly, the Bentley macro recorder.
Why should you not recommend a person use what is available to them in the software they are using?
~HTH
John.
yep
John Frampton said:Why should you not recommend a person use what is available to them in the software they are using?
MicroStation BASIC has its drawbacks. If someone using MicroStation CONNECT reads that recommendation, it won't work!
Jon Summers said:MicroStation CONNECT reads that recommendation
The recommendation isn't for CONNECT, the OP clearly states what version he is using and all answers should be around that version. In this case BASIC would clearly meet the users needs.