CommandPanel.ipf provides an alternative commandline interface for Igor Pro.
Put 'CommandPanel.ipf' in your User Procedure
folder or Igor Procedure
folder
and put 'CommandPanel Help.ihf' in your Igor Help Files
folder.
- bash-like alias expansion, brace expansion, and pathname expansion.
- complete operation, function, data folder, wave, variable, string name.
- filter outputs or completion candidates with words (regular expressions).
Execute commands by pressing Enter
.If one pushes Enter
without input, the command history is displayed.
alias cp=Duplicate
cp/O :wave :wave_copy
NewDataFolder sample{A,B}_{1..2}
This is expanded as follows.
NewDataFolder sampleA_1
NewDataFolder sampleA_2
NewDataFolder sampleB_1
NewDataFolder sampleB_2
You can use wild-card * in pathnames.
Display
AppendToGraph :*:wave*
You can omit () at the first user function in each line.
DoSomething()
CompareSomething(a,abs(b))
PrintSomething("test")
These functions can be called as below.
DoSomething
CompareSomething a,abs(b) // You cannot omit () at the second function.
PrintSomething test // When the function take just a string parameter, you can omit "" too.
Your input is completed by pushing Shift+Enter
.
This procedure complete operation and function name. Words beginning with : are completed as pathnames.
When you push Shift+Enter
without input, the output or complete candidates are scrolled down. (You can scroll up with Alt+Enter
in Mac.)
You can filter the outputs or completion candidates by pushing Shift+Enter
with an input beginning with a blank character
.
Regular expressions can be used for this filtering.