Jump to content
Sign in to follow this  
akerr95

What is wrong with my send?

Recommended Posts

So i made a script on a different computer and when trying to run on this one it gives me a problem

here is a little piece of the code:

Local $SomeWindow = "WindowName"

  WinActivate($SomeWindow)
  WinWaitActive($SomeWindow)
  ControlSend($SomeWindow,"","","{ESC}")
    opt("SendKeyDownDelay",1000)
  ControlSend($SomeWindow,"","","{LEFT}")
   ControlSend($SomeWindow,"","","{Enter}")

i realize everytime it reaches LEFT it doesnt work , or if i use send() it doesnt work ?

Share this post


Link to post
Share on other sites

Some programs resist automation.  I know of a few specific workarounds.  What are you trying to automate?

yea but i made the script work on one computer but when i went on another it didnt work ? its not so much the program but the computer right?

Share this post


Link to post
Share on other sites

Different OS?

Is the one that isn't working running the program as Admin?

In other words: Information is essential when you want us to help you. ;)

Jos

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...