Jump to content
Sign in to follow this  
jameelo25

How to increase number value by 1 in $count ?

Recommended Posts

jameelo25

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
JLogan3o13

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


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

Share this post


Link to post
Share on other sites
jameelo25

@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
xCROv
Posted (edited)

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
jameelo25

@xCROv It's for me to get a number from the chat, increase it by 1, and type it in the chat bar. (its a counting up challenge)

Share this post


Link to post
Share on other sites
nightwatcher

@jameelo25

the key point is to get the number for chat box, and give some example of your char text is helpful……

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  

×