Portable Tasha, multiple user profiles within one Tasha

Z Solvertech
Verze z 17. 8. 2022, 09:04, kterou vytvořil Jana.safferova (diskuse | příspěvky) (založena nová stránka s textem „# Install Tasha as usual # Run Tasha with the parameter --SettingsFile "uzivatel1.config" (so something like tasha.exe --SettingsFile "uzivatel1.config" - you can replace "uzivatel1.config" with any other name except Tasha.config, don't use diacritics) # Enter login credentials and possibly other information (database access, HERE Api, path to layouts, plugins, etc....) # Close Tasha # Repeat steps 2 - 4 until you have created all required profiles #…“)
(rozdíl) ← Starší verze | zobrazit aktuální verzi (rozdíl) | Novější verze → (rozdíl)
Skočit na navigaci Skočit na vyhledávání
Jiné jazyky:

If you need to create a portable Tasha or assign multiple user profiles to a single Tasha installation, do the following:

Portable Tasha (1 user profile - optimal for demos for traders etc.)

  1. Install Tasha as usual
  2. Run it, enter your login details and possibly other details (database access, HERE Api...)
  3. In AppData\Local\SolverTech_s.r.o\Tasha.exe_Url_somehash, find the corresponding "user.config" (if there are multiple Tasha.exe_Url... folders in Solvertech_s.r.o, look at the creation date)
  4. Copy it to the Tasha folder (safely to the Tasha root)
  5. Rename it to Tasha.config
  6. Run Tasha and test if it works.

Multiple user profiles in one Tasha installation

  1. Install Tasha as usual
  2. Run Tasha with the parameter --SettingsFile "uzivatel1.config" (so something like tasha.exe --SettingsFile "uzivatel1.config" - you can replace "uzivatel1.config" with any other name except Tasha.config, don't use diacritics)
  3. Enter login credentials and possibly other information (database access, HERE Api, path to layouts, plugins, etc....)
  4. Close Tasha
  5. Repeat steps 2 - 4 until you have created all required profiles
  6. Create as many .bat files as you have profiles, in each .bat reference the corresponding .config (tasha.exe --SettingsFile "uzivatel1.config") and pull the .bat files to the user's desktop (possibly edit the names/icons...) OR
  7. Create a .bat file for the user to select a profile (see below) and place it on the desktop

Example of a .bat file for selecting between two users:

1 @echo off
2 CHOICE /c 12u /m "Vyber uzivatele1 nebo uzivatele2 nebo ukonci spoustení"
3 SET vyber=%ERRORLEVEL%
4 IF %vyber% EQU 1 tasha.exe --SettingsFile "uzivatel1.config"
5 IF %vyber% EQU 2 tasha.exe --SettingsFile "uzivatel2.config"
6 IF %vyber% EQU 3 exit

/c - shortcuts for options (which keys .bat will respond to, by default it is not case sensitive)

/m - prompt to the user, message to be displayed

IF %select% EQU 3 exit - if option 3 was selected (i.e. the "u" key was pressed), execute the "exit" command