RunApp Macro

S

Secret Squirrel

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?
 
F

freakazeud

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
 
S

Secret Squirrel

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Runapp with Sendkeys 2
RunApp question 2
DosBatch from Access Macro 1
RunApp Access macro command 1
RunApp Macro 2
RunApp 1
ACCESS 2007: CREATE A BUTTON ON FORM TO LAUNCH MS WORD 1
RunApp - where the f? 3

Top