Scrape Text
From UBot Studio
(Difference between revisions)
Line 1: | Line 1: | ||
$Scrape Text is a [[Windows Functions|Windows Function]]. | $Scrape Text is a [[Windows Functions|Windows Function]]. | ||
− | This command will scrape a specified text in a windows program or text editor. | + | This command will scrape a specified text in a windows program or text editor. Its use is limited to text editors such as note pad. |
+ | |||
The text if found and scraped using the location by parent class, x position and y position on computer. | The text if found and scraped using the location by parent class, x position and y position on computer. | ||
+ | |||
The window the specified text is located in must be in full screen. | The window the specified text is located in must be in full screen. | ||
Revision as of 18:57, 13 April 2013
$Scrape Text is a Windows Function.
This command will scrape a specified text in a windows program or text editor. Its use is limited to text editors such as note pad.
The text if found and scraped using the location by parent class, x position and y position on computer.
The window the specified text is located in must be in full screen.
Example
set(#test, $plugin function("WindowsCommands.dll", "$scrape text", "Untitled - Notepad", "Notepad", 42, 78), "Global")
Running the script will scrape the specified text and set it to the variable "test".