RunApp Macro

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a runapp macro that I am using to start another application but I am
unsure how to enter keystroke commands after it starts the application. What
type of code do I need to use to enter the keystrokes and how do I start the
codes once the app has been opened?
 
Hi,
what application are you trying to automate?
I think you are talking about sendkeys, but you want to avoid these as much
as possible. They can cause fatal errors.
Maybe we can automate whatever you want to do through code instead, so try
to collaborate a little more on what it is you are trying to achive.
Most likely you will need to use VBA instead of macros. Macros are very
limited and cannot handle error handling.
HTH
Good luck
 
Well the application I am trying to open is a terminal emulation software. I
have a macro that uses the "RunApp" function to open the application. That
works fine but I don't know how to have it automate the keystrokes. What do
you recommend that I use to send the keystrokes? For example when the
application opens I need to type "BOS.CTR" to log in. How would I write this
in the VBA Code?
 
Back
Top