Jump to content
Sign in to follow this  
jameelo25

How to increase number value by 1 in $count ?

Recommended Posts

I want to automate the process of : Pasting a number i have in my clipboard into my notepad, and then increasing it by 1 using the $count function 

can anyone show me how to do that?

Any help would be very greatly appreciated from you guys :)

Share this post


Link to post
Share on other sites

@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!

Share this post


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

 

Share this post


Link to post
Share on other sites

What's your script for Jamelo? Maybe we can assist you more.

Edited by xCROv

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...