Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Tatsuya Ishikawa
Tatsuya Ishikawa adjust packaging.
Latest commit c1ec1eb Apr 24, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore version up. Nov 25, 2017
LICENSE Initial commit Apr 12, 2015


This library is a layer on top of Friendly, so you must learn that first. But it is very easy to learn.

Getting Started

Install Friendly.FarPoint from NuGet

Install-Package Friendly.FarPoint

Friendly.FarPoint defines the following classes.
They can operate the control easily from a separate process.

  • FpSpreadDriver

var process = Process.GetProcessesByName("Target")[0];  
using (var app = new WindowsAppFriend(process))  
    dynamic main = app.Type(typeof(Application)).OpenForms[0];  
    var spread = new FpSpreadDriver(main._grid);
    int count = spread.Sheets.Count;
    int activeSheetIndex = spread.ActiveSheetIndex;
    var sheet = spread.Sheets[1];
    sheet = spread.ActiveSheet;
    var cell = sheet.Cells[0. 3];
    cell = sheet.ActiveCell;
    string text = cell.Text;
    int rowIndex = cell.Row.Index;
    int rowIndex2 = cell.Row.Index2;
    int rowIndex = cell.Column.Index;
    int rowIndex2 = cell.Column.Index2;
    sheet.EmulateChangeActiveCell(3, 5, true);
    sheet.EmulateAddSelection(1, 2, 3, 5);
    sheet.EmulateRemoveSelection(1, 2, 3, 5);
    sheet.EmulateChangeActiveCell(0, 1, true);
    sheet.EmulateChangeActiveCell(0, 2, true);
    sheet.EmulateChangeActiveCell(0, 3, true);
    sheet.EmulateChangeActiveCell(0, 4, true);

More samples.

For other GUI types, use the following libraries:

If you use PinInterface, you map control simple.

You can’t perform that action at this time.