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?
Please check out this article - I use this approach (and an edited version of this file) to perform basic setup for a few things I personally like.
MaryB
Power GeoPak 08.11.09.918Power InRoads 08.11.09.918OpenRoads Designer 2021 R2
Cole DeBolt said:what is the best way to execute vba's automatically on startup?
Please post questions about VBA to the Programming Forum.
See this page for information about handling MicroStation events with VBA, such as On Design File Open. Read the paragraph about OnProjectLoad, which answers your question.
OnProjectLoad
Regards, Jon Summers LA Solutions
Jon, that being said, in your opinion, what is the best way to execute vba's automatically on startup? I'm setting up several client workspaces and I want to try to do this as organized and efficiently as possible. Thank you,
Bam! thanks Jon, i tried cadinputqueue but forgot the VBA execute part. lol. I'm not very savvy with vba, but, i just need to acclimate to it, theres so much more versatility.
Oto said:It is also possible to use MS BASIC macro as autostart
MicroStation BASIC is obsolete. It is not included with MicroStation CONNECT.
Cole DeBolt said:I'm using Select Series 10 version 08.11.09.829.. I'm trying to attach a reference using, MbeSendKeyin
Prefer to use VBA. Your key-in will continue to be useful with MicroStation CONNECT...
VBA EXECUTE CadInputQueue.SendKeyin "rf=REF_LOCATION:mylarb.3d,,,,,"