Sign in to follow this  
Followers 0
akerr95

What is wrong with my send?

6 posts in this topic

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?


Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache

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


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

yes i do believe the were both in administrator , i kno for a fact its not the program

Share this post


Link to post
Share on other sites

akerr95, how about a screenshot of the application, or its name (as has been asked a couple of times now). Help us help you.


√-1 2^3 ∑ π, and it was delicious!

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  
Followers 0