How to get the text of a Notepad

Script Comments Off on How to get the text of a Notepad
Nov 252022

You can use the function FindWindowEx to find the window of a Notepad, then use FindSubWindow to find the Edit control of the Notepad, and then use Win_GetText to get the text of the Notepad. Win_GetText can get the text of an Edit which in another process.
Get Notepad Text

You can download the sample script from GetNotepadText.amk.

How to read Excel file

Script Comments Off on How to read Excel file
Mar 252021

You can use the function XLS_GetCell to read a cell of an Excel file.
Read Excel

You can download the sample from ReadExcel.zip.

Screen capture with multiple monitors

Script Comments Off on Screen capture with multiple monitors
Apr 142020
In Automatic Mouse and Keyboard, you can capture the screen with multiple monitors easily. Just use the function CaptureVirtualScreen, then you can capture the screen with multiple monitors. Then use the function SetClipboardImage, you can put the screen image on the clipboard.
Capture Virtual Screen

You can download the sample from CaptureVirtualScreen.amk

How to load and save JSON data

Script Comments Off on How to load and save JSON data
Aug 222019

In Automatic Mouse and Keyboard you can load and save JSON data easily. Here is a sample to show you how to load and save JSON data.
JSON

You can download the sample from JSON.zip.

© 2022 RobotSoft Suffusion theme by Sayontan Sinha