Hi,
i've created a custom toolbar that runs my script's sections. I set some buttons enabled only when the active windows is a worksheet, others only when the enabled window type is a plot.
I have a problem: I need a button of these to be enabled even when no windows are present/active, exactly like Origin's "New worksheet" button does.
Is it possible? How do i have to modify my custom .ini file?
I've attached the .ini file, what i pratically need is that CustomButton1 remains always Enabled.
;User defined toolbar information.
[Common]
BitmapFile=.\sinewave.bmp
ButtonCount=10
[CustomButton1]
FileName=sinewave.ogs
SectionName=open
ArgumentList=
ContextWindow=1
TemplateName=
Worksheet=1
Graph=1
Matrix=1
Excel=1
Layout=1
ToolTip=Import pClamp data
StatusBarMsg=
Index=0
Id=48661
[CustomButton2]
FileName=sinewave.ogs
SectionName=plotavg
ArgumentList=
ContextWindow=1
TemplateName=
Worksheet=1
Graph=0
Matrix=0
Excel=0
Layout=0
ToolTip=Plot average signal
StatusBarMsg=
Index=1
Id=48662
[CustomButton3]
FileName=sinewave.ogs
SectionName=fftsmart
ArgumentList=
ContextWindow=1
TemplateName=
Worksheet=0
Graph=1
Matrix=0
Excel=0
Layout=0
ToolTip=Perform FFT
StatusBarMsg=
Index=2
Id=48663
Origin version : 6.0 professional SR4
Operating System: Windows XP