![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
I want to know how I would be able to increase my "x" value by 1000 each time I run. x = 1000000000 z = 1000 x + z = 1000001000 Now I want to do x + z, and make z increment by 1000 each time. So It would look something like this each time it runs. 1000001000 1000002000 1000003000 1000004000 1000005000 ..... and so on. Someone please help I really need this done asap. Thanks. |
| |||
| Quote:
Loop x times variable operation: $x$+$z$ to $x$ End Loop |
| |||
|
Hello mrfresh99, We have prepared a sample task which would be carrying out the operation required by you. Download and save the attached task at following location My Documents\Automation Anywhere\Automation Anywhere\My Tasks. Launch Automation Anywhere, select the task and click on run. While running the task it will display you the message box with the value of X getting increamented by 1000 matching with your requirement. Here in sample we have set iteration to only 10, you can go ahead and change it to your required number by editing the task and chaning the line number 4. Let us know how it goes for you. |
| |||
| Quote:
![]() ![]() Thank you for the support. I am now one step further to finishing my task. If you look at the first picture, you see my code. I have made a program for school that searches numbers by counting up. Once the windows opens and the number to start from is entered, the clock starts counting upwards every second. So 10000000000, 10000000001, 10000000002, etc. To speed up this process, I am using this program to open as many windows as possible, and starting them at intervals of 1000, so the number can be found very fast. 10000001000, 10000002000, 1000003000 and so on. In the code you see I am trying to do that. My number now raises by 1 thousand each time, but only in one window. I am trying to make it so that SEVERAL windows open one after another, and the number starts 1000 higher each time a window opens. I have looped it 5 times as a test.Now take a look at the second picture. When I test it, 5 windows open, although the number "1000000000" is only going up in intervals of 1000 in one window. I do not want it to do this, as I want the numbers to appear in each window. For example, the first window would open with this, 1000000000, second would open with 1000001000, 3rd 1000002000 and so on and so forth, until it finds the number. Also I want the number "162081301" to be the top value in every window, because this is the file ID it is searching. Thank you for your time.
|
| |||
|
Hi, Can you try using 'Insert Keystroke' command with the window title selected as 'Currently Active Window' to insert the text in the text-boxes under the .exe application. With 'Manage Window Controls' you do not get the option to select the 'Currently Active Window' and as a result if two or more windows have the same title then it inserts the text in the first window which gets opened. Hope this helps. Do let us know if you need any further assistance. Regards. |
![]() |
| Thread Tools | |
| Display Modes | |
| |