Created
August 3, 2017 09:50
-
-
Save deathponta/cb1e1f8af964644f2c68a0b30f1aa2c6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
始めに選択した以外のノード名を、始めに選択したノード名にする | |
*/ | |
try(destroyDialog rol_rename ) catch() | |
rollout rol_rename "始選以外名変" width:120 height:120( | |
button btn_rename "リネーム" tooltip:"始めに選択した以外のノード名を、始めに選択したノード名にする" width:100 height:100 | |
on btn_rename pressed do( | |
for i=1 to (selection.count-1) do( | |
selection[i+1].name = selection[1].name | |
) | |
) | |
) | |
try(destroyDialog rol_rename) catch() | |
createDialog rol_rename style:#(#style_toolwindow, #style_sysmenu) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment