cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Submit your abstract to the call for content for Discovery Summit Americas by April 23. Selected abstracts will be presented at Discovery Summit, Oct. 21- 24.
Discovery is online this week, April 16 and 18. Join us for these exciting interactive sessions.
Choose Language Hide Translation Bar

Execute "paste with column names" in JSL

Hi

i am looking for a way to execute the "paste with column names" (CTRL+Shift+V) command from a JSL script. I am importing formatted data from an excel table and I don't want to save as .csv or .xls  and then use the open() command.

Have any of you guys been able to do this?

Thanks

PB

1 REPLY 1
ms
Super User (Alumni) ms
Super User (Alumni)

Re: Execute "paste with column names" in JSL

Assuming the data is already in the OS clip board, this code should paste it with column names into a new, empty data table.

dt=new table("Paste here");

main menu("Paste With Column Names");