Loading ...
Sorry, an error occurred while loading the content.

24540RE: [Clip] Transfer variables between Notetab and Take Command

Expand Messages
  • John Shotsky
    Aug 22 7:55 AM

      I don't think you can do this 'directly' as in accessing the variables directly from the computer's environment variables.

      If you can set your variable(s) of interest to a text file, and save the text file in a known location, you can set the NTP variable to the 'gettext' of that file. If there are standard variables that will be reused from session to session, you can save your variables in the NoteTab.ini file. I save the locations of all the programs that NoteTab works with in the .ini file, and upon startup, it just verifies that the program .exe's are actually there. So you could store your variables the same way. You might store standard variables in your tcmd.exe folder, for example, and store that folder path in a variable, so that you could use "^%tcmdpath%variable1.txt" to access those text files.

      RecipeTools Web Site: http://recipetools.gotdns.com/recipetools/
      John's Mags Yahoo Group:  http://groups.yahoo.com/group/johnsmags/


      From: ntb-clips@yahoogroups.com [mailto:ntb-clips@yahoogroups.com]
      Sent: Friday, August 22, 2014 05:21
      To: ntb-clips@yahoogroups.com
      Subject: [Clip] Transfer variables between Notetab and Take Command



      Friends,Take Command is a very good program, to control a computer. NTP is a very good program, to work with texts.

      For 10 years, I used both, transferring variables from NTP to TC, but always using a bat file. Like that:

      ^!Shell e:\tcmdu\tcmd.exe e:\tcmdu\variable.bat ^%myntpvariable1% ^%myntpvariavle2%

      and in this bat, I use %1 and %2 to these two variables.

      My question is:

      How to transfer a TC variable (like @name)  to a NTP variable (like ^%variable%), let say directly? And vice versa.

      This is possible?

    • Show all 4 messages in this topic