Pane selection after pasting objects with a callback script

   2293   0   1
User Avatar
Member
7 posts
Joined: July 2005
Offline
Hey all,

I'm creating a OTL in which I want to copy and delete objects contained inside with a slider control on the digital asset user interface.

I have a callback script with a couple of do while statements that is working fine, except:

When the script pastes a new object inside the digital asset the parameters pane immediately plunges down a level whisking away the HDA interface until the user manually climbs back up to the HDA root.

This behavior only occurs on the paste operation. The delete side politely removes objects to match the requested number.

To fix this i tried:

Setting a variable containing the original path at the beginning of the script and using this path in the pane command to restore the pane at the end of the script.

pane -H $origpath panetab1

This works fine when I tested it in the textport but seems to be ineffective when included in the script, as the problem seems to be that the pasted objects are added after the entire script has run eliminating the chance of controlling the pane with the script.


attached is a zip with the OTL and callback script

HDA is named DK_HDA_Script_test

Vista 64
HD edition 9.5 build 169

Any pointers would be appreciated
Dave

Attachments:
soundave OTL script.zip (4.3 KB)

  • Quick Links