Jump to content

help! read csv/excel file specific column and input to TextBoxY found in WindowX +loop - (Moved)


Recommended Posts

i need help,

Clear text found in TextBoxY from WindowX and Input text into TextBoxY by Reading the list line-by-line (per macro repetition/loop) found in "@Username" (current windows user name) column in csv/exel file. (In short, each loop, clears and inputs line-by-line from "@Username" column to TextBoxY) (Number of loops = read 1st row found in "@Username Count" column)
+
PM looking for AutoIT coder

Link to comment
Share on other sites

Its a custom App running on a network, doesn't run if send it u so i described the process like below:

(1)
Run the program from custom path and Wait till WindowA gets active
(2) Activate Button1 from WindowA (without mouse click) and wait till WindowB gets active
(3) Clear text found in TextBox1 from WindowB and Input text into TextBox1 by Reading the list line-by-line (per macro repetition/loop) found in "@Username" (current windows user name) column in excel file. (In short, each loop, clears and inputs line-by-line from "@Username" column to TextBox1) (Number of loops = number of rows found in "@Username" column or Read count found in TotalCount value in "@Username" column)
(4) Activate Button2 (without mouse click) from WindowB
(5) Wait till WindowC gets active and Activate Button3 from WindowC (without mouse click) and Loop from (3) and if WindowC is not found, Copy the last input TextBox1 text and Send it to Email + Write to Excel in "@Username Not Found" column

Here below provide all required Titles, Text, Class, Instances, IDs, etc for Windows and Buttons.



WindowA 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>> Window <<<<
Title:    Select
Class:    WindowsForms10.Window.8.app.0.297b065
Position:    600, 381
Size:    400, 138
Style:    0x16C80000
ExStyle:    0x00050101
Handle:    0x0000000000040F2E

>>>> Control <<<<
Class:    WindowsForms10.STATIC.app.0.297b065
Instance:    1
ClassnameNN:    WindowsForms10.STATIC.app.0.297b0651
Name:    
Advanced (Class):    [CLASS:WindowsForms10.STATIC.app.0.297b065; INSTANCE:1]
ID:    1773418
Text:    Welcome


***********************************************

WindowB - TexBox
~~~~~~~~~~~~~~~~
>>>> Window <<<<
Title:    Enter data
Class:    WindowsForms10.Window.8.app.0.297b065
Position:    502, 292
Size:    595, 316
Style:    0x16C80000
ExStyle:    0x00010101
Handle:    0x0000000000210E46

>>>> Control <<<<
Class:    WindowsForms10.EDIT.app.0.297b065
Instance:    4
ClassnameNN:    WindowsForms10.EDIT.app.0.297b0654
Name:    
Advanced (Class):    [CLASS:WindowsForms10.EDIT.app.0.297b065; INSTANCE:4]
ID:    2297436

***********************************************

WindowB - Activate Button2
~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>> Window <<<<
Title:    Enter data
Class:    WindowsForms10.Window.8.app.0.297b065
Position:    502, 292
Size:    595, 316
Style:    0x16C80000
ExStyle:    0x00010101
Handle:    0x0000000000040FE6

>>>> Control <<<<
Class:    WindowsForms10.BUTTON.app.0.297b065
Instance:    2
ClassnameNN:    WindowsForms10.BUTTON.app.0.297b0652
Name:    
Advanced (Class):    [CLASS:WindowsForms10.BUTTON.app.0.297b065; INSTANCE:2]
ID:    200714
Text:    Activate

**************************************************


WindowC - Activate Button3
~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>> Window <<<<
Title:    OK
Class:    #32770
Position:    620, 401
Size:    366, 149
Style:    0x94C801C5
ExStyle:    0x00010101
Handle:    0x0000000000260814

>>>> Control <<<<
Class:    Button
Instance:    1
ClassnameNN:    Button1
Name:    
Advanced (Class):    [CLASS:Button; INSTANCE:1]
ID:    2
Text:    OK

Link to comment
Share on other sites

6 minutes ago, NelsonJah said:

hey!
i am new user for the forum and newbie for autoIt.
since i don't know anyone, i ve got ur contact from forum online users asking u kindly. ...

..well, don't send direct mail to users of the forum. As far as moneys, I have no interest and will help those I feel I can, if they show effort to learn.
Again, don't DM users you don't personally know well enough to have that type of comunication.

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Link to comment
Share on other sites

28 minutes ago, argumentum said:

..well, don't send direct mail to users of the forum. As far as moneys, I have no interest and will help those I feel I can, if they show effort to learn.
Again, don't DM users you don't personally know well enough to have that type of comunication.

lesson learned! accept my sincere apology...i am ready and would be so happy to learn! 

Link to comment
Share on other sites

Based on the process you have laid out, seems reasonable/doable.  Have you written any code yet, and if so, can you share it? 

Can you also tell us where in the process you are getting stuck/unsure how to script and we'll try to point you in the right direction.

 

Bonus pro forum tip: when you post code in a forum thread, use the <> button in the toolbar, to the right of the Bold, Italic, Underline, Strikethrough buttons. ;)

Link to comment
Share on other sites

  • Moderators

Moved to the appropriate AutoIt General Help and Support forum, as the Developer General Discussion forum very clearly states:

Quote

General development and scripting discussions.


Do not create AutoIt-related topics here, use the AutoIt General Help and Support or AutoIt Technical Discussion forums.

Moderation Team

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...