Variable questions

Questions, comments, and suggestions related to Typeitin.
Post Reply
kevinchart
Posts: 6
Joined: Fri Jun 07, 2019 1:43 pm

Variable questions

Post by kevinchart » Thu Jul 18, 2019 4:57 pm

Hello all,
I have a few questions about variables in TypeItIn. (Network version 3.1 is what I am running, but others in our company have Pro.)
  1. Naming variables: If a variable is named by using something like {Var2 Name NumOrders}, can that name later be removed? If so, how? Is a list of the names kept somewhere? Do those names survive a restart of TypeItIn and/or a reboot of the computer?
  2. Defined variables: The help file says, "User defined variables are only available in the Enterprise version of Typeitin." However, I see things in the help file like {Var1 Load JobNum} and {Var1 Save JobNum} that don't seem to indicate they are limited to the Enterprise version. Are these predefined variables or can anything be used? If predefined, is there a list of them somewhere? If anything can be used, is a list kept somewhere? How many can be defined? Do they survive a program restart and/or computer reboot?
  3. Var commands: There also seem to be a number of commands that work with the Var command; SetClip, GetClip, Window, Application, Pixel, GetPixel, Color, GetDrive, etc. Is there a list of all of them somewhere besides the help file, spread out across the "Variables" and "Special functions" pages?
Thanks,
Kevin

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

Re: Variable questions

Post by Wavget » Mon Jul 29, 2019 11:36 am

Hi Kevin,

1. A variable name is only valid while the button is active after you click it. It is not stored anywhere.

2. Variables saved with the Var Save command are stored in the typeitin.ini file located in the Button data directory. There is no real limit to how many you can save. Since they are store don the hard-drive they survive a program restart and computer reboot.

The user defined variables are different and useful if you have a group of people all using the same groups of buttons. For example, an administrator can create a button that looks like this:

Hello, my name is {Var Name} and my email address is {Var Email}.

The output of the button changes based on the user. This allows a single user to create standard personalized responses to common inquiries.

3. The Help file has some explanations for the variable commands. Please let me know if you have any specific questions.

Regards,
Paul.

kevinchart
Posts: 6
Joined: Fri Jun 07, 2019 1:43 pm

Re: Variable questions

Post by kevinchart » Wed Jul 31, 2019 4:27 pm

Thanks, Paul. I believe that I understand now.
Kevin

Post Reply