Author Topic: Using a variable I.E $(CODEBLOCKS) in the project wizard project path?  (Read 3569 times)

Offline BtM

  • Multiple posting newcomer
  • *
  • Posts: 17
Using a variable I.E $(CODEBLOCKS) in the project wizard project path?
I try and it fails I can find now way to change the inner workings of the getprogectpath pane of the project wizard and the path is not exposed as far as I can tell
any help would be appreciated
Ben

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: Using a variable I.E $(CODEBLOCKS) in the project wizard project path?
« Reply #1 on: February 08, 2012, 06:52:54 pm »
Guess from someone who does NOT do CB Scripting.

Code
GetConfigManager().GetExecutableFolder()

Based on source code reading and these links
http://wiki.codeblocks.org/index.php?title=Wizard_Scripting_Commands
http://wiki.codeblocks.org/index.php?title=Scripting_commands

Tim S.
« Last Edit: February 08, 2012, 06:54:39 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline BtM

  • Multiple posting newcomer
  • *
  • Posts: 17
Re: Using a variable I.E $(CODEBLOCKS) in the project wizard project path?
« Reply #2 on: February 08, 2012, 07:17:54 pm »
Thanks will try it out  it's one way of going around the problem

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Using a variable I.E $(CODEBLOCKS) in the project wizard project path?
« Reply #3 on: February 08, 2012, 07:19:38 pm »
You can have a look at the scripts shipped with C::B, e.g. the make_dist.script.

Offline BtM

  • Multiple posting newcomer
  • *
  • Posts: 17
Re: Using a variable I.E $(CODEBLOCKS) in the project wizard project path?
« Reply #4 on: February 08, 2012, 07:31:04 pm »
thanks will do
_Ben