Jump to content

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 ?

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?

Link to post
Share on other sites
  • Developers

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

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to post
Share on other sites
  • Moderators

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

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...