by Tariqul Islam
This project appears to have gone dormant. It will be removed from the list soon unless new activity is noted.
Superset of AutoIt which makes it more advanced.

What is TeenyScript?

TeenyScript is a Superset of AutoIt which makes it more advanced

How does it work?

TeenyScript code are parsed into native AutoiT code

Does it depend on anything else than AutoIt?

Just one dependency, that is AutoitObject, besides that, only Native AutoIt is used

Features

  • "Anonymous" functions
  • Endless scope nesting
  • OOP (powered by AutoitObject)
  • User-friendly integration
  • Powerful macros
  • Namespaces
  • Lists
  • Project support, for easy deployment
  • Userfriendly GUI for userfriendly Tasks for the Userfriendly person
;Basic List usage
$Example_A = Func()

    ; Create a list 
    Local $myList = {
        'Name': 'Tarre'
    }

    ; Add \ Change data on $MyList
    $myList{'Age'} = 25

    ; Create MySecondList
    Local $MySecondList = {
        "Name" => "John",
        "Age" => "00"
    }
    ; Using variable instead of a string
    Local $KeyName = "Age"
    Local $KeyVal = 1337
    $MySecondList{$KeyName} = $KeyVal

    ; You may also pass lists to lists. however this has to be done in this fashion.
    Local $oList = {'myList': $myList, 'mySecondList' => $MySecondList}

    ; Return the objects
    Return $oList

EndFunc();call the function on the variable

; Loop through list and print their values
$Example_B = Func()
    Local $MyList = {'A': 'Hello FROM A', 'B': 'Hello FROM B', 'C': 'Hello FROM C'}
    Local $aNames = ['A', 'B', 'C']

    For $i = 0 To UBound($aNames) -1
        MsgBox(0,0,$myList{$aNames[$i]})
    Next

EndFunc


#MAIN

MsgBox(0,"Example A 1", $Example_A.myList.Name)
MsgBox(0,"Example A 2", $Example_A.myList.Age)

MsgBox(0,"Example A 3", $Example_A.mySecondList.Name)
MsgBox(0,"Example A 4", $Example_A.mySecondList.Age)

$Example_B(); Execute examble B
Information updated 11/11/17
View Comments