Saving web page script

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
heneghan
Newbie
Posts: 6
Joined: Sun Mar 04, 2007 3:16 am

Saving web page script

Post by heneghan » Sun Mar 04, 2007 3:19 am

I have the following script that I use for saving weather for a helicopter company:

// Run program and wait for it to be active
Change Directory>c:\Program Files\Internet Explorer
Run Program>c:\Program Files\Internet Explorer\IEXPLORE.EXE http://www.chlcrewsupport.com/public/wx.html
Press ALT
Send>v
Send>r
Wait>5
Release ALT
Press ALT
Release ALT
Wait>.5
Send>f
Wait>.5
Wait>1
Send>a
Send Character/Text>c:\WxSaveFiles\wx.htm
Wait>2
Press ENTER
Wait>2
Press TAB
Wait>2
Press ENTER
Wait>2
Press ALT
Wait>1
Send>f
Send>cc


I want to freeze the keyboard and mouse while this macro is running to ensure that it is not interfered with. Any ideas?

Walter

heneghan
Newbie
Posts: 6
Joined: Sun Mar 04, 2007 3:16 am

Post by heneghan » Sun Mar 04, 2007 4:04 am

I found the command BlockInput.

It works brilliantly.

After starting the macro
Blockinput> 1
at the end of the script
Blockinput>2

Perfect!!

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts