Next update will have up to 20 user tool menu items.
Also it will load configuration from user file \thinBasic\thinAir\Tools\thinAir_Tools_Usr.ini that is actually just ignored
Capture.PNG
Hi,
thinAir seems limited to list only the five first tools specified in thinAir_Tools.ini.
Five slots, three of them are already used by thinClippy, thinDownload and ressource editor.
I have thinternational, gitPrepare and thinRad(nya). Please, could it be possible to have like 2 more slots ?
ThinBasic 1.11.6.0 ALPHA - Windows 8.1 x64
Next update will have up to 20 user tool menu items.
Also it will load configuration from user file \thinBasic\thinAir\Tools\thinAir_Tools_Usr.ini that is actually just ignored
Capture.PNG
www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000
That would be superb, thanks a lot!
Petr
Learn 3D graphics with ThinBASIC, learn TBGL!
Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB
thanks a lot!
ThinBasic 1.11.6.0 ALPHA - Windows 8.1 x64
For that: small suggest to enable user-configurability to bit more order:
How 'bout open XML-Style ?
its a start to have thinAir localized to any language - this is what users can do on their own - and attach translations here in the
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152<?xml version=
"1.0"
encoding=
"whatever needed"
?>
<!--
this
is a non-configurable dummy which is only
to
display names etc.
this
is meant
to
be only a copy of the built-
In
thinAir_menu.xml
to
find
in
App_Path
&
"thinAir\local\" and probably named alike "
thinAir_Menu.English.XML" -->
<thinAir
local
=
"english"
/>
<!-- supposed
to
work
as
the
"default.theme.xml"
but
this
one will
not
be used by thinAir
the default-settings of thinAir
with
english captions should be hidden deep
inside
and
not
accessible
for
the user. All we have
to
do
if
we like
to
return
to
shipping-defaults is
to
remove/rename our self-created thinAir_Menu.USER.xml
file
which anyone can create from
this
template
in
his native language. I am
not
sure
if
that requires ANSI
or
is it possible
using
UTF-8? You know
for
sure...-->
<thinAir menubar>
<
popup
>
<item
name
=
"popup_file"
text
=
"&File"
/>
<
string
>
<item
name
=
"file_new"
text
=
"&New..."
accel=
"vk_N"
ctrl=
"true"
/>
</
string
>
<
popup
>
<item
name
=
"file_New_User"
/>
<!--
not
visible because no
text
. the user can
write
inside
"thinAir_Menu.User.XML"
something that gives it a
text
to
open his personalized submenu
at
this
position -->
</
popup
>
<separator/>
<
string
>
<item
name
=
"file_Open"
text
=
"&Open..."
accel=
"vk_O"
ctrl=
"true"
/>
</
string
>
<
popup
>
<item
name
=
"file_Openrecentfile"
text
=
"Open &recent files..."
/>
<strings>
<slots used=
"22"
number
=
"0"
max=30 />
<
repeat
incr
=
"%slots number%"
until
=
"%slots used%"
<item
name
=
"file_SlotRecentfile{1}"
text
=
"{1} {2}"
2=
"$recentfile({1})$"
1=
"%slots number%"
/>
</
repeat
>
</strings>
</
popup
>
<
popup
>
<item
name
=
"file_openrecentPath"
text
=
"Open from recent paths..."
/>
<strings>
<slots used=
"12"
number
=
"0"
max=
"20"
/>
<
repeat
incr
=
"%slots number%"
until
=
"%slots used%"
<item
name
=
"file_SlotRecentPath{1}"
text
=
"{1} {2}"
2=
"$recentpath({1})$"
1=
"%slots number%"
/>
</
repeat
>
</strings>
</
popup
>
<
popup
>
<item
name
=
"file_OpenUser"
/>
<!-- another currently invisible
popup
to
node something user-defined
right
before the separator, just requires a
text
-->
</
popup
>
<separator/>
<!-- i will
not
complete it here. It serves
for
the idea, just
repeat
that pattern. ----------------------< -->
thinAir-forum-section somewhere. I am nosy how many different languages it will count...
But there is - oh how could you know - more to it.
menu-Icons for tools-files should be obtained directly from the files or the associated editor if "tools"-files are documents- sometimes we have a helpfile, html or pdf containing the information we currently need.
Mentioning documents- especially htm/html/mhtml/chm should be easy to display in thinAir and even for pdf/fdf there are dlls to
use it in browser - all it requires were to use the webbrowser-control instead of scintilla in a modified mdi-child of thinair- while
such mdi-child is displayed the file-listview could add the file-pattern - to "*.tBasic*" & "*.inc" it could also show html-help or pdf-pages while the codebrowser/explorer could enable tabpage3 and display navigation of the help.
Even F1 on hovering above Keyword and codetips could display full help in that area if the user likes to.
But actually i am looking to find information about scripting thinAir - am searching how to display and highlight a certain token, how to make thinAir to save or reload a file or if it has to be the hard way to send bulk keys to select a keyword?
If it could reply for example what is the control-handle within the mdi-child that currently displays a certain script, give a list of all the opened scriptfiles and to open and display a certain row & column without to force an error by saving a copy of the script to show with the name of the currently running and from within thinair started script where i fake the error-log just to display something in another instance - its not satisfying- especially when i try to rename some object that is referenced 100 times or more often. The way the previous thinAir did it ("Run script inside thinAir") was neither the solution that could convince me.
i imagine that thinAir provides a few functions like if running a script as this:
Requesting function results without any variables like using "?" at times when we were proud to own a computer thats memory
123456789101112131415161718192021222324252627Uses
"thinAir"
Dim
tA
as
New
thinAir(getCurrentInstance[,
Using
{Direct|
File
=
"c:\test\filename.txt"
|Clipboard|Heap}])
' make sure it will not open a new one
' Direct: revive the "direct-tabpage" to display a textbox as StdIn/StdOut
' for "1-line-scripts" that will be fired when Enter-key is pressed
' File : returned results appended as new Line to the given file
' Heap: returned results will be stored at Heap and it will only return a pointer.
? tA.ListFiles
' in Direct-mode print names of currently loaded files directly to the built-in console-alike-textbox
' in file-mode each item gets saved on a seperate line
' clipboard would contain a string delimited by newLine chars
' pointed heap(HHHH) contains a list of pointers (equal to an array of dword) as
' Heap_Get(HHHH) returns "PTR1PTR2PTR3PTR4PTR5etc."
' Heap_Get(PTR1) returns 1st open filename, Heap_Get(PTR2) the second in the list ...
'
? tA.
Show
(sFilename, Row, Col)
to
make the current instance of thinAir display the
file
at
the specified position
? tA.Backup(sFilename)
to
save sFilename &
"_backup_"
&
Replace
$(Now,
Any
":'"
,
"."
) & sFileExt '
? tA.SelectAt(sFilename, StartRow, StartCol, {SelLength| EndRow, EndCol})
? tA.SelectToken(sFilename, Row, Col, sToken[,
collate
Ucase
])
? tA.Reload(sFileName[, createBackupBeforeReload])
? tA.ReplaceAt, replaceToken, InsertAt, InsertBeforeToken, InsertAfterToken
? ta.MoveSelection(newRow, newCol)
tA.AddTabPage(
' so it allows to use any thinBasic-functions until i type:
STOP
just was 64kB and colon was a command seperator while semicolon meant to continue output still on the same line...
I think there are missing some Forum-sections as beta-testing and support
Bookmarks