cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar
ConfidenceOwl94
Level III

How can Move up column with script?

Need to put first raw in to column name.

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: How can Move up column with script?

Not sure how the picture is related but if you wish to move first column to top, do it first interactively in JMP and copy the script from enhanced log (or search for the term from Scripting Index)

jthi_0-1711133762955.png

jthi_1-1711133773853.png

Usually messages you can send to objects are exactly the same you can select from menus (in this case << Move Up)

-Jarmo

View solution in original post

2 REPLIES 2
jthi
Super User

Re: How can Move up column with script?

Not sure how the picture is related but if you wish to move first column to top, do it first interactively in JMP and copy the script from enhanced log (or search for the term from Scripting Index)

jthi_0-1711133762955.png

jthi_1-1711133773853.png

Usually messages you can send to objects are exactly the same you can select from menus (in this case << Move Up)

-Jarmo
hogi
Level XII

Re: How can Move up column with script?

Jarmo gave you the best way how to use Jmp to do things for you: use the GUI and then  

Alternatively, you can call commands in the main menu via:

main menu("move up")

 

the argument is the "Internal name" which can be found via View/Customize/Menus and Toolbars:

hogi_0-1711133936341.png

 

For built-in commands there is no benefit - even a disadvantage: there is no return value

 

But for custom commands (from AddIns) this a very convenient way to trigger them via JSL (without the help of the log) 
- because triggering an AddIn is one of the Actions missed by Advanced Log/Workflow Builder