Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Screen word snatching realization method with word dragging function

A technology of screen word extraction and implementation method, which is applied in the direction of program control devices, etc., can solve problems such as loss of screen word extraction function, inconvenient use for users, immature word segmentation technology, etc., and achieve the effect of saving copying

Active Publication Date: 2011-05-04
ZHEJIANG UNIV
View PDF2 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The first is to extract words from the screen. This method directly extracts the words at the position of the mouse on the screen by moving the mouse. Using this method, the operation method for users to obtain words is simple and fast. There are two shortcomings. 1. Because the word segmentation technology is not mature enough, As a result, the retrieved words are inaccurate and inconsistent with the user's ideas. 2. Some application software uses some special text output methods (such as the output of the pdf reader in image format), resulting in the complete loss of the word retrieval function on the screen. Inconvenience to users;
[0004] The second is to draw words to get words, that is, users can get words by dragging and dragging the mouse to draw words on the screen. Words can be extracted from places that cannot be reached, but the operation of word extraction is more cumbersome than that of the screen
It is impossible to realize the traditional cognition by combining word-marking and screen-picking

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Screen word snatching realization method with word dragging function
  • Screen word snatching realization method with word dragging function
  • Screen word snatching realization method with word dragging function

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] Such as figure 1 and figure 2 As shown, the present invention has a method for realizing word extraction from the screen with word marking function, and its specific implementation includes the following steps:

[0037] Step 1: Install the global mouse hook

[0038] Use the SetWindowsHookEx API function to load the global mouse hook in the dll program of the Windows operating system of the computer equipment. Regarding the specific usage of the SetWindowsHookEx function, many books have mentioned it, and this is not the focus of the present invention, so it will not be repeated here.

[0039] Set the preprocessing function after the mouse message is captured to GetMsgProc. The following messages of the mouse need to be processed in GetMsgProc:

[0040] WINAPI GetMsgProc(MSG*msg)

[0041] {

[0042] if(msg->message==WM_MOUSEMOVE){

[0043] g_ptCurrentPoint.x = msg->pt.x;

[0044] g_ptCurrentPoint.y=msg->pt.y; / / Get the current coordinate...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a screen word snatching realization method with a word dragging function, comprising the following steps: 1. loading a global mouse hook by a SetWindowsHookEx API (Application Programming Interface) function in the dll program of the Windows operating system of computer equipment; 2. when mouse hovering time exceeds dwell time set by a user, after the mouse hook captures mouse dwell information WM_MOUSEHOVER, performing the following operations by the program: redrawing the window; mounting an API hook to intercept an API function; matching position; 3. when the mouse hook captures left mouse button up information WM_LBUTTON UP, performing the following operation by the program: saving content on a clipboard; simulating Ctrl+C operation; obtaining the snatched wordcontent; and restoring the content on the clipboard. Compared with the prior art, the invention is convenient for users to use and guarantees the popularity and the accuracy of word snatching.

Description

technical field [0001] The invention relates to a word extraction method on a screen, in particular to a screen word extraction method with a word marking function under the Windows operating system. Background technique [0002] With the advent of the information age, various text messages are flooding people's computers. Sometimes, in order to obtain the word on the screen, the user has to obtain the word through a series of cumbersome operations such as copying and pasting, which brings great inconvenience to the user. People hope that it will be easier to extract words on the screen. As a result, the on-screen word extraction technology came into being. There are two main methods of extracting words on the existing screen: [0003] The first is to extract words from the screen. This method directly extracts the words at the position of the mouse on the screen by moving the mouse. Using this method, the operation method for users to obtain words is simple and fast. The...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44
Inventor 姚敏尹建伟吕方敏阙杭宁沈正伟吴朝晖
Owner ZHEJIANG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products