Sign in to follow this  
Followers 0
tezari

Send Secuence while Typing?

5 posts in this topic

Hello, its my first post but I use Autoit since 2 o 3 years ago.

Always forums help me to solve my doubts but I cannot find any solution to this

I need to send a secuence of numbers to a windows, in the same window and at the same time i have to be typing a random text.

Is it possible to send this secuence without disturbing my text?

 

At the moment I tried with Control send and Send and all kind of sends.

Hope that someone can help me..

Thanks in advance.

Share this post


Link to post
Share on other sites



Can you please provide some more information on what you are trying to do?  What type of window?  Why do you need to send a sequence of numbers at the same time you enter random numbers?  Also, can you post your code?


Build your own poker game with AutoIt: pokerlogic.au3 | Learn To Program Using FREE Tools with AutoIt

Share this post


Link to post
Share on other sites

The windows is an application window from my Work for IT Ticket resolutions.

I need to enter a secuence of digits (IT Ticket ID) that i take from a File(Excel) while I type some comments on the ticket previous to submit the resolution.

The problem is that at the moment I have to wait until the numbers are entered (20digits+) to start writing the comments.and its a lost of time.

At the moment im using

while xxx

ControlSend("","","",$Character)

Call ("ReadNextValue")

wend

Share this post


Link to post
Share on other sites

tezari,

Entering the numbers can probably be automated if you have read access to the spreadsheet and a way to identify the numbers programmatically.  Also, how long can it take to cut and paste a number?


Forum Rules         Procedure for posting code

"I like pigs.  Dogs look up to us.  Cats look down on us.  Pigs treat us as equals."

- Sir Winston Churchill

Share this post


Link to post
Share on other sites

If it is a ticket by ticket data entry task - and you are entering the ticket number from a spreadsheet - then that loop should not work unless you can fill in all the ticket numbers before proceeding (or concurrently with your typing - which sounds like the problem you are describing).  How about using a hotkey to fetch the next one?  That way, you go to the next ticket and just press one key and the field is completed and you can enter your notes.

I would just read all the tickets into an array an iterate through them with the hotkey function.


Build your own poker game with AutoIt: pokerlogic.au3 | Learn To Program Using FREE Tools with AutoIt

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  
Followers 0