You can post code snippets by using the [ code ] and [ /code ] tags. However, due to how the code formatting works it cannot be used in conjunction with the ScriptSpot rich-text editor.
So, to post code I'll use the [ code ] tag to start and the [ /code ] tag to end (spaces added so it would display tag - don't use spaces).
macroScript RenameThem category:"HowTo"(
rollout rename_rollout "Enter New Base Name"(
edittext base_name ""
button rename_them "RENAME SELECTED OBJECTS..."
on rename_them pressed do(if base_name.text != ""dofor i in selectiondo i.name = uniquename base_name.text
)--end on)--end rollout
createDialog rename_rollout 25050)
You can post code snippets by using the [ code ] and [ /code ] tags. However, due to how the code formatting works it cannot be used in conjunction with the ScriptSpot rich-text editor.
So, to post code I'll use the [ code ] tag to start and the [ /code ] tag to end (spaces added so it would display tag - don't use spaces).
Christopher Grant
Admin, ScriptSpot.com