jameelo25 Posted April 23, 2018 Posted April 23, 2018 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
Danp2 Posted April 23, 2018 Posted April 23, 2018 Why not take the example from @JLogan3o13 in your other thread and then modify it to suit your needs? Post the modified code if you have questions or need further assistance. Latest Webdriver UDF Release Webdriver Wiki FAQs
Moderators JLogan3o13 Posted April 23, 2018 Moderators Posted April 23, 2018 @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!
jameelo25 Posted April 23, 2018 Author Posted April 23, 2018 @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
IAMK Posted April 24, 2018 Posted April 24, 2018 https://www.autoitscript.com/autoit3/docs/functions/ClipGet.htm https://www.autoitscript.com/autoit3/docs/functions/ClipPut.htm
xCROv Posted April 24, 2018 Posted April 24, 2018 (edited) What's your script for Jamelo? Maybe we can assist you more. Edited April 24, 2018 by xCROv
jameelo25 Posted April 25, 2018 Author Posted April 25, 2018 @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)
nightwatcher Posted April 25, 2018 Posted April 25, 2018 @jameelo25 the key point is to get the number for chat box, and give some example of your char text is helpful……
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now