Typeitin V3.6 beta 5 available

Questions, comments, and suggestions related to Typeitin.
Post Reply
Wavget
Site Admin
Posts: 67
Joined: Wed Jan 16, 2019 4:32 pm

Typeitin V3.6 beta 5 available

Post by Wavget » Wed Aug 18, 2021 3:37 pm

This is what is new in Typeitin Version 3.6 beta:

Beta1
* Sub group function now supports variables.
* Variable replace function is no longer limited to 1,000 characters.
* Grouplist dropdown button width is now 25% of button width.
* Improved error reporting, now creates typeitin-error.txt file on desktop.
Beta2
* Added {Code} function to allow for better code formatting.
* Added {Type} function to allow for typing while in code block.
* Fixed issue with Application Only function locking up edit window.
* Fixed issue with export group menu enabled in Professional version.
* Fixed issue with typing the first letter of a group while group list was dropped down.
* Fixed issue with Control-A (select all) not working in edit window.
Beta3
* Fixed issue with If-Then-Else in multi-line edit mode.
* Fixed issue with List multi-select not applied to last selection.
* Added Columns option to List and List from File functions.
Beta4
* Added Group Settings to Group Menu for easier access to Setup Groups Tab.
* Added Settings to titlebar menu for easy access to Setup Settings Tab.
* Added SPLIT and SPLITCSV functions to handle CSV and other delimited strings.
Beta 5
* Added {Var{Var2}} function to get contents of variable based on number stored in different variable.
* Added additional error checking to shortcut phrase and window watch input.
* Fixed issue with fade out with click-through enabled not restoring window correctly.
* Fixed several minor user interface issues.

Questions, comments, and suggestions for new features are always welcome!

Regards,
Paul.

TxGuy
Posts: 1
Joined: Tue Sep 21, 2021 6:44 am

Re: Typeitin V3.6 beta 1 available

Post by TxGuy » Tue Sep 21, 2021 7:14 am

Please look at adding:

{Begin Code}
{End Code}

Functions/commands for programing scripts.
The problem I run into, is I like to "code document" and proper spacing etc.. Typeitin wants to interpret all the in between spaces and formatting within the coding part, instead of just ignoring it, till you want it to start to perform output. And you can't tell it when to begin or end.. You could also include "writeln or print" within the coding to be explicit if you want output within the coding portion.. ie {writeln ("Hello {Var1}")} or similar.

So your scripting code might be:

{Begin Code}

{*** Variables Start Initialization ***}

{Var1=Hello}
{Var2=World}

{*** End variable initialization ***}

{If (Var1=World) [Goto Print]}

{End Code}{Label Print}
{*** Start Printing Output ***}
This program say's {Var1} {Var2}!


Any spaces, tabs or returns would be ignored within the "code" for output, till it hits {End Code} function, and then would start output from there... like normal.

I hope that you will add this feature into the script, I'm old school, programing started in Qbasic... TR80... I like to have clean documented code... So I can easily follow it and modify it.

Thank you,

TxGuy

Wavget
Site Admin
Posts: 67
Joined: Wed Jan 16, 2019 4:32 pm

Re: Typeitin V3.6 beta 1 available

Post by Wavget » Tue Sep 21, 2021 5:18 pm

Thank you for the suggestion. I think it would improve the readability when creating complex buttons.

I also think that adding a type function that can be used inside the code block might be a good idea.

{Begin Code}

{Var1=Hello}
{Var2=World}

{Type This program say's {Var1} {Var2}!}

{End Code}

Wavget
Site Admin
Posts: 67
Joined: Wed Jan 16, 2019 4:32 pm

Re: Typeitin V3.6 beta 4 available

Post by Wavget » Mon Oct 11, 2021 10:58 am

Added the SPLIT and SPLITCSV that can be used to split a string separated by a delimited into separate strings.

Usage: {Split input_string, separator_character, var_num_columns, var_column_one}

Input_string: String to be split.
Separator_character: Delimiter character.
Var_num_columns: Variable number to store number of split columns.
Var_column_one: Starting variable number of split columns.

Example:
{Var1=a.b.c.d.e} Set variable #1 to input string, or read line from file
{SPLIT {Var1},.,2,10} Split variable #1, use period as delimiter, number of columns in variable #2, put split string starting in variable #10.
Number of columns: {Var2}{Enter} Type number of columns
Column 3: {Var12}{Enter} Type content of column number 3 (c)

Usage: {SplitCSV input_string, var_num_columns, var_column_one}

Input_string: String to be split, must be comma separated.
Var_num_columns: Variable number to store number of split columns.
Var_column_one: Starting variable number of split columns.

Example:
{Var1=1,2,3,4,5,6} Set variable #1 to input string, or read line from file
{SPLIT {Var1},2,10} Split variable #1, number of columns in variable #2, put split string starting in variable #10.
Number of columns: {Var2}{Enter} Type number of columns
Column 3: {Var12}{Enter} Type content of column number 3 (3)

Post Reply