Tutorials

Filling In Special-Format Inputs: Color, Date, Time, and More

Modern HTML forms use specialized input types - color pickers, date/time pickers, week and month selectors - that each expect their own value format. This tutorial builds Selectors for a page full of these special-format inputs and drives them all in one chain with LeftClick and FillInFrom.

Driving a Search Box from a GPALFile of Search Terms

FillInFrom doesn't just take a string - point it at a GPALFile and GPAL treats each line as a token to type, run, and react to in turn. This tutorial searches a site once per line in a text file, using CallAfterFillIn to scrape and save results for each search term.

Building a Form: Controls, FillInFrom, and CallAfterFillIn

GPALForm lets you build a real Windows Form out of fluent GPAL control definitions, then drive it from a data file. This tutorial builds a small form with a label, buttons, radio buttons, and a checkbox, fills it from a GPALFile row by row with FillInFrom, pops up an approval dialog after each row via CallAfterFillIn, and shows the difference between Show() and ShowDialog().

Chaining Workflows: CallAfterFillIn and CallIfFound Together

This tutorial links three Units of Work into one workflow: an input grid drives a search box, CallAfterFillIn reacts to each row by clicking search and finding result links, and CallIfFound opens each result to scrape details into a master grid. A persistent selector runs alongside to dismiss popups whenever they appear.

Driving a Search Form from a Database Table

InputDatabaseTest reads search terms from a SQL Server table with GPALDatabase, fills a search box with each row in turn using FillInFrom, and runs a full scrape-and-paginate workflow after every fill via CallAfterFillIn. It's the do-gpaldatabase pattern: let a table drive a repeated workflow instead of hardcoding values.

Clicking a Captcha with a GPALForm and Hardware Input

A small GPALForm with a single button kicks off an Application automation chain: open an app, find an image-matched captcha checkbox, and click it with simulated mouse movement. Shows how a desktop form can act as a manual trigger for a GPAL workflow.

💬 Ask GPAL