?. / ?.[...] (Optional Chaining) | Operator | Language | Null-safe member, index, and method chaining (cfg?.network?.port ?? 8443) |
[RsscHostObject] / [RsscFunction] / [RsscIgnore] | .NET Attr | .NET SDK | Declarative C# attributes for namespace binding, RSW701 Mutating flags, and secret hiding |
a11y.contrastRatio(fgHex, bgHex) | Sandbox-Safe | a11y.* | Computes W3C WCAG 2.2 relative luminance contrast ratio (1.0..21.0) |
a11y.reportViolation(ruleId, targetId, message) | Sandbox-Safe | a11y.* | Emits custom OASIS SARIF 2.1.0 / VPAT compliance violation |
a11y.suggestFix / queryHtml / parseVttCues / hasAccessibleName / isTouchTargetCompliant | Studio Sandbox | a11y.* | Monaco Guided Fix diffs, HTML/XAML element queries, WebVTT caption cues, and WCAG 2.5.8 target checks |
acl.grantModify(targetDir, trusteeSid?) | Mutating | acl.* | Grants NTFS Modify ACL via SetNamedSecurityInfoW |
activesetup.isRegistered / activesetup.register / activesetup.unregister | Packaging | activesetup.* | Per-machine install -> first-logon per-user profile hydration via Active Setup StubPath |
archive.create(sourcePath, outArchive, options?) | Mutating | archive.* | Packs folder/file into archive inferred from extension (.zip, .7z, .rswpak, .cab, .tar.*, .zst, .iso, .wim) and returns SHA-256 |
archive.create7z(sourcePath, out7z, options?) | Mutating | archive.* | Packs folder or file into Public-Domain solid LZMA2 .7z archive and returns SHA-256 |
archive.createCab(sourcePath, outCab, options?) | Mutating | archive.* | Packs folder hierarchy into LZX:21 Windows .cab cabinet and returns SHA-256 |
archive.createIso(sourcePath, outIso, options?) | Mutating | archive.* | Builds ISO 9660 (.iso) Collector's Edition optical disc image and returns SHA-256 |
archive.createLzma(sourcePath, out7z, options?) | Mutating | archive.* | Alias for archive.create7z — creates solid LZMA2 .7z archive and returns SHA-256 |
archive.createPak(sourceDir, outPakFile, options?) | Mutating | archive.* | Compresses folder into LZMS .rswpak (RSWPAK1) and returns SHA-256 |
archive.createTar(sourcePath, outTar, options?) | Mutating | archive.* | Creates .tar, .tar.gz, .tar.bz2, .tar.xz, .tar.lzma, or .tar.zst and returns SHA-256 |
archive.createWim(sourceDir, outWim, options?) | Mutating | archive.* | Captures folder into Windows .wim image via System32\wimgapi.dll (elevated) and returns SHA-256 |
archive.createZip(sourcePath, outZip, options?) | Mutating | archive.* | Packs folder or file into standard DEFLATE .zip and returns 64-char hex SHA-256 |
archive.createZst(sourcePath, outZst, options?) | Mutating | archive.* | Packs folder/file into fast Zstandard .tar.zst bundle (libzstd) and returns SHA-256 |
archive.downloadPak(url, destDir, expectedSha256?, verifySig?) | Mutating | archive.* | Downloads, SHA-256 verifies, and extracts remote .rswpak block |
archive.extract(archiveFile, destDir, expectedSha256?) | Mutating | archive.* | Sniffs magic header bytes (.zip/.nupkg/.vsix/.epub, .7z, .rswpak, .cab, .tar.*, .zst, .iso, .wim, .cpio, .xar) and extracts |
archive.extract7z(sevenZipFile, destDir, expectedSha256?) | Mutating | archive.* | Extracts .7z (LZMA / LZMA2) archive into destDir with .rsw-rollback.jnl tracking |
archive.extractCab(cabFile, destDir, expectedSha256?) | Mutating | archive.* | Extracts Windows .cab cabinet preserving subdirectories |
archive.extractIso(isoFile, destDir, expectedSha256?) | Mutating | archive.* | Extracts ISO 9660 (.iso) optical disc image into destDir |
archive.extractLzma(sevenZipFile, destDir, expectedSha256?) | Mutating | archive.* | Alias for archive.extract7z — extracts LZMA / LZMA2 .7z archive into destDir |
archive.extractPak(pakFile, destDir, expectedSha256?) | Mutating | archive.* | Verifies SHA-256 and extracts LZMS .rswpak container |
archive.extractTar(tarFile, destDir, expectedSha256?) | Mutating | archive.* | Extracts uncompressed or compressed POSIX tarball into destDir |
archive.extractWim(wimFile, destDir, expectedSha256?) | Mutating | archive.* | Applies Windows .wim image via System32\wimgapi.dll into destDir (elevated) |
archive.extractZip(zipFile, destDir, expectedSha256?) | Mutating | archive.* | Extracts .zip (or .nupkg/.vsix/.epub) archive into destDir with rollback tracking |
archive.extractZst(zstFile, destDir, expectedSha256?) | Mutating | archive.* | Extracts Zstandard .tar.zst / .tzst bundle into destDir |
archive.list(archiveFile) | Wizard-Safe | archive.* | Lists relative entries ({ path, size, isDir }) in any archive (blocks Zip-Slip & .rar) |
archive.verify(archiveFile, expectedSha256?) | Wizard-Safe | archive.* | Verifies optional SHA-256, container integrity, and Zip-Slip path safety |
arp.register(options?) | Mutating | arp.* | Registers Installed Apps entry + Uninstall.exe + Uninstall.rswm |
arp.setSystemComponent(productId, hidden, scope?) | Mutating | arp.* | Toggles SystemComponent=1/0 for dynamic Suite governance |
array.contains(list, needle) | Pure | array.* | Returns true if array contains needle |
array.filter(list, predicateFn) | Pure | array.* | Filters array elements using first-class '=>' predicate closure |
array.find / any / all / reduce / sort / unique / slice / reverse | Pure | array.* | Complete 12-method functional collection pipeline across C++20, .NET, and ES2022 |
array.map(list, fn) | Pure | array.* | Maps array elements through first-class '=>' closure |
array.push(list, item) | Pure | array.* | Appends item to array and returns new length |
assert(cond, message?) | Function | Global Built-In | Aborts and triggers LIFO rollback in install{} when false |
bool(value) | Function | Global Built-In | Evaluates value truthiness |
coalesce(a, b, ...) | Function | Global Built-In | Returns first non-null, non-empty argument |
com.generateRegFreeManifest(exe, comFiles, outManifest) | Mutating | com.* | Emits Windows Side-by-Side .exe.manifest XML for zero-HKCR VB6 / ActiveX COM isolation |
com.inspectTypeLib / registerInproc / unregisterInproc | Packaging | com.* | Inspects ITypeLib GUIDs/coclasses via REGKIND_NONE or runs DllRegisterServer |
compile.def(key, fallback?) | Build-Time | compile.* | Reads compile-time -D or #define value |
compile.json(relPath) | Build-Time | compile.* | Parses and embeds JSON file directly into RSWBC2 bytecode |
compile.text(relPath) | Build-Time | compile.* | Embeds UTF-8 text file into RSWBC2 constant pool at compile time |
crossroads.visit / visited / visitCount / setFlag / getFlag / adjustStat / offerOption / options | Story Crossroads | crossroads.* | Interactive branching narrative state, bounded stats, and route option engine (.NET Book Reader & ES2022 Web) |
crypto.sha256File(file) | Read-Only | crypto.* | Streams file through CNG bcrypt.dll SHA-256 |
crypto.uuid5(name, nsGuid?) | Read-Only | crypto.* | Deterministic RFC 4122 SHA-1 UUIDv5 {GUID} |
crypto.verifyAuthenticode(peFile) | Read-Only | crypto.* | Verifies PE Authenticode trust chain via WinVerifyTrust |
def(key, fallback?) | Function | Global Built-In | Reads compile-time -DKEY=VAL or #define constant |
defer { ... } | Keyword | Language | LIFO scope-exit cleanup executed automatically on normal return, early return, or throw |
document.bindField(fieldName, value) | Sandbox-Safe | document.* | Binds calculated value into Tagged PDF/UA-1 AcroForm field |
document.bindTable / formatCurrency • launcher.bestArchVariant • help.includeWhen / registerSearchAlias | Studio Sandbox | Studio Sandboxes | Tagged PDF/UA-1 <Table> binding, silicon-aware Launcher asset selection, and Help Studio search aliases |
enum | Keyword | Language | String- or int-backed strongly typed enumeration |
env.appendPath(dirToAdd, scope?) | Mutating | env.* | Non-clobbering REG_EXPAND_SZ PATH append + surgical rollback/uninstall |
feature.info(id) | Read-Only | feature.* | Returns metadata and selection state for feature id |
feature.isSelected(id) | Read-Only | feature.* | Returns true when feature id is selected for installation |
feature.list() | Read-Only | feature.* | Lists declared feature descriptor maps |
feature.selectPreset(preset?) | Wizard-Safe | feature.* | Applies 'express', 'compact', or 'complete' feature tier |
feature.setSelected(id, selected?) | Wizard-Safe | feature.* | Updates selection state of feature id |
ffi.call(dllName, funcName, returnType, args) | Native FFI | ffi.* | Calls 64-bit native x64/ARM64 DLL export with int/str/wstr marshaling |
firewall.allowProgram(ruleName, exePath, direction?) | Mutating | firewall.* | Adds Windows Defender Firewall allow rule (rollback-tracked) |
float(value) | Function | Global Built-In | Converts string or int to 64-bit float |
font.isInstalled / font.install / font.uninstall | Packaging | font.* | Zero-reboot per-user & per-machine .ttf/.otf installation via AddFontResourceExW + WM_FONTCHANGE |
fs.copy(src, dst, overwrite?) | Mutating | fs.* | Copies file with .rswbak rollback backup |
fs.copyTree(srcDir, dstDir, progressLabel?) | Mutating | fs.* | Recursively copies folder tree with rollback protection |
fs.exists(path) | Read-Only | fs.* | Checks if file or directory exists |
fs.extract(payloadId?, to?, feature?) | Mutating | fs.* | Extracts embedded LZMS RSWPAK1 (#220) payload into target directory |
fs.fileVersion(pePath) | Read-Only | fs.* | Reads PE VS_FIXEDFILEINFO as 4-part SemVer version |
fs.findFiles(dir, pattern?, recursive?) | Read-Only | fs.* | Enumerates matching file paths in directory |
fs.isDir(path) | Read-Only | fs.* | Checks if path is an existing directory |
fs.isFile(path) | Read-Only | fs.* | Checks if path is a regular file |
fs.isLocked(file) | Read-Only | fs.* | Probes if another process holds an exclusive file lock |
fs.mkdir(dir) | Mutating | fs.* | Creates directory tree and journals created folders in LIFO order |
fs.move(src, dst) | Mutating | fs.* | Moves/renames file with rollback protection |
fs.readJson(file) | Read-Only | fs.* | Reads and parses UTF-8 JSON file |
fs.readText(file) | Read-Only | fs.* | Reads UTF-8 text file |
fs.remove(file) | Mutating | fs.* | Removes file (restored from .rswbak if install faults) |
fs.removeDir(dir) | Mutating | fs.* | Removes directory tree if present |
fs.setNtfsCompression(target, enabled?) | Mutating | fs.* | Toggles transparent NTFS LZNT1 compression via FSCTL_SET_COMPRESSION |
fs.sha256(file) | Read-Only | fs.* | Computes 64-char hex SHA-256 of file via bcrypt.dll |
fs.verifyAuthenticode(pePath) | Read-Only | fs.* | Verifies PE Authenticode signature chain via WinVerifyTrust |
fs.writeJson(file, value, pretty?) | Mutating | fs.* | Serializes structured JSON to disk with .rswbak rollback backup |
fs.writeText(file, content) | Mutating | fs.* | Writes UTF-8 text atomically with .rswbak rollback backup |
help.routeContextId(contextId, topicSlug) | Sandbox-Safe | help.* | Maps numeric Win32 WM_HELP Context ID to topic#anchor |
ini.deleteKey(file, section, key) | Mutating | ini.* | Deletes key from .ini section (rollback-journaled) |
ini.read(file, section, key, fallback?) | Read-Only | ini.* | Reads [section] key from .ini file |
ini.write(file, section, key, value) | Mutating | ini.* | Writes [section] key=value with .rswbak rollback protection |
install { ... } | Phase | Lifecycle | Rollback-journaled (.rsw-rollback.jnl) commit phase supporting Uac.Deferred |
int(value) | Function | Global Built-In | Converts string, float, or bool to 64-bit integer |
json.parse(jsonText) | Pure | json.* | Parses UTF-8 JSON string into maps/arrays/primitives |
json.stringify(value, pretty?) | Pure | json.* | Serializes any RaggieScript value to UTF-8 JSON |
launcher.selectChannel(ringSlug) | Sandbox-Safe | launcher.* | Selects stable, preview, or lts update channel ring |
len(x) | Function | Global Built-In | Returns length of string, array, or map |
localization.cps(cueText, durationSeconds) | Sandbox-Safe | localization.* | Calculates WebVTT caption reading speed (<= 22 CPS gate) |
localization.extractTokens / tokensMatch / findMnemonic / isRtl / expansionRatio | Studio Sandbox | localization.* | Locked format-token multiset checks, Win32 & accelerator parsing, RTL BCP-47 detection, & expansion ratios |
localization.hasToken(text, token) | Sandbox-Safe | localization.* | Verifies locked placeholder token survived translation |
log(message, level?) | Function | Global Built-In | Appends timestamped line to structured setup log |
map.keys / values / entries / has / merge / remove | Pure | map.* | Dictionary and struct field inspection, non-destructive merge, and key removal |
match (...) { => } | Keyword | Language | Pattern-matching expression and statement with '_' wildcard arm |
math.min / max / clamp / abs / round / floor / ceil / pow / sqrt / lerp / PI / E | Pure | math.* | Clamping, linear interpolation, rounding, powers, and mathematical constants across all targets |
msi.applyPatch(mspPath, productCode?, cmdLine?) | Mutating | msi.* | Applies binary-delta .msp Windows Installer patch |
msi.createDatabase(msiPath) | Mutating | msi.* | Creates new relational .msi database (MSIDBOPEN_CREATEDIRECT) |
msi.execSql(msiPath, sqlOrBatchArray) | Mutating | msi.* | Executes single or atomic batch MSI SQL DDL/DML statements |
msi.generateTransform(baselineMsi, customizedMsi, outMst) | Mutating | msi.* | Emits differential .mst Windows Installer Transform |
msi.getProperty(msiPath, propName, fallback?) | Read-Only | msi.* | Reads Property table row from .msi database |
msi.install(msiPath, properties?, silent?, logFile?) | Mutating | msi.* | Installs .msi with live MsiSetExternalUIRecord progress forwarding |
msi.isUpgradeInstalled(upgradeCodeGuid) | Read-Only | msi.* | Queries MsiEnumRelatedProductsW for UpgradeCode state |
msi.listTables(msiPath) | Read-Only | msi.* | Lists all SQL tables in .msi or .msm database |
msi.query(msiPath, selectSql) | Read-Only | msi.* | Executes MSI SQL SELECT and returns map[] rows |
msi.session.getProperty / setProperty / getFeatureState / setFeatureState / evaluateCondition / formatString / log / doAction | RsscMsiCa.dll | msi.session.* | Inside-the-MSI static /MT C++20 Immediate, Deferred, Rollback (.jnl), & Commit Custom Action API (msiexec /qn parity) |
msi.setProperty(msiPath, propName, value) | Mutating | msi.* | Parameterized upsert into MSI Property table |
msi.setSessionProperty / getSessionProperty / installEmbedded | RaggieScript MSI | msi.* | Wizard-safe MSI property handoff and embedded #201 Product.msi commit in Engine = raggiescript-msi |
msi.setSummary(msiPath, summaryMap) | Mutating | msi.* | Stamps OLE SummaryInformation stream (Arm64;1033 / x64;1033, schema 500) |
mutex.isHeld / mutex.waitRelease | Wizard-Safe | mutex.* | Probes Global\ and Local\ single-instance Win32 application mutexes |
net.download(httpsUrl, destFile, expectedSha256?) | Network | net.* | Streams HTTPS download over TLS 1.2/1.3 WinHTTP with SHA-256 gate |
net.getJson(httpsUrl) | Network | net.* | Fetches and parses remote HTTPS JSON manifest |
net.isPortFree / net.findFreePort | Wizard-Safe | net.* | Sub-millisecond Winsock2 local TCP port availability probes for wizard validation |
net.probe(httpsUrl) | Network | net.* | Lightweight 4-second HTTPS reachability check |
path(value) | Function | Global Built-In | Normalizes string into first-class path supporting '/' join |
payload.dir(payloadId) | Read-Only | payload.* | Resolves staging directory for named payload |
payload.path(payloadId) | Read-Only | payload.* | Resolves staging path for named payload |
prereq.installPreset(presetId, extraSilentArgs?) | Mutating | prereq.* | Acquires, Authenticode-verifies, and silently installs curated runtime preset |
prereq.isDotNetDesktopInstalled(majorVer?, minVer?) | Read-Only | prereq.* | Detects native x64/ARM64 .NET Desktop Runtime (8..11) |
prereq.isWebView2Installed() | Read-Only | prereq.* | Detects Microsoft Edge WebView2 Evergreen Runtime |
print(...values) | Function | Global Built-In | Prints formatted line to stdout |
proc.getLockingProcesses(filePaths) | Read-Only | proc.* | Queries Windows Restart Manager (RmGetList) for locking apps |
proc.isRunning(exeName) | Read-Only | proc.* | Checks if process exeName is currently active |
proc.restartManagerRestart() | Mutating | proc.* | Restarts closed apps via RmRestart |
proc.restartManagerShutdown(filePaths, force?) | Mutating | proc.* | Gracefully closes apps locking target files via RmShutdown |
proc.run(exe, args?, wait?, hidden?, token?, workDir?) | Host | proc.* | Launches process under Token.Current, Token.Elevated, or Token.Desktop |
raggiescript.exe check | CLI | CLI | <1ms RSW701/RSW702 & gradual static type verifier (--diagnostics=json) |
raggiescript.exe compile | CLI | CLI | Compiles .rssc into SHA-256 verified RSWBC2 linear stack bytecode |
raggiescript.exe disasm | CLI | CLI | Disassembles .rssc, .rswbc, or packed .exe (#225) opcodes |
raggiescript.exe fmt | CLI | CLI | Comment-preserving idempotent source formatter (--write / --check) |
raggiescript.exe init | CLI | CLI | Scaffolds starter .rssc project for installer, showcase, training, a11y, or app |
raggiescript.exe lsp | CLI | CLI | JSON-RPC 2.0 Language Server over stdio (completion, hover, definition) |
raggiescript.exe pack-exe | CLI | CLI | Packs standalone zero-dependency Windows .exe (#225 RSWBC2 + #220 RSWPAK1) |
raggiescript.exe run | CLI | CLI | Executes .rssc or .rswbc with KEY=VAL and KEY:VAL property locks |
raggiescript.exe test | CLI | CLI | Executes top-level test "<Name>" { ... } blocks across files/folders (--json supported) |
raggiescript.exe transpile-es2022 | CLI | CLI | Compiles sandboxed 'use training;' script to zero-eval() ES2022 module |
range(start, end?, step?) | Function | Global Built-In | Generates integer sequence array |
reg.appendMultiString(hive, key, valueName, item, view?) | Mutating | reg.* | Appends unique entry to REG_MULTI_SZ value |
reg.deleteKeyTree(hive, key, view?) | Mutating | reg.* | Recursively deletes Registry key tree |
reg.deleteValue(hive, key, valueName, view?) | Mutating | reg.* | Deletes Registry value (prior value restored on rollback) |
reg.exists(hive, key, valueName?, view?) | Read-Only | reg.* | Stateless 64/32-bit Registry key or value existence check |
reg.listSubkeys(hive, key, view?) | Read-Only | reg.* | Enumerates child subkey names (RegView.Both merges 64 & 32-bit!) |
reg.listValues(hive, key, view?) | Read-Only | reg.* | Enumerates Registry value names under key |
reg.read(hive, key, valueName, fallback?, view?) | Read-Only | reg.* | Reads Registry value or null when absent (ideal with '??') |
reg.readDword(hive, key, valueName, fallback?, view?) | Read-Only | reg.* | Reads REG_DWORD / REG_QWORD integer statelessly |
reg.readString(hive, key, valueName, fallback?, view?) | Read-Only | reg.* | Reads REG_SZ / REG_EXPAND_SZ string statelessly |
reg.write(hive, key, valueName, value, view?) | Mutating | reg.* | Writes string or integer Registry value (100% rollback-journaled) |
reg.writeDword(hive, key, valueName, value, view?) | Mutating | reg.* | Writes 32-bit REG_DWORD value (rollback-journaled) |
reg.writeExpandString(hive, key, valueName, value, view?) | Mutating | reg.* | Writes REG_EXPAND_SZ value (rollback-journaled) |
reg.writeString(hive, key, valueName, value, view?) | Mutating | reg.* | Writes REG_SZ string value (rollback-journaled) |
regex.isMatch(input, pattern, ignoreCase?) | Pure | regex.* | Tests ECMAScript regular expression match |
regex.match(input, pattern, ignoreCase?) | Pure | regex.* | Returns capture groups of first regex match |
regex.replace(input, pattern, replacement, ignoreCase?) | Pure | regex.* | Replaces regex matches |
RsscEs2022Transpiler.TryTranspile | .NET Method | .NET SDK | Pure-C# in-process transpiler emitting CSP-safe static ES2022 modules for SCORM 1.2/2004 & Story Crossroads |
RsscExecutionOptions (MaxSteps / Timeout / CancellationToken) | .NET Safety | .NET SDK | Bounds execution steps (RsscExecutionLimitException), wall-clock timeouts, and cancellation |
RsscHostEnvironment (.NET) | .NET Class | .NET SDK | Shared compile-time & runtime registry for C# delegates, [RsscHostObject] services, and globals |
RsscHostEnvironment.ExposeObject | .NET Method | .NET SDK | Exposes live C# POCO or record as a read-only or mutable two-way global in RaggieScript |
RsscHostEnvironment.RegisterFunction | .NET Method | .NET SDK | Exposes sync or async Task<T> C# delegate under a namespace with RSW701/RSW702/RSW712 checks |
RsscHostEnvironment.RegisterService | .NET Method | .NET SDK | Binds [RsscHostObject] C# service methods (camelCase & PascalCase) with zero GetType() escape |
RsscManagedRuntime.BindDelegate<TDelegate> | .NET Method | .NET SDK | Compiles RaggieScript fn or '=>' closure into native strongly-typed C# Func<...> / Action<...> |
RsscManagedRuntime.Invoke<T> | .NET Method | .NET SDK | Invokes RaggieScript fn and hydrates returned struct/map into C# record, POCO, enum, or Version |
RsscManagedRuntime.InvokeAsync<T> | .NET Async | .NET SDK | Awaits RaggieScript functions calling async Task<T> C# delegates with CancellationToken support |
RSW700 (Syntax / Preprocessor Error) | Diagnostic | Diagnostics | Malformed token, unterminated string, or cyclic include |
RSW701 (Wizard Phase Isolation) | Diagnostic | Diagnostics | Blocks direct or transitive system mutations inside wizard { ... } |
RSW702 (Capability Sandbox Violation) | Diagnostic | Diagnostics | Blocks host OS/FS/Registry/Network access inside sandboxed Studio profiles |
RSW704 (Bytecode SHA-256 Tamper Gate) | Diagnostic | Diagnostics | Rejects corrupted or modified RSWBC2 bytecode streams |
RSW710 (Undeclared Identifier) | Diagnostic | Diagnostics | Unknown variable or function with fuzzy 'Did you mean' suggestion |
RSW711 (Static Type Mismatch) | Diagnostic | Diagnostics | Incompatible variable, field, match pattern, or return type |
RSW712 (Arity / Unknown Method) | Diagnostic | Diagnostics | Unknown namespace method or wrong call argument count/type |
RSW713 (Immutability / CLI Lock Violation) | Diagnostic | Diagnostics | Blocks mutating const bindings or CLI hard-locked KEY:VAL properties |
RSW714 (Unknown Struct Field / Enum Variant) | Diagnostic | Diagnostics | Catches misspelled struct field or enum variant at compile time |
RSW715 (Missing Return / Loop Control) | Diagnostic | Diagnostics | Typed non-void function missing return path, or break outside loop |
shell.registerFileType(ext, progId, description, target, ...) | Mutating | shell.* | Registers .ext + ProgID cleanly under Software\Classes |
shell.registerProtocol(scheme, description, targetExe) | Mutating | shell.* | Registers custom scheme:// URL protocol handler |
shortcut.create(location, name, target, ...) | Mutating | shortcut.* | Creates COM IShellLinkW .lnk shortcut (rollback-tracked) |
showcase.navigate(pageId) | Showcase | showcase.* | Switches active Showcase Studio canvas page |
showcase.setHotspotVisible / setHotspotLabel / setHotspotTooltip / focusHotspot / openBooklet / openGallery / announceSr | Showcase UI | showcase.* | Complete 12-method accessible canvas hotspot, booklet, gallery, and UIA screen-reader control suite |
sign.inspect / cert.isInstalled / cert.importTrustedPublisher / cert.remove | Packaging | sign.* & cert.* | X.509 & PKCS#7 Authenticode subject/issuer/thumbprint inspection and TrustedPublisher management |
sleep(ms) | Function | Global Built-In | Pauses execution for ms milliseconds |
sql.drivers / querySqlite / execSqlite / execSqliteFile / execOdbc / execOdbcFile | Zero-DLL SQL | sql.* | Transactional SQLite (System32\winsqlite3.dll) and ODBC (System32\odbc32.dll) database migration runner with RSW701 wizard lock |
storescript.findPatternHex / crc32Range / readAscii / writeAscii / getJson / setJson | StoreScript | storescript.* | Wildcard '??' hex signature scanner, IEEE CRC-32 save-checksum calculator, and dot-path JSON config editor |
storescript.profile / backupSave / restoreBackup / size | StoreScript | storescript.* | RSW702-sandboxed StoreTrainer save-file profile header and instant undo snapshot management |
storescript.readU8 / writeU8 / readI16LE / writeI16LE / readI32LE / writeI32LE / readU32LE / writeU32LE / readF32LE / writeF32LE | StoreScript | storescript.* | Bounds-checked and min/max-clamped little-endian binary save-file readers and writers |
str(value) | Function | Global Built-In | Converts any value to UTF-8 string |
str.contains(haystack, needle, ignoreCase?) | Pure | str.* | Substring membership check |
str.endsWith(text, suffix, ignoreCase?) | Pure | str.* | Suffix check |
str.join(items, separator?) | Pure | str.* | Joins array elements with separator |
str.lower(text) | Pure | str.* | Returns lowercase UTF-8 string |
str.replace(text, oldSub, newSub, ignoreCase?) | Pure | str.* | Replaces occurrences of oldSub with newSub |
str.slice(text, start, end?) | Pure | str.* | Extracts substring [start, end) |
str.split(text, delimiter?) | Pure | str.* | Splits text into string[] array |
str.startsWith(text, prefix, ignoreCase?) | Pure | str.* | Prefix check |
str.trim(text) | Pure | str.* | Strips leading and trailing whitespace |
str.upper(text) | Pure | str.* | Returns uppercase UTF-8 string |
struct | Keyword | Language | Typed record declaration with default fields and RSW714 field validation |
svc.install(serviceName, binPath, displayName?, startType?) | Mutating | svc.* | Creates/updates Win32 Service (rolled back on install fault) |
sys.arch() | Read-Only | sys.* | True physical host silicon ('arm64' or 'x64') via IsWow64Process2 |
sys.canPromptUac() | Read-Only | sys.* | True when interactive UAC elevation prompt can be shown |
sys.cliArg(key, fallback?) | Read-Only | sys.* | Reads CLI KEY=VAL property or fallback |
sys.compiledArch() | Read-Only | sys.* | Compiled binary PE architecture ('arm64' or 'x64') |
sys.cpuCores() | Read-Only | sys.* | Logical CPU core count |
sys.dpi() | Read-Only | sys.* | Primary display DPI (96 = 100%, 144 = 150%) |
sys.folder(knownName) | Read-Only | sys.* | Resolves known Windows folder path by name |
sys.freeDiskBytes(targetPath?) | Read-Only | sys.* | Free bytes available on volume backing targetPath |
sys.freeDiskMB(targetPath?) | Read-Only | sys.* | Free megabytes available on volume backing targetPath |
sys.getResumeState(id?) | Read-Only | sys.* | Reads persisted post-reboot resume JSON map |
sys.hasSwitch(flag) | Read-Only | sys.* | Checks whether CLI switch flag was passed |
sys.isAdmin() | Read-Only | sys.* | True when running with effective Administrator token |
sys.isArm64() | Read-Only | sys.* | True on native Windows on ARM64 hardware |
sys.isDarkMode() | Read-Only | sys.* | True when Windows AppsUseLightTheme == 0 |
sys.isEmulatedUnderPrism() | Read-Only | sys.* | True if x64/x86 process is running under ARM64 Prism translation |
sys.isHighContrast() | Read-Only | sys.* | True when SPI_GETHIGHCONTRAST Contrast Theme is active |
sys.isMaintenance() | Read-Only | sys.* | True in --repair or --uninstall maintenance mode |
sys.isPassive() | Read-Only | sys.* | True when invoked with /passive or /qb |
sys.isServer() | Read-Only | sys.* | True on Windows Server SKUs |
sys.isSilent() | Read-Only | sys.* | True when invoked with /s, /qn, or --silent |
sys.isWindows11() | Read-Only | sys.* | True when kernel build >= 22000 |
sys.isX64() | Read-Only | sys.* | True on native x64 (AMD64) hardware |
sys.localAppData | Property | sys.* | Current user %LOCALAPPDATA% path |
sys.locale() | Read-Only | sys.* | BCP-47 user locale tag (e.g. 'en-US') |
sys.newGuid() | Read-Only | sys.* | Generates fresh uppercase {GUID} via BCryptGenRandom |
sys.osBuild() | Read-Only | sys.* | Un-shimmed Windows kernel build via ntdll!RtlGetVersion (22000+ = Win11) |
sys.osVersion() | Read-Only | sys.* | Un-shimmed 4-part SemVer OS version |
sys.programFiles | Property | sys.* | Native 64-bit C:\Program Files path |
sys.ramMB() | Read-Only | sys.* | Installed physical RAM in megabytes |
sys.rebootAndResume(stateMap?, id?) | Mutating | sys.* | Persists state JSON, registers RunOnce continuation, and latches 3010 reboot |
sys.supportDir | Property | sys.* | Extracted _support\ helper staging directory path |
sys.uacEnabled() | Read-Only | sys.* | True when Windows EnableLUA UAC policy is enabled |
sys.uuid5(name, nsGuid?) | Read-Only | sys.* | Generates deterministic RFC 4122 SHA-1 UUIDv5 {GUID} |
targetArch() | Function | Global Built-In | Returns target build or native host architecture ('arm64' or 'x64') |
task.createWeekly(taskName, exePath, args?, day?, time?) | Mutating | task.* | Creates opt-in weekly Windows Scheduled Task |
test "<Name>" { ... } | Keyword | Language | First-class unit test block run by 'raggiescript.exe test' and RsscManagedRuntime.RunTests() |
time.formatScormDuration / formatUtc / parseIso | Pure | time.* | Formats elapsed seconds into SCORM 2004 ISO-8601 durations ('PT14M22S') and parses ISO dates |
time.nowUtc / nowLocal / unixSeconds / unixMillis / stopwatchMs | Pure | time.* | ISO-8601 UTC/local timestamps, Unix epoch clocks, and monotonic QPC stopwatch |
Token.Desktop | Enum | Built-In Enum | Launches finish-screen apps de-elevated under the user's Explorer token |
training.branchTo(targetSlideId) | Sandbox-Safe | training.* | Routes learner to adaptive SCORM scenario or remediation slide |
training.getState / setState / recordInteraction / announcePolite / unlockNextSlide | Studio Sandbox | training.* | SCORM suspend_data persistence, cmi.interactions item logging, and aria-live learner feedback |
training.setScore(scorePct, maxScore?) | Sandbox-Safe | training.* | Records SCORM 1.2 / 2004 normalized quiz score (ES2022 & Native) |
typeof(x) | Function | Global Built-In | Returns runtime type name string |
Uac.Deferred | Enum | Built-In Enum | Runs wizard asInvoker and elevates --elevated-rssc-worker only on Install |
ui.checkbox(text, bind: ref boolVar, subtitle?, when?) | Wizard UI | ui.* | Two-way checkbox triggering reactive sibling when: closures |
ui.comboBox(label, bind: ref var, items) | Wizard UI | ui.* | Dark/Light themed dropdown bound to string or enum param |
ui.featureTree(heading?) | Wizard UI | ui.* | Interactive feature checklist bound to top-level feature blocks |
ui.folderPicker(label, bind: ref pathVar, minFreeMB?) | Wizard UI | ui.* | In-window destination EDIT + Browse... + live free-disk MB check |
ui.license(text, acceptText, bind: ref boolVar) | Wizard UI | ui.* | Scrollable EULA viewer + acceptance checkbox gating Next > |
ui.progress(percent, statusText?, detailText?) | UI | ui.* | Updates live progress bar and Windows 11 Taskbar ITaskbarList3 state |
ui.radioCards(label, bind: ref strVar, options) | Wizard UI | ui.* | Accessible Express vs Custom radio option cards |
ui.readySummary(heading?, showUacShield?) | Wizard UI | ui.* | Summary card + optional UAC shield on &Install button |
ui.taskDialog(...) | Modal UI | ui.* | Full Windows 11 Command-Link TaskDialogIndirect with ref out-bindings |
ui.textBox(label, bind: ref strVar, when?, validate?) | Wizard UI | ui.* | In-window two-way EDIT with reactive when: and inline validate: closure |
ui.welcome(title, subtitle?, body?) | Wizard UI | ui.* | In-window Welcome hero heading and intro inside Wizard Step |
Validation.error(message) | Wizard UI | Validation.* | Blocks Next > and displays inline accessible field error banner |
Validation.ok() | Wizard UI | Validation.* | Returns passing field validation result { ok: true } |
ver(value) | Function | Global Built-In | Parses 4-part SemVer version value |
wizard { step ... when (...) } | Phase | Lifecycle | Side-effect-free (RSW701) interactive wizard phase with step history stack |
wizard.cancel() | Wizard UI | wizard.* | Cancels setup cleanly with exit code 1602 |
xml.readAttr(file, tag, attr, fallback?) | Read-Only | xml.* | Reads XML element attribute value |
xml.readText(file, tag, fallback?) | Read-Only | xml.* | Reads inner text of XML element |
xml.replaceAttr(file, tag, attr, newValue) | Mutating | xml.* | Updates XML element attribute with .rswbak rollback backup |
xml.setElementText(file, tag, innerText) | Mutating | xml.* | Updates XML element inner text with .rswbak rollback backup |