Jump to content


Recommended Posts


Why will this not Send("{8}"), it will click left click just fine but, I would rather it Send("{8}"). If I comment out ;Send("{8}") and uncomment LC($pixels[0],$pixels[1]) it works perfectly

LC is a Left Click function I have made and it works just fine

Thank you

func _SummonPets()

      Global $Pets = False

      $pixels = PixelSearch(1780,1407,1782,1409,0x295219,1)

      if NOT(@error) Then
         GUICtrlSetData($CastPet, "Pets")



Share this post

Link to post
Share on other sites

Which program are you automating that has Pets that you can Cast? (Maybe it would be good to read our forum rules first.)
What exactly do you want to send? an 8 or the 3 characters "{8}"? 


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
Live for the present,
Dream of the future,
Learn from the past.

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