pButton1=Create,1,8,291,295,80,25,CreateScript pTextBox1=,1,0,54,301,102,21,Type pTextBox2=,1,0,174,301,102,21,ScriptName [CreateScript] DirMake,"%BaseDir%\Archive\%pTextBox1%" FileCreateBlank,"%BaseDir%\Archive\%pTextBox1%\%pTextBox2%.script" FileCreateBlank,"%ProjectDir%\Addons\%pTextBox2%.link" TXTAddLine,"%ProjectDir%\Addons\%pTextBox2%.link","[main]","Append" TXTAddLine,"%ProjectDir%\Addons\%pTextBox2%.link","link=%baseDir%\Archive\%pTextBox1%\%pTextBox2%.script","Append" TXTAddLine,"%ProjectDir%\Addons\%pTextBox2%.link","Selected=False","Append"I know it's kinda sloppy but it's a start
Create new script button
Started by
Olri
, Jul 23 2006 07:21 PM
3 replies to this topic
#1
Posted 23 July 2006 - 07:21 PM
Adding after the project's interface section will give you a button which allows you to create a script:
#2
Posted 23 July 2006 - 07:46 PM
That's a good start..
I was planning on post a simple way of making new scripts:
Scripts can be completely empty when, new values are added in the interface as they are inputed.
The only condition is to add a [Process] section from where the commands are read..
Good work Olri!
I was planning on post a simple way of making new scripts:
1 - Open notepad 2 - Save the file with extension .script where you want to place it in the project 3 - Run/Refresh Openbuilder
Scripts can be completely empty when, new values are added in the interface as they are inputed.
The only condition is to add a [Process] section from where the commands are read..
Good work Olri!
#3
Posted 23 July 2006 - 09:06 PM
Hmm I could do the first 2 but I don't know how to do that last part in a script. Is that possible? (3 - Run/Refresh Openbuilder)
#4
Posted 23 July 2006 - 11:13 PM
I can add it..
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users