cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
hogi
Level XI

Apply a script to another data table

Hi,

 

I just detected by coincidence a very cool shortcut along the idea: "stay in the flow"
Stay in the Flow With Custom Scripts and Toolbars (2022-US-30MP-1081) 


If you copy a script to the clipboard (new column, report creation etc), you can go to another data table, right click into the table script menu and "paste" the code there. My first guess was that this generates a new Table Script with the code inside.
But much better:
It runs the code for the second data table, i.e. acts like the re-run script from Clipboard Toolbar Icon which @shampton82 presented in his talk (~ 19:50min.)

This feature I will use VERY often - many thanks for implementing it!

 

hogi_0-1668182686534.png

 

2 REPLIES 2
shampton82
Level VII

Re: Apply a script to another data table

Very cool, thanks for pointing this out!

hogi
Level XI

Re: Apply a script to another data table

This trick helps to run a script in another table.

 

Is there a more general way to "redo last step" in "another context"?

 

e.g.

- if I triggered a Recode for one column, can I select another column and press a button to  trigger the last action from the Log, just for the new column?

- if I generated a summary statistics for one data table, can I click on another data table and press a button to  trigger the last action from the Log, just for the other data table?

...