vp-run-offscreen-area

vp-run-offscreen-area is a command for coding agents from Ganbin/4d-development-skill. It costs 0 tokens per session (1,270 once invoked), scanned A, original, MIT.

A command that creates a spreadsheet area in memory for running 4D View Pro operations without displaying the area on screen.

In plain words
What is it for?
Use it to process spreadsheet data or run spreadsheet events programmatically in an offscreen area.
Why use it?
It allows spreadsheet work to happen in the background, without needing a visible spreadsheet area.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/ganbin/4d-development-skill/vp-run-offscreen-area
Clone the repo
git clone --depth 1 https://github.com/Ganbin/4d-development-skill

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for vp-run-offscreen-area

README.md
[![agentmods](https://agentmods.dev/badge/commands/ganbin/4d-development-skill/vp-run-offscreen-area.svg)](https://agentmods.dev/commands/ganbin/4d-development-skill/vp-run-offscreen-area)
Your own site
<a href="https://agentmods.dev/commands/ganbin/4d-development-skill/vp-run-offscreen-area"><img src="https://agentmods.dev/badge/commands/ganbin/4d-development-skill/vp-run-offscreen-area.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,270 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.01270
Opus 5 $0.00000 $0.00635
Sonnet 5 $0.00000 $0.00254
Haiku 4.5 $0.00000 $0.00127

Measured yesterday against content hash 0383a9144197, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

vp-run-offscreen-area scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

docs/ViewPro/commands/vp-run-offscreen-area.md · 134 lines

How it starts

The opening of the file, as written. The whole thing — 134 lines — stays where its author put it; the contents beside it link to each section on GitHub.

VP Run offscreen area ( parameters : Object) : Mixed

Parameter Type Description
parameters Object -> Object containing the offscreen area's attributes
Result Mixed <- .result property of the .onEvent object, or Null if does not return a value

Description

The VP Run offscreen area command creates an offscreen area in memory which can be used to process 4D View Pro area commands and functions.

In parameters object, pass any of the following optional properties. These properties will be available through the This command within the onEvent method and reference the instance:

Property Type Description
area text The name of the offscreen area. If omitted or null, a generic name is assigned (e.g., "OffscreenArea1").
onEvent object (formula) A callback method that will be launched when the offscreen area is ready. It can be either:an onEvent function of a class, ora Formula objectBy default, the callback method is called on the On VP Ready, On Load, On Unload, On End URL Loading, On URL Loading Error, On VP Range Changed, or On Timer events. The callback method can be used to access the 4D View Pro form object variable.
autoQuit boolean True (default value) if the command must stop the formula execution when the On End URL Loading or On URL Loading Error events occur. If false, you must use the CANCEL or ACCEPT commands in the onEvent callback method.
timeout number Maximum time (expressed in seconds) before the area automatically closes if no event is generated. If set to 0, no limitation is applied. Default value: 60
result mixed Result of the processing (if any)
<customProperty> mixed Any custom attribute to be available in the onEvent callback method.

The following property is automatically added by the command if necessary:

Property Type Description
timeoutReached boolean Added with true value if timeout has been exceeded

The offscreen area is only available during the execution of the VP Run offscreen area command. It will automatically be destroyed once execution has ended.

The following commands can be used in the callback method:

  • ACCEPT
  • CANCEL
  • SET TIMER
  • WA Evaluate JavaScript
  • WA EXECUTE JAVASCRIPT FUNCTION

Read the full file on GitHub · 134 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 134 lines · 0 tokens per session scan A 0383a9144197

Subscribe to this mod's changes

vp-run-offscreen-area is a command published in the GitHub repository Ganbin/4d-development-skill (9 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,270 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.