有时我会在行级数据中遇到一些有趣的东西,我想在列中给它一个值,这样我就可以在分析中使用它。我想我可以用公式和使用不同颜色/标记的行状态来做到这一点,但我认为扩展列中名称选择的功能会更有帮助。
目前,列中的名称选择以模式打开,并且只能使用一次,要再次使用,您必须重新打开它。我的建议是更改功能/添加新功能,允许多次使用列中的名称选择。添加类似于其他一些具有“保持对话框打开”选项的平台的复选框很可能就足够了(删除模式)。
我制作了自己的脚本来帮助我解决这个问题:

该脚本当然不是完美的,但对于简单使用来说已经足够了:
Names Default To Here(1);
/************************************************************************
************************************************************************/
If(
IsEmpty(Current Data Table()),
Caption("No current data table");
stop();
);
wList = Get Window List(Window) << Get Window Title();
If(Contains(wList, "Name Selections in Column"),
pos = Get Window(Current Data Table()) << Get Window Position;
size = Get Window(Current Data Table()) << Get Window Size;
cursize = Window("Name Selections in Column") << Get Window Size;
Window("Name Selections in Column") << Move Window(pos[1] + (size[1]-curSize[1]) / 2 , pos[2] + (size[2]-curSize[2]) / 2);
Window("Name Selections in Column") << Bring Window To Front;
stop();
);
//add indicator to show which datatable is being modified...
//window location,
//new column modal window location...
nw = New Window("Name Selections in Column", <<SHOW toolbars=""></SHOW>I have built an Add-in of the script which is attached (works only in Windows). It has an shortcut Ctrl+Shift+Space. The idea behind the shortcut is that if the window goes missing, you can use the shortcut to bring it to front and continue adding values.
<SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1625140976367.png" style="width: 400px;"><SPAN class="lia-inline-image-display-wrapper" image-alt="jthi_0-1625140976367.png" style="width: 400px;"><SPAN class="lia-inline-image-display-wrapper" image-alt="jthi_0-1625140976367.png" style="width: 400px;"><SPAN class="lia-inline-image-display-wrapper" image-alt="jthi_0-1625140976367.png" style="width: 400px;"><SPAN class="lia-inline-image-display-wrapper" image-alt="jthi_0-1625140976367.png" style="width: 400px;"><span class="lia-inline-image-display-wrapper" image-alt="jthi_0-1625140976367.png" style="width: 400px;"><img src="https://us.v-cdn.net/6038925/uploads/images/33926i650D0B6CF7EF9B86/jthi_0-1625140976367.png" role="button" title="jthi_0-1625140976367.png" alt="jthi_0-1625140976367.png" /></span></SPAN></SPAN></SPAN></SPAN></SPAN>
If people feel like the Add-in is helpful, I can submit it for a review to File-Exchange/Add-ins.
似乎大多数 Jmp 用户都受到类似的限制:)
有趣的是,这个愿望仍然处于“新”状态——自 2021 年起?!?!
我刚刚注意到我提交了一个类似的:
列中的名称选择:可能是我最喜欢的工具:)如果......