Jump to content

How to increase number value by 1 in $count ?


Recommended Posts

  • Moderators

@jameelo25 as Danp2 mentions, you have been given everything you need to do what you want. This forum is dedicated to helping people improve their own scripts - it is not a place where you put in a request and someone spoon feeds the code to you. Effort on your part will go a long way toward your getting continued assistance.

"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

@Danp2 This thread is about a different function I need in AutoIt than my previous one, here's the code : 

 

WinActivate("Discord")
MouseClick("left", 404, 702) ;clicking on the previous text
MouseClick("left", 404, 702) ; double clicking to select all of it
send("^c") ;copying it
MouseClick("left", 526, 782) ;clicking on the chat bar
Global $count = 0 
 Send("^v" & $count) ;pasting it and inserting the count in the chat bar
$count += 1 ;adding 1 to $count
; i need to figure out how to ctrl v then add 1 to the number

 

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...