I recently used Sub Action Calls for the first time! I’d seen them before but until now hadn’t found a good example of when to use them.

In my example, I had already created an action which expanded the left panel. This action was then called whenever I was creating a session, opening an agent script etc. All worked well until I decided to start to also use the right panel. As my main panel became very squashed very quickly.

The solution was simple, just shrink the right panel whenever the left panel was expanded.

But not wanting to edit all the locations I’d inserted the action to expand the left panel I found it easier (and quicker) to link the right panel close to the left panel expand.

My left panel expand action looked like this;

Left1

I then went to the navigation bar and selected Sub Action Calls.

Left2

I then added the right panel close action, as shown below. Simples!

Left3