Search found 3 matches

by 2footer
Thu Jan 17, 2013 1:12 pm
Forum: Beginners
Topic: Send Keys question
Replies: 3
Views: 9866

VB Script

Hello. The reason the commands were in vbscript is because I needed to reactivate a window so I could close the program with the commands. I was using the appactivate command in vbscript to do this. This is the whole vbscript function: Function CloseApps Dim ws Set ws = CreateObject( "WScript.Shell"...
by 2footer
Thu Jan 17, 2013 4:59 am
Forum: Beginners
Topic: Send Keys question
Replies: 3
Views: 9866

Send Keys question

I current have a vbscript section of my macro that is intended to press AltF and then press x to exit the screen. When testing, sometimes it closes the screen and sometimes the X is not triggered. Is there a different way to configure this send key?


ws.SendKeys "%{F}"
ws.SendKeys "x"
by 2footer
Wed Jan 16, 2013 1:52 am
Forum: Beginners
Topic: Script Control Message
Replies: 1
Views: 7033

Script Control Message

How can I set code so that the script control message does not appear. Currently, my script will run OK but the following message will appear: The script you are executing is taking longer than expected to run. Click End to abort the script, or Continue to continue script execution. The script actua...
Sign up to our newsletter for free automation tips, tricks & discounts