Questions tagged [text-capture]

11 questions
8
votes
1 answer

How To Capture Text Using Mouse Pointer And Keyboard Shortcuts?

i want to capture text from opened windows using mouse pointer and keyboard shortcut using C# or java ( like babylon ) , so what i need to know and how to implement it ? what are the libraries i need to use ? or can i use winapi ?
Radi
  • 6,548
  • 18
  • 63
  • 91
2
votes
1 answer

Get the text from a web page

How do I capture the text from the web page? Do I need to get the page source and how?
Trepach
  • 33
  • 5
1
vote
1 answer

Capture one suffix containing known substring when multiple matching prefixes (without known substring) found

Given an input of multiple string, some containing the prefix is:, I need to capture one instance of the substring "Foo" or "Bar" following the is: prefix regardless of how many times is:Foo/is:Bar or is:Baz/is:Xyzzy appear. Using the following…
1
vote
2 answers

Rapid text recognition from Android or iOS video camera

Are any of the current text capture APIs (e.g. Google's Text API) fast enough to capture text from a phone's video feed, and draw a box that stays on the text even as the camera moves? I don't need fast enough to do full OCR per-frame (though that…
David Goldfarb
  • 1,796
  • 3
  • 18
  • 32
1
vote
1 answer

Strange text capturing in intellij idea

Looks like I pressed some key combination or something. I cannot capture code as usual. Idea captures not the whole method but text according to the level of the cursor. Does anyone know how to turn on/off this feature? I use ultimate version…
IKo
  • 4,998
  • 8
  • 34
  • 54
1
vote
2 answers

Get the current HTML of an element

I have a div with an id of "stage". In this div there are text inputs and anything else that could possibly be put in there. When a user clicks on a button I want to get the html in the stage div and save it somewhere. My problem I'm noticing is I'm…
user1513171
  • 1,912
  • 6
  • 32
  • 54
0
votes
1 answer

How can I compile a list of unique image filenames in a set of html files?

I have ~3,600 html files with a ton of image tags in them. I'd like to be able to capture all the src attribute values used in these files and aggregate them into a text file where I can then remove duplicates and see how many unique image filenames…
0
votes
2 answers

How to extract branch name using regex and sed?

How can I extract the branch name from a string using bash? For example, I have the following command: branch=$(git branch -a --contains $sha) This may return: * branch-1.0 (the prefix is always an asterisk) branch-2.0 remotes/origin/branch-2.0…
John Doe
  • 3
  • 3
0
votes
2 answers

How do I capture the output from the "present" function and store it in a string

In Matlab, I have a IDPOLY object which I wish to "present" and store the resulting text in a text file. eg if a is an IDPOLY object and I do >> present(a) I get Discrete-time IDPOLY model: A(q)y(t) = B(q)u(t) + e(t) A(q) = 1 -…
mor22
  • 1,372
  • 1
  • 15
  • 32
0
votes
4 answers

Capture a text from webpage using selenium

I am trying to capture a piece of text from a website which keeps changing. It looks like : Order ID : XXIO-123344-3456 The prefix is constant but the numbers will always change. I want to capture this number and store it. I have tried…
Arindam Roychowdhury
  • 5,927
  • 5
  • 55
  • 63
-4
votes
1 answer

C# Capture label text from another application

I am using C#. I intend my program can get label text from another application by click. For an example: - When I click on the File Menu in Notepad program, my console application will show "File" text. - When I click on the title of Calculator…