Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4617568
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T02:08:33+00:00 2026-05-22T02:08:33+00:00

I want to extract text contents from GUI apps,here are 2 examples:: example 1:

  • 0

I want to extract text contents from GUI apps,here are 2 examples::

example 1:

Suppose I opened firefox, and input url : http://www.google.com

how can I extract the string “www.google.com” from firefox using my own app ?

example 2:

open calculator(using gcalctool),then input 1+1

How can I extract the string “1+1” of calculator from my own program?

in brief ,what I want is to find out whether there is a way to extract the text contents from any widget of an GUI application

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T02:08:33+00:00Added an answer on May 22, 2026 at 2:08 am

    I don’t think there’s a generic way to do this, at least not a very elegant one.

    Some inelegant ideas:

    You might be able to modify the X window system or even some toolkit framework to extract what is being displayed in specific window elements as text.

    You could take a screenshot and use an OCR library to convert the pixels back into text for the interesting areas.

    You could recompile the apps of interest to add some kind of mechanism for asking them questions.

    You could use something like xtest to inject events highlighting the region of interest and copying it to the clipboard.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to extract contents from this url http://www.xyz.com/default.aspx and this is the below
I have a big problem. I want to extract text from html table that
i want to extract some text in certain website. here is web address what
I want to extract the text information (Chinese) from the images that picked by
I'm new to python. I want to extract some text from the CNN website.
I want to extract valid(on the basis of format) mobile numbers from a text.
I'd like to extract the text from an HTML file using Python. I want
Basically, I want to extract the strings AAA, BBB, CCC, DDD from a text
I want to extract text from a column using regular expressions in Oracle 11g.
Dear friends,I want to extract text 平均3.6 星 from this code segment excerpted from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.