MACRO Recorder; Attachment - EXTRA! X-treme 8.0



All other tools like QACenter, Strobe, Endevor, Telon, APAS, Scheduler, Auditor, DATA-XPERT, CoolGen, Intertest, AdvantageGen, COBTEST etc.

MACRO Recorder; Attachment - EXTRA! X-treme 8.0

Postby cfhaey » Mon Apr 04, 2011 7:29 am

Hi there,

I'm new to the macro business, I'm not sure if I'm in the right forum here, I'm sure someone will tell me if I'm not,

Im trying to record a macro that will make my life infinitly easier and more efficient.

I have recorded the macro below, does anybody know how to create a macro that will repeat a command as simple as <Enter, PF2, PF2, Enter> as many times as you request?

It would be great if I could reply to the MsgBox with a number like "10" and the <Enter, PF2, PF2, Enter> sequence would be repeated automatically 10 times..

MsgBox"How many reversals would you like to perform?"
Sess1.Screen.Sendkeys("<Enter>")
Sess1.Screen.WaitHostQuiet(g_HostSettleTime)
Sess1.Screen.Sendkeys("<Pf2>")
Sess1.Screen.WaitHostQuiet(g_HostSettleTime)
Sess1.Screen.Sendkeys("<Pf2>")
Sess1.Screen.WaitHostQuiet(g_HostSettleTime)
Sess1.Screen.Sendkeys("<Enter>")
Sess1.Screen.WaitHostQuiet(g_HostSettleTime)

System.TimeoutValue = OldSystemTimeout
End Sub

It would be great if someone could even point me in the right direction,

Cf
cfhaey
 
Posts: 1
Joined: Mon Apr 04, 2011 6:56 am
Has thanked: 0 time
Been thanked: 0 time

Re: MACRO Recorder; Attachment - EXTRA! X-treme 8.0

 

Return to All Other Tools

 


  • Related topics
    Replies
    Views
    Last post