Skip to content

doctolib/autoit-advanced-descriptor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoIT advanced descriptor

This module exposes a single function which produces AutoIT advanced descriptors as described by the AutoIT documentation. The descriptor function has a single object parameter whose optional keys are used as the contents of the descriptor. For example,

import { descriptor } from 'autoit-advanced-descriptor'

descriptor({
  className: 'Notepad',
  instance: 2
}) === '[CLASS:Notepad; INSTANCE:2]'

The following keys are supported:

keytypeAutoIT key
titleStringTITLE
classNameStringCLASS
regexpTitleStringREGEXPTITLE
regexpClassNameStringREGEXPCLASS
instanceIntegerINSTANCE
activeBooleanACTIVE
lastBooleanLAST
xIntegerX
yIntegerY
wIntegerW
hIntegerH

Packages

No packages published

Languages

  • OCaml 100.0%