Wow Renč,
I think you find the way I could implement thinAir scripting. I was searching for a way to use thinBasic language as a programming language for thinAir and you gave me the idea. Fantastic.
thinAir has already not documented way to execute scripting able to partially interact with thinAir.
For example if you open the following example and execute it using right click on its tab and then choose "Execute script inside thinAir" (see attached image) this will load the script not as a separated process but inside thinAir itself using thinCore.dll as an internal programming language (to give the idea ... similar to VBA for MS Office application). Doing that it it possible for thinAir to pass to the script some thinAir inside objects to which it is possible to interact.
I can use an XML format similar to thinAir script templates so we can add additional info to the script.
Great, thanks.
Next version will have it!
'---ThinAir scripting test
Uses "Console"
String sSep = String$(79, "-")
Long nMDI
Long lCounter
PrintL sSep
PrintL "App_Path :", APP_Path
PrintL "App_Path :", APP_Name
PrintL "App_SourcePath:", APP_SourcePath
PrintL "App_ScriptPath:", APP_ScriptPath
PrintL "App_ScriptName:", APP_ScriptName
PrintL sSep
nMDI = thinAir_MDI_Count
PrintL "Number of MDI:", nMDI
For lCounter = 1 To nMDI
PrintL "MDI", lCounter, ", file name:", thinAir_MDI_GetFullFileName(lCounter)
Next
PrintL sSep
PrintL "---press a key to close---"
WaitKey
Bookmarks