Is it possible to run a keyin at startup? I saw this AskInga article from 2002 that says one can create a txt file and then point the icon properties to it but I imagine that's pretty out of date by now?
You could also use the autorun.mvba file to run keyins via vb. I use this a lot, very handy.
It is also possible to use MS BASIC macro as autostart.
MS_DGNAPPS > RUNMACRO
MS_DGNMACROS = autostart.bas
2.Then create autostart.bas under Project\macros
3. Edit Autostart.bas and add key ins with command MbeSendKeyin followed by key-in enclosed in qoutes
MbeSendKeyin "set nodes off"
Now each time a file is opened the macro will run. Keep in mind that this soon will be outdated also because in newer versions MS BASIC support could be dropped.
Unknown said: I imagine that's pretty out of date by now?
I imagine that's pretty out of date by now?
No, the contents of the noted article are still valid.
Other articles of interest:
http://communities.bentley.com/communities/other_communities/askinga/w/askinga/run-a-vba-macro-when-opening-or-closing-design-files.aspx
http://communities.bentley.com/communities/other_communities/askinga/w/askinga/run-commands-or-basic-macro-when-opening-files.aspx
What format would work in V8i Select series 10 nowadays? I'm looking to do exactly that.
The link below to a VBA macro is absolutely viable (I do this).I imagine that for V8i, the link to running commands would still work as well.
MaryB
Power GeoPak 08.11.09.918Power InRoads 08.11.09.918OpenRoads Designer 2021 R2