Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Capture script and launch a keyboard macro

Status
Not open for further replies.

RonT1

Technical User
May 25, 2006
6
US
I'm new to script writing, I've made a script for capturing a file. I would like to now launch a keyboard script currently on my "C" drive to continue the process. Help please...
 
Thank you for the quick response Knob. I guess I should have provided my script, its a simple capture on/off I wrote:

proc main
while 1
if $carrier
capture on
transmit "^M"
transmit "password^M"
while $carrier
yield
endwhile
capture off
pause 1
endif
endwhile
endproc


This captures a file and places in on our LAN. After that I am currently launching a keyboard macro (on my C drive) which takes the file and copies it to a specific location on our Intranet.
My hopes were to launch this from the script above to save a couple of steps. Really appreciate your help.
 
Something else, not associated with Procomm.
 
Sorry Knob, I should have thought.
The marco reader I wrote myself. It and the marco are located at:
C:\Program files\My Marcos\Marco\Qwest_Test1.mac

I launch this after Procomm saves the capture file (pw01.cap as example) on the LAN.
This is then opened, copied and transferred by the macro to:

on our Intranet.
I hope this helps.
 
My gosh Knob. You made it so simple. As I am just learning procomm, how would you recommend I add it to the script. You are great!!!
 
Thank you so much Knob. Really appreciate this.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top