Author Topic: Is it possible to get the profile/personality name?  (Read 1044 times)

Offline AndyJ

  • Multiple posting newcomer
  • *
  • Posts: 24
Is it possible to get the profile/personality name?
« on: December 15, 2023, 10:24:13 am »
Is it possible to get the current profile/personality name as a variable so that I can use it in paths etc within a project?

Thanks in advance for any help with this

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1563
Re: Is it possible to get the profile/personality name?
« Reply #1 on: December 15, 2023, 11:16:55 am »
The list of avaliable built-in variables is here. Looks like there are none related to personalities, but you can define your own variable in each personality.

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2778
Re: Is it possible to get the profile/personality name?
« Reply #2 on: December 15, 2023, 06:41:15 pm »
I define the personality variable in a .cmd file and use it to start codeblocks.exe.
That makes it available to any process in the .cmd file.