ScriptSpot home

Forum topic · Scripts Wanted

Script to automatically goto bottom of stack

By airbrush · 2014-01-13

Description

Script to automatically goto bottom of the stack for selected object.

May exist already...most of the search links are dead. Anyone have or know of a script for this.

thx

Comments (6)
Reply to scumm
airbrush

yup...link seems to be working for me today...will give it a whirl

airbrush

works but is it possible to automatically go to the bottom whenever you select a new object? Currently i have it assigned to a hotkey which isnt so bad...would be nice to just have it do it automatically whenever you select.

Reply to airbrush
Branko Živković

And that will be bad because you need to use Callback Mechanism.

airbrush

thx

Branko Živković

You can create macroscript

if selection.count == 1 do
(
if getCommandPanelTaskMode() != #modify do setCommandPanelTaskMode #modify
if modPanel.getCurrentObject() != selection[1].baseobject do modPanel.setCurrentObject selection[1].baseobject
)