Nateiscool2 Posted September 19, 2013 Share Posted September 19, 2013 So when i go to grab the information it show it in the GUI but when i use the autoit code to grab it there is no success. I need a fast solution. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted September 19, 2013 Moderators Share Posted September 19, 2013 Nateiscool2,Welcome to the AutoIt forum. You will need to give us a bit more information if you expect any help. What is the XP app you are trying to read? What details (window, control, etc) does the AutoIt Window Info tool (I assume that is what you mean by "it show it in the GUI") give you about it? What code have you used to try and read it? If you can give us that information we might well be able to offer some advice. But although you say you "need a fast solution" please bear in mind that we are all volunteers here and you will have to wait patiently for someone to take the time to work on your problem. M23P.S. When you post code please use Code tags - see here how to do it. 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 columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Nateiscool2 Posted September 19, 2013 Author Share Posted September 19, 2013 The program i am trying to read is called DBA manufaturing. I am trying to read a frame that has values you can select via down arrow it's a list, but when i use the tool to read it. The text isn't showing up so i can't write code that will automate it. It shows a Class TWindow Instance 4. The visible text isn't showing up with the text on the pane. I have tried Controlgettext, Controlgetfocus. The program has been good up til i have come to this window where i can't seem to get the visible text. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted September 19, 2013 Moderators Share Posted September 19, 2013 Still digging for a decent amount of information - how about posting what the Window Info Tool is showing you, as well as a screenshot of the area of the app window you're trying to interact with? "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! Link to comment Share on other sites More sharing options...
Nateiscool2 Posted September 19, 2013 Author Share Posted September 19, 2013 This is the windows i am trying to grab. Here is the windows when i try to use the crosshair. Here is the summary: >>>> Window <<<< Title: SAMPLE EMC - 9/19/2013 Class: TForm13 Position: 0, 264 Size: 674, 506 Style: 0x16CF0000 ExStyle: 0x00010100 Handle: 0x003F0A4C >>>> Control <<<< Class: TWindow Instance: 4 ClassnameNN: TWindow4 Name: Advanced (Class): [CLASS:TWindow; INSTANCE:4] ID: 723560 Text: Position: 5, 68 Size: 640, 360 ControlClick Coords: 286, 118 Style: 0x56000000 ExStyle: 0x00010000 Handle: 0x000B0A68 >>>> Mouse <<<< Position: 299, 500 Cursor ID: 0 Color: 0xFFFFFF >>>> StatusBar <<<< >>>> ToolsBar <<<< >>>> Visible Text <<<< AR CM CS SA RM SR SO Sales AR-C Record Payments for MITSUBISHI ELECTRIC AUTOMATION - ISTS Enhan AR Transactions Done Exit Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted September 19, 2013 Moderators Share Posted September 19, 2013 The information you're showing is from the main window (SAMPLE EMC - 9/19/2013). Do you get anything different from the Window Info Tool if you hover over the sub-window (AR-C Record Payments for MITSUBISHI ELECTRIC AUTOMATION - ISTS Enhan )? It is seeing it, as evidenced by the Visible Text; just curious if it is seen as a separate window. "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! Link to comment Share on other sites More sharing options...
Nateiscool2 Posted September 19, 2013 Author Share Posted September 19, 2013 When i hover over the title bar i get: >>>> Window <<<< Title: SAMPLE EMC - 9/19/2013 Class: TForm13 Position: 49, 44 Size: 674, 506 Style: 0x16CF0000 ExStyle: 0x00010100 Handle: 0x003F0A4C >>>> Control <<<< Class: TForm2 Instance: 1 ClassnameNN: TForm21 Name: Advanced (Class): [CLASS:TForm2; INSTANCE:1] ID: 65280 Text: AR-C Record Payments for MITSUBISHI ELECTRIC AUTOMATION - ISTS Enhan Position: 2, 43 Size: 646, 388 ControlClick Coords: 504, 18 Style: 0x56CA0000 ExStyle: 0x00000140 Handle: 0x002B0A44 >>>> Mouse <<<< Position: 563, 155 Cursor ID: 0 Color: 0xD2E0ED >>>> StatusBar <<<< >>>> ToolsBar <<<< >>>> Visible Text <<<< AR CM CS SA RM SR SO Sales AR-C Record Payments for MITSUBISHI ELECTRIC AUTOMATION - ISTS Enhan AR Transactions Done This is a diffrent controlt then if i try to hover over the middle of the program. Either way i don't get the text. Link to comment Share on other sites More sharing options...
Nateiscool2 Posted September 20, 2013 Author Share Posted September 20, 2013 I figured out a quick fix i am using a ORC program and making it select the text and put it in a text file then figuring out how many times i send the down key. Link to comment Share on other sites More sharing options...
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